Encrypt Text with a Password (AES-256), in Your Browser
Lock a message with a password.
Type a message and a password and get back text that can be sent over any channel and read only by someone with the password. It uses your browser’s own cryptography: the key is derived with PBKDF2 (SHA-256, 600,000 rounds) and the message sealed with AES-256-GCM, so a wrong password or a changed message is refused instead of producing nonsense. The format is documented, so the result can be opened without this site. There is no way to recover a forgotten password.
How to use Encrypt text
- Choose Encrypt, then type the message and a password.
- Press Copy result and send the encrypted text any way you like, and the password another way.
- To open it, choose Decrypt, paste the encrypted text and type the password.
Encrypt text: common questions
Is it safe to encrypt text in a browser?
Hoglet’s Encrypt text uses your browser’s own Web Crypto API: the key is derived with PBKDF2 (SHA-256, 600,000 rounds) and the message sealed with AES-256-GCM. The message and the password never leave your device.
Can I decrypt the text without this site?
Yes. Encrypt text uses a documented format built only on what every browser has: Base64 of the letters TC1, a 16-byte salt, a 12-byte IV and the AES-256-GCM ciphertext. Any tool with PBKDF2 and AES-GCM can open it with the password.
What happens if I forget the password for encrypted text?
The text can’t be opened: Encrypt text has no way to recover a forgotten password. A wrong password is refused rather than turned into nonsense, because AES-GCM checks the message as it opens it.
Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.