AES Encryption & Decryption

Encrypt or decrypt text with AES-256 using a password. Processed locally — nothing is uploaded.


How it works

This tool uses AES-256-CBC: the password is run through SHA-256 to derive a 256-bit key, and each encryption generates a random 16-byte IV that is prepended to the ciphertext; the output is Base64. Decryption reads the IV back out of the ciphertext automatically. A different password can't decrypt the ciphertext, and if you forget the password, the plaintext is unrecoverable.

FAQ

Why is the result different every time I encrypt the same text?
That's normal. Each encryption uses a different random IV, so the ciphertext differs — but the same password will always decrypt it.

What should I do if decryption fails?
First double-check the password and ciphertext: one extra space in the password or one missing character in the ciphertext will break it. Ciphertext produced by this tool decrypts most reliably with this tool.

Is this encryption secure enough?
AES-256 itself is a widely used standard; security depends on password strength. Don't use weak passwords like 123456 — for important content, use the password generator to create a long password.

Is my content uploaded?
No. Encryption and decryption happen locally in your browser; your content never leaves your device.

Related tools

MD5 / SHA Hash · Password Generator · Base64 Encoder & Decoder