AES Encrypt & Decrypt Text
Encrypt or decrypt text with a password using AES-256-GCM and PBKDF2, entirely in your browser. Output is Base64 with salt and IV included. Nothing is uploaded.
Runs in your browser. Nothing is uploaded.
About AES Encrypt & Decrypt Text
This tool encrypts text with a password using AES-256 in GCM mode through the browser's Web Crypto API. Your password is stretched into a key with PBKDF2-SHA256 at 250,000 iterations and a random 16-byte salt, and every encryption uses a fresh random 12-byte IV, so the same text encrypts differently each time.
The output is one Base64 string holding the salt, IV and ciphertext. Share it however you like; to read it, paste it back, switch to Decrypt and enter the same password. GCM also authenticates the data, so a wrong password or any tampering is detected rather than producing garbage.
Nothing leaves your device, but the protection is only as strong as the password: use a long passphrase and send it through a different channel from the ciphertext.
How to use AES Encrypt & Decrypt Text
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
Can other AES tools decrypt this?
Only tools that use the same format: PBKDF2-SHA256 with 250,000 iterations, then AES-256-GCM, with output laid out as salt (16 bytes), IV (12 bytes), ciphertext and tag, Base64-encoded.
What if I forget the password?
The text cannot be recovered. There is no backdoor and nothing is stored.
Is AES Encrypt & Decrypt Text free and private?
Yes. AES Encrypt & Decrypt Text is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.