Text Encryption
Encrypt and decrypt text with AES-256-GCM and a password, entirely in your browser — plus classic Caesar, Vigenère and Atbash ciphers.
Input
Output
What the encrypted string contains
PPT1: — a version marker, followed by Base64 of 16 random salt bytes, 12 random IV bytes and the AES-256-GCM ciphertext with its 16-byte authentication tag. Anyone can decrypt it with the password and any AES-GCM library; nobody can change a single byte without the tag check failing.
How to encrypt text
- Paste your message into Input and choose a password you can remember — there is no reset and no recovery.
- Press Encrypt. Copy the
PPT1:…string and send it however you like — email, chat, a note app. - The person receiving it opens this page, pastes the string, types the same password and presses Decrypt.
FAQ
Is the text sent anywhere?
No. Encryption uses the browser's built-in Web Crypto API; your text, your password and the result never leave the page. You can disconnect from the network and it still works.
Can I decrypt it with something else?
Yes. Strip the PPT1: prefix, Base64-decode the rest and you get 16 salt bytes, 12 IV bytes and the AES-256-GCM ciphertext. Derive the key with PBKDF2-SHA-256, 200,000 iterations, 32 bytes — any language with a crypto library can do it in a few lines.
What are the classic ciphers for?
Caesar, ROT13, Vigenère and Atbash are there for puzzles, CTFs and teaching. They can be broken by hand in minutes, so never use them for anything you actually want to keep private.