Encrypt Text with a Password

Inputs

Use a long passphrase. Share it separately, never in the same message as the encrypted text.

Results

The link contains the encrypted text only. Send the password another way.

Sometimes you need to send something private, like a Wi-Fi password or a door code, through a channel you don’t fully trust. This tool locks the message with a password you choose: the result is unreadable without it. Encryption and decryption happen on your device with the browser’s own Web Crypto, and the message and password are never put in the page address or sent anywhere.

How to use it

  1. Choose Encrypt, type your message and a password, and press Encrypt.
  2. Copy the encrypted text, or Copy link to share a link that opens ready to decrypt.
  3. Tell the recipient the password another way, for example by phone. They choose Decrypt, paste the text (or open the link) and type the password.

Example: encrypting “Meet at noon” with any password gives a different string of 76 characters each time, starting with A (the format version), because a random salt and nonce are added. Decrypting it with the same password gives back Meet at noon; with any other password you get an error.

Questions and answers

How secure is it?

It uses AES-256-GCM, the same cipher used by HTTPS and disk encryption, with the key derived from your password by PBKDF2-SHA-256 with 600,000 rounds to slow down guessing. In practice, the security depends on the password: a long, unique passphrase is very hard to crack, a short common word is not.

Is my message or password sent anywhere?

No. Everything happens in your browser. Only the encrypted text can end up in a link you copy; the message and the password are never added to the address.

What if I forget the password?

The text can’t be recovered: there is no back door and no reset. Keep the password somewhere safe, such as a password manager.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
modeencrypt or decrypt.
dataEncrypted text to decrypt (never the message or the password).

Example: https://toolabelle.com/encrypt-text/#mode=decrypt&data=AQ%E2%80%A6

Related tools