How to encrypt text
- Type or paste the text you want to protect.
- Enter a password of at least 12 characters and repeat it.
- Press Encrypt text. The result is a block of JSON containing the encrypted data.
- Copy it or press Download result to save it as a file. Keep the password separately — it cannot be recovered.
How to decrypt text
- Paste the complete encrypted JSON, or open the saved .json file.
- Enter the password and press Decrypt text.
- If the password is correct, the original text appears. If it is wrong, or the data was changed, decryption fails.
How the encryption works
The tool uses the Web Crypto API that is built into your browser:
- Your password is turned into a 256-bit key with PBKDF2-SHA-256 and 600,000 iterations, together with a random 16-byte salt. This makes guessing passwords very slow.
- The text is encrypted with AES-256-GCM and a random 12-byte initialisation vector. GCM also detects any modification of the encrypted data.
- The output stores only what is needed to decrypt: the algorithm names, the salt, the IV and the encrypted data. The password is never stored.
Everything happens on your device. Neither your text nor your password is sent anywhere.
Choosing a strong password
The encryption is only as strong as the password. Use a long passphrase of several random words, or a random password from the Password generator, and never reuse a password from another account. Share the password through a different channel than the encrypted text — for example, send the file by email and tell the password by phone.
Frequently asked questions
I forgot the password. Can you recover my text?
No. Nobody can — that is the point of encryption. Without the correct password the text cannot be decrypted.
How much text can I encrypt?
Up to 1 MB of text, which is roughly 500 pages of plain text.
Can other programs decrypt the result?
The format uses standard algorithms, so a developer can decrypt it with any crypto library using the parameters stored in the JSON. The easiest way is to open the file on this page again.