Text Encryptor / Decryptor
Encrypt or decrypt text with a passphrase, using real AES.
Your input is processed in this browser; this tool does not upload it for processing.
Encrypt
Decrypt
Uses AES-GCM with a key derived from your passphrase (PBKDF2, 150,000 iterations), via your browser's built-in Web Crypto API. Everything happens locally — nothing is sent to a server, and there's no way to recover the text without the exact passphrase.
About Text Encryptor / Decryptor
Encrypt a block of text with a passphrase, or decrypt something you encrypted here — using real, browser-native cryptography, not a toy cipher.
How the encryption works
Your passphrase is run through PBKDF2 (150,000 iterations, SHA-256) to derive an encryption key, which is then used with AES-GCM 256-bit encryption — both provided by your browser's built-in Web Crypto API, not a third-party library.
Fresh randomness every time
A random 16-byte salt and 12-byte IV are generated for every encryption, then packaged together with the ciphertext into a single Base64 string, so decryption only needs your passphrase — not separate salt or IV values. This also means encrypting the same text with the same passphrase twice produces different ciphertext each time.
Entirely client-side
All of this — key derivation, encryption, and decryption — happens in your browser using the Web Crypto API. Your plaintext, passphrase, and ciphertext never leave your browser.
How to use it
To encrypt, enter your text and a passphrase, then encrypt — copy the resulting ciphertext. To decrypt, paste the ciphertext and enter the same passphrase used to encrypt it.
Use cases
Encrypt a sensitive note before storing or sharing it somewhere you don't fully trust. Send an encrypted message where only the recipient who knows the passphrase can read it. Keep a piece of text unreadable at rest without setting up a dedicated encryption tool.
Limitations
There's no way to recover the text if you forget the passphrase — decryption depends entirely on it, with nothing stored anywhere to reset it.
Why does encrypting the same text twice give different results?
A fresh random salt and IV are generated for every encryption, so even identical inputs never produce identical ciphertext. Both values are packaged into the output so decryption still only needs the passphrase.
Is this real encryption, or something simplified?
Real encryption — PBKDF2 key derivation and AES-GCM 256-bit encryption, both via your browser's native Web Crypto API.
Is this free to use?
Yes — it's completely free, with no sign-in required.