Free Text Encryption & Decryption
Encrypt and decrypt text messages using AES-256 encryption. Set a secret key and share encrypted messages securely. Free, with no sign-up required — everything happens right in your browser, so nothing you enter is sent to a server.
📝 Text Encryption & Decryption
How the Text Encryption & Decryption Works
Type a message and a secret key, choose Encrypt and the tool returns a block of text that is unreadable without the key. To read it, paste the text into the Decrypt tab and enter the same key. It uses the Web Crypto API built into your browser: your key is stretched with PBKDF2 (SHA-256, 310,000 iterations, random salt) into a 256-bit key, and the message is encrypted with AES-256-GCM using a random IV.
AES-GCM is a widely used authenticated cipher, which means a wrong key or any change to the encrypted text makes decryption fail instead of returning garbage. Because each message gets a new salt and IV, encrypting the same text twice gives different results. Security depends on your key: choose a long, unique passphrase and share it through a different channel from the message, since anyone with both can read it. Messages from the earlier version of this tool can still be decrypted.
Practical Use Cases
- Send a private note by email or chat that only the recipient with the passphrase can read.
- Store a sensitive snippet, such as a recovery hint, as encrypted text in a notes app.
- Learn how symmetric encryption works by trying different keys.
- Protect a short message before pasting it into a shared document.