About Text Encryption
AES-256-GCM is an authenticated symmetric cipher: it encrypts data and detects any change to the ciphertext. This tool derives a 256-bit key from your password with PBKDF2 (SHA-256, 200,000 iterations, random 16-byte salt), encrypts with a random 12-byte nonce through the Web Crypto API, and outputs salt, nonce, and ciphertext together as Base64. Everything runs in your browser. The output format is specific to this tool, and a lost password cannot be recovered.
How to use Text Encryption
- Type or paste into the "Plain text, or encrypted text when decrypting" box, or press "Use example" to try it with sample data.
- Set "Direction" and "Password" if the defaults do not fit.
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about Text Encryption
Can I decrypt the output with another tool such as OpenSSL?
Not directly. The output is Base64 of a 16-byte salt, a 12-byte nonce, then the ciphertext with its GCM tag. Another program can decrypt it only if it applies the same PBKDF2 settings and byte layout.
What happens if I forget the password?
The text cannot be recovered. The key exists only as a derivation of your password, nothing is stored, and there is no reset. Security also depends on the password: short or common ones can be guessed.
Runs in your browser. Page last updated .