Encrypt and decrypt text
Lock a piece of text with a password, and open it again with the same one.
- 100% free
- No sign-up
- Runs in your browser
How to use Encrypt & decrypt text
- Enter the text
- Choose a password
- Copy the result
Type, paste, or open a text file
Whoever opens the text needs this exact password. Pass it on some other way than the text itself. If it is lost, nobody can get the text back, including us.
The result appears here.
Next: Password generator · Password strength checker · Hash generator
Report a problem with this tool
How to use Encrypt & decrypt text
Enter the text
Type or paste what you want to protect, or open a text file. To open something, paste the encrypted text instead.
Choose a password
Type it twice when encrypting. A meter shows roughly how hard it is to guess; a few random words work well.
Copy the result
Press Encrypt text and copy or download the one-line result. Send the password by a different route than the text.
Why use Utils365
Standard, modern encryption
AES-256-GCM from your browser’s built-in Web Crypto, with a key stretched from your password by 600,000 rounds of PBKDF2.
Tampering is detected
GCM checks the whole message. With a wrong password or a changed text you get one clear error and never a half-decrypted result.
Nothing leaves your device
The text and password are never sent, saved or put in the page address. Close the tab and they’re gone.
An open format
The output says how it was made, so it can be decrypted with a few lines of code anywhere, without this site.
Frequently asked questions
How secure is this?
The cipher, AES-256-GCM, is the same one that protects HTTPS traffic, and it isn’t the weak point. The password is. Anyone holding the encrypted text can try passwords on their own computer, so use a long, unusual one: four or more random words, or 16 random characters.
What if I forget the password?
The text can’t be recovered, by you or by us. There is no reset, no hint and no back door: the key exists only while you type the password. Keep the password in a password manager if the text matters.
What do the 600,000 rounds do?
Your password is turned into the key with PBKDF2-HMAC-SHA-256 repeated 600,000 times, the figure OWASP recommends. It takes you a fraction of a second once, but slows an attacker’s guessing by the same factor on every try.
What is the format of the encrypted text?
It is u365:v1: followed by unpadded base64url of these bytes: a 4-byte big-endian iteration count, a 16-byte random salt, a 12-byte random IV, then the AES-256-GCM ciphertext with its 16-byte tag at the end. The key is 32 bytes of PBKDF2-HMAC-SHA-256 over the password as NFC-normalised UTF-8. No additional authenticated data is used. This tool always writes 600,000 iterations, and when decrypting accepts counts from 1,000 to 10,000,000 only.
Why is the result different every time?
Each run picks a new random salt and IV, so encrypting the same text with the same password never gives the same output twice. That stops anyone telling that two messages are identical. Every version decrypts to the same text.
Is this a replacement for Signal or WhatsApp?
No. Those apps handle keys for you, protect past messages if a key leaks later and verify who you’re talking to. This tool protects one piece of text with one shared password, which is handy for a note, a config value or something sent over a channel you don’t fully trust.
Can I encrypt files?
Only text. You can open a text file to load its contents, and download the result as a .txt file, but pictures, PDFs and other binary files aren’t supported.