# Text Encrypt / Decrypt

> Encrypt messages with a password using AES-256. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/text-encryption

**Category:** [Security](https://toffeekit.com/category/security) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/text-encryption

**Also useful for:** encrypt, decrypt, aes, aes-gcm, pbkdf2, password, secret message, cipher

## How it works

1. Choose Encrypt or Decrypt in Settings.
2. Type your message, or paste the Base64 text you received.
3. Enter a password, and confirm it when encrypting.
4. Click Encrypt or Decrypt, then copy the result.

## FAQ

### How do I encrypt a message with a password?

Choose Encrypt, type your message, set a password and click Encrypt. You get a Base64 string you can send by email or chat.

### How do I decrypt the message?

Switch to Decrypt, paste the Base64 string, enter the same password and click Decrypt. If the password or text is wrong, you get an error instead of garbage.

### What encryption does it use?

AES-256-GCM, with a key derived from your password using PBKDF2-SHA256 at 600,000 iterations and a random salt and IV. It uses your browser's built-in Web Crypto API.

### What happens if I forget the password?

The message cannot be recovered. There is no reset and no copy of the key, which is what keeps it private.

### Why does the same message give different output each time?

A new random salt and IV are created on every encryption, so the output differs even for the same text and password. All variants decrypt correctly.

### Is Text Encrypt / Decrypt free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Text Encrypt / Decrypt runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Password Generator](https://toffeekit.com/tools/password-generator) — Strong random passwords from your browser's crypto.
- [Text Redactor](https://toffeekit.com/tools/text-redactor) — Hide emails, phones, cards and more in any text.
- [Passphrase Generator](https://toffeekit.com/tools/passphrase-generator) — Memorable random-word passphrases with entropy.
- [Password Strength Checker](https://toffeekit.com/tools/password-strength-checker) — Test a password's strength and crack time privately.
- [File Encrypt / Decrypt](https://toffeekit.com/tools/file-encryption) — Password-protect any file with AES-256 encryption.
- [2FA Code Generator (TOTP)](https://toffeekit.com/tools/totp-generator) — Generate 2FA codes from a Base32 secret or otpauth link.

