↑

Free AES Encrypt & Decrypt Text Online

What this tool does

The AES Encrypt and Decrypt tool protects any text with military-grade AES-256-GCM encryption. Type your message, set a password, and get a Base64 block you can paste into an email, chat or note. To read it back, switch to Decrypt mode and enter the same password. A wrong password simply fails — the text stays unreadable. Everything runs locally in your browser; nothing is uploaded or stored. Works on phones too.

AES-256-GCM encryption with a PBKDF2-derived key, random salt and IV. Everything runs in your browser — your text and password are never uploaded.
-
Input length
-
Output length
-
Status

Let us know

Please share your experience with this tool.

Thanks for rating!
No ratings yet — be the first!

How do I encrypt text with AES?

Leave the mode on Encrypt, type or paste your message, choose a password, and press Encrypt. You get a block of Base64 text — that is your message scrambled with AES-256-GCM. Copy it and send it through any channel: email, chat, or a note. The person receiving it pastes it here in Decrypt mode, enters the same password, and reads the original message. Press Sample to see it work with a ready-made example.

How does the encryption work?

Your password is turned into a 256-bit key using PBKDF2 with 100,000 rounds of SHA-256 and a random salt, which makes guessing the password from the output painfully slow. The text is then encrypted with AES in GCM mode using a random IV, so encrypting the same message twice gives completely different output. The salt and IV travel inside the Base64 block, so decryption needs nothing but the block and the password. GCM also authenticates the data: if even one character is changed, decryption fails instead of producing garbage.

How do I decrypt a message?

Switch the mode to Decrypt, paste the Base64 block, type the password exactly as it was set (passwords are case-sensitive), and press Decrypt. If the password is right, your original text appears instantly. If it is wrong, you get a clear failure message and no partial output — that is by design, because AES-GCM refuses to decrypt anything that does not verify.

What makes a strong password for encryption?

Length beats cleverness. A passphrase of four or five random words is both easier to remember and far harder to crack than a short jumble of symbols. Avoid names, birthdays, dictionary words on their own, and passwords you reuse elsewhere. And remember: the password is the only key. If you forget it, the encrypted text cannot be recovered — not by us, not by anyone. Store it in a password manager.

Is AES encryption really secure?

AES-256 is the encryption standard trusted by banks, governments and messaging apps worldwide; no practical attack against the algorithm itself is known. In real life, weak points are almost never the cipher — they are weak passwords, reused passwords, or sending the password through the same channel as the encrypted text. Use a long unique passphrase, share it separately (for example, encrypted text by email and password by phone call), and your message stays private.

Is it free and private?

Yes. The tool is completely free, needs no sign-up, and runs entirely in your browser using the built-in WebCrypto engine. Your text and password never leave your device and are never uploaded, logged or stored. It works on phones, tablets and desktop computers.

FAQs

What encryption does this tool use?

AES-256-GCM, with the key derived from your password by PBKDF2 (100,000 SHA-256 rounds) and a random salt and IV for every message.

Can I decrypt without the password?

No. The password is the only key — without it the text cannot be read, which is exactly the point of encryption.

Is my text uploaded to a server?

No. Encryption runs in your browser with WebCrypto; your text and password never leave your device.

What if I forget the password?

The encrypted text cannot be recovered by anyone. Keep the password in a password manager.

Why does the same text encrypt differently each time?

A fresh random salt and IV are generated for every encryption, so the output is unique every time.

Is it free?

Yes, completely free with no sign-up. Everything runs in your browser.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.