Encrypt Text with a Password
About this tool
About Encrypt Text
Need to send a Wi-Fi password, a bank detail or a private note through a channel you don't fully trust? Encrypt Text turns any message into a block of Base64 characters that is meaningless without the password. Paste the block into an email, a chat, a ticket or a sticky note, then share the password another way, such as in person or by phone. The message is encrypted with AES-256-GCM using a key derived from your password with PBKDF2-SHA-256 and 600,000 iterations, and a new random salt and nonce every time, so encrypting the same message twice gives completely different output. Because GCM authenticates the data, the recipient's Decrypt Text page will notice if even one character was altered. Any language and emoji work, since text is stored as UTF-8. Unlike Base64 or ROT13 "encoders", this is real encryption. It runs in your browser with the Web Crypto API; the message and password are never uploaded.
Built and maintained by Abhi JainUpdated
How to Encrypt Text
- 1
Write the message
Type or paste your text into the Message box.
- 2
Choose a password
Enter it in Password and again in Confirm password.
- 3
Encrypt
Click Encrypt text. The Base64 result appears under Encrypted text.
- 4
Share it safely
Copy or download the encrypted text and send it. Give the password to the recipient through a different channel.
Encrypt Text: questions and answers
Is this real encryption or just encoding?
Real encryption. The text is encrypted with AES-256-GCM using a key derived from your password (PBKDF2-SHA-256, 600,000 iterations). Base64 is only used afterwards so the binary result can be pasted as plain text.
How does the recipient read it?
They open Decrypt Text, paste the block and type the password. It works in any modern browser, with nothing to install.
Why is the output different every time?
Each encryption uses a new random salt and nonce. That is deliberate: someone watching can't tell whether two messages are the same.
How should I share the password?
Never in the same message as the encrypted text. Say it in person or on a call, or send it through a different app. Use a long passphrase; short passwords can be guessed offline.
What does encrypted text not hide?
Roughly how long the message is, and that you sent something. It also can't protect a message that is read on an infected device or seen over your shoulder.
Related Tools
- Decrypt TextRead a message encrypted with Encrypt Text by entering its password.
- Encrypt FileLock any file with a password using AES-256-GCM, right in your browser.
- Password GeneratorStrong random passwords with a live strength and entropy estimate.
- Protect PDFPassword protect your PDF with strong user and owner passwords.