Encrypt text with a password
Encrypt text with a password using AES — only someone who knows it can read it back.
Related tools
Encrypt text with a password
Encrypting text with a password turns a readable message into a block of Base64 that only someone holding the password can read back. Reach for it before pasting an API key into a ticket, sending a colleague a set of credentials, keeping private notes in a synced folder, or writing a journal in a plain text file that other people on the machine can open.
Pick a mode and type a password. In encrypt mode the tool takes your text and returns the encrypted block, ready to copy wherever it needs to go. In decrypt mode you paste that block back, enter the same password, and the original text reappears. The password field is masked and, unlike every other option on this site, it is deliberately never written to your browser's storage.
The work is done by AES-256-GCM through the browser's native Web Crypto API. Your password is stretched into a key with PBKDF2-HMAC-SHA256 over 210,000 iterations using a random 16-byte salt, and every message gets a fresh random 12-byte initialisation vector. The salt and IV travel inside the output, which is why encrypting the same sentence twice gives two different blocks. GCM also authenticates the data, so a block that was edited or truncated on the way fails to decrypt instead of quietly returning garbage.
All of it happens on your device: no password, no key and no plaintext is ever sent anywhere, which is the only reason a tool like this deserves your trust. That cuts both ways, though — there is no recovery and no back door. Lose the password and the text is gone permanently, so save it in a password manager before you close the tab.