Text Encrypt / Decrypt
Encrypt and decrypt text entirely in your browser using AES-256-GCM — the same algorithm used in TLS. Enter a passphrase and plaintext; the tool derives a 256-bit key via PBKDF2 and encrypts without ever sending your data to a server. Output is a self-contained Base64 string that embeds the salt and IV. Paste it back with the same passphrase to decrypt.
Ctrl+Enter to run · Ctrl+K to switch tools · Recent button shows input history
Let AI do the hard part. Fix broken HTML, convert to email-safe HTML, or clean up any markup in one click — 3 free AI runs per day, no account needed.
Try the AI HTML FixerFAQ
Is my data sent to a server?
No. All cryptographic operations run in the browser using the Web Crypto API. Nothing leaves your device.
What happens if I lose my passphrase?
It cannot be recovered. AES-256-GCM with PBKDF2 key derivation has no backdoor — without the passphrase the ciphertext is unrecoverable.
Can I decrypt the output in another tool?
The output embeds a 16-byte salt (PBKDF2, 200 000 iterations, SHA-256) and 12-byte IV concatenated before the ciphertext, all Base64-encoded. Any AES-256-GCM implementation that follows the same layout can decrypt it.