Map Extract
Free tool

Encrypt and decrypt text with a password

Type a message and a password and press Encrypt to get a block of text that only the same password can turn back into the message. Switch to Decrypt, paste that block and enter the password to read it. Everything happens in your browser.

Runs in your browser. Nothing you enter is uploaded.

Encrypting a note

  1. Choose Encrypt

    The action switch at the top sets the direction. Encrypt is selected when the page opens.

  2. Type or paste the text

    Any text, such as a set of login details for a client or a price you do not want sitting readable in a chat.

  3. Enter a strong password

    Longer is better. The password is not shown and the browser is asked not to save it.

  4. Copy the result

    Press Encrypt and copy the output. Send it one way and the password another, for example the text by email and the password by phone.

Example: sending a quote figure privately

An agency owner wants to send a café a monthly price in a shared chat without it being readable by everyone in the group. She encrypts the line below with a passphrase she will read out on a call.

The output is a single 116-character block of base64 text. Running Encrypt again on the same message and password gives a completely different block, because a new random salt and nonce are used each time; both decrypt to the same message. Decrypting with the wrong password shows an error rather than garbled text.

Input
Text: Pricing for Moorside Cafe: £180 a month
Password: correct horse battery
Result
Encrypt: a 116-character base64 block, different every time
Decrypt with the right password: Pricing for Moorside Cafe: £180 a month
Decrypt with a wrong password: Wrong password, or the text was changed or not made by this tool.

What the note under the tool means

AES-256-GCM
The cipher. AES with a 256-bit key in Galois/Counter Mode, which also detects if the encrypted text has been altered.
PBKDF2-SHA-256, 310,000 rounds
How your password becomes a key. Running the hash many times makes guessing passwords slow for an attacker.
Random salt
Random bytes mixed into the key derivation and stored with the output, so the same password never gives the same key twice.

Questions people ask

Can someone decrypt the text without the password?

Not in practice, if the password is strong. The key is derived from the password with PBKDF2 and a random salt, then used with AES-256-GCM. A short or common password can still be guessed, so the security rests on choosing a long, unusual one.

Why does the same text encrypt differently each time?

Each encryption uses a fresh random salt and nonce, which are stored inside the output. That means two identical messages do not look identical when encrypted, which hides patterns. Decrypting either result with the right password gives the original text.

Can I decrypt this with other software?

Only if that software uses the same format: the same salt and nonce layout, PBKDF2 settings and AES-GCM mode. The tool is designed to decrypt its own output. If you need to exchange encrypted files with other programs, use a standard format such as an encrypted archive.

What happens if I forget the password?

The text cannot be recovered. There is no reset and no copy of the password anywhere, which is the point of encryption. Keep the password somewhere safe, such as a password manager, if the message matters, and keep it apart from the encrypted text.

Where your data goes

Encryption and decryption run in the browser using Web Crypto. Neither the message nor the password is sent to Map Extract or any other server.

Checked against the tool on

Top