Skip to content

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.

Frequently Asked Questions

AES-256-GCM, with the key derived from your passphrase using PBKDF2 with SHA-256 and 310,000 iterations. All of it is provided by the browser's Web Crypto API.
No. Everything runs in your browser and your text and key are not sent to a server. Nothing is saved when you close the page.
Copy the encrypted output and send it to your recipient. They paste it into the Decrypt tab and enter the same key. Share the key by a separate route, such as a phone call.
The message cannot be recovered. There is no reset option because the key is never stored.
The encryption is only as strong as your key. A short or common password can be guessed, so use a long passphrase of several unrelated words or a random string.