Free tool
Encrypt text with a password
Turn a message into encrypted text that only someone with the password can read, then send it any way you like. It is encrypted on your device: the text and the password are never uploaded.
Use a long passphrase, four or more random words. Without it, nobody can decrypt the text, you included.
Encrypted on your device. Nothing is uploaded or saved.
How to encrypt text and send it safely
- Choose Encrypt, type the message and a password, and press Encrypt.
- Copy the encrypted text (it starts with
LSE1.) and send it by email, chat or a note. - Give the password separately: in person, by phone, or in a different app than the message.
- The other person opens this page, chooses Decrypt, pastes the text and types the password.
Encrypting the same text twice gives a different result each time, because every message gets its own random values. Both decrypt to the same text.
What this text encryption does
The tool uses the Web Crypto API that is built into your browser, with AES in GCM mode. GCM is an authenticated mode: it checks that the encrypted text has not been changed (MDN). If one character is wrong, or the password is, decrypting fails instead of showing wrong text.
Your password is not used as the key directly. It goes through PBKDF2 with SHA-256 and 600,000 rounds, the count OWASP recommends for PBKDF2-HMAC-SHA256 (OWASP), plus a random salt. That slows down anyone trying to guess it, but it can’t save a password like 123456.
To lock a whole document, photo or ZIP, use Encrypt a file.
Want to hide that a message exists at all? Hide a message in a photo puts encrypted text inside a picture.
Questions about encrypting text
How do I encrypt text with a password?
Type or paste the text above, choose a password and press Encrypt. You get a line of letters and numbers starting with LSE1. Send that line any way you like, and tell the other person the password some other way, for example in person or by a call. They paste the line here, choose Decrypt and type the password.
Is my text sent to a server?
No. The text and the password are encrypted by your browser on your device, with the Web Crypto API built into it. This page makes no network request when you press Encrypt or Decrypt, and nothing is saved after you close it.
How strong is the encryption?
The text is encrypted with AES-256 in GCM mode, which also detects if the encrypted text was changed. The key comes from your password through PBKDF2-HMAC-SHA256 with 600,000 rounds, the count OWASP recommends. The weak point is the password: a short or common one can be guessed, so use a long passphrase.
What happens if I forget the password?
The text can’t be recovered. There is no reset and no copy anywhere, because nothing ever leaves your device. Keep the password somewhere safe if the text matters.
Can I decrypt text encrypted with another tool?
Only text made here, which starts with LSE1. Other tools use other formats, so their output needs the same tool to open it.
