Home/Developer Tools/Text Encryption Tool
🔐

Text Encryption Tool

Encrypt or decrypt text with a password using AES

Free · No sign-up required

Real encryption, run in your browser

This encrypts and decrypts text with a password using AES-256-GCM, the same authenticated encryption standard used in TLS, disk encryption and password managers — not a toy cipher. The password is never used as the encryption key directly; it goes through PBKDF2 with 100,000 iterations of SHA-256 first, which is what makes brute-forcing the password computationally expensive even if someone gets hold of the encrypted output.

What the output actually contains

  • A random salt, so the same password never derives the same encryption key twice — this defeats precomputed rainbow-table attacks against the password.
  • A random initialisation vector (IV), so encrypting the same text twice with the same password produces different ciphertext each time.
  • The encrypted data itself, with a built-in authentication tag — GCM mode does not just hide the plaintext, it also detects if the ciphertext has been tampered with, and decryption will fail outright rather than silently return corrupted text.

All three are packed together into the output you copy, so decrypting only needs the password — nothing else to keep track of separately.

What password strength still matters here

PBKDF2 makes each password guess computationally expensive, but it cannot turn a weak password into a strong one — it multiplies the cost of guessing, it does not add entropy that was not there. A short dictionary word is still crackable eventually, just more slowly than without PBKDF2. Use a genuinely random passphrase of several words, or a generated password, for anything that actually needs to resist a determined attacker.

What this is, and is not, good for

  • Good for: encrypting a note, a password, or a short piece of sensitive text to store somewhere or send through a channel you don't fully trust, with a password shared out of band.
  • Not a replacement for: full-disk encryption, a password manager's own vault encryption, or file encryption — this handles text pasted into a box, not files or large volumes of data.
  • Not recoverable if you forget the password — there is no backdoor, by design. That is what makes it real encryption rather than something with a hidden reset option.

Frequently asked questions

Is this actually secure, or just for fun?

It uses AES-256-GCM with PBKDF2 key derivation — genuine, standard cryptographic primitives via the browser's Web Crypto API, the same building blocks real security software uses.

What happens if I forget the password?

The text cannot be recovered. There is no backdoor or reset — that is what makes the encryption real rather than reversible by design.

Can I decrypt something encrypted with a different tool?

Only if it used the exact same algorithm, key derivation and data format. AES-GCM output from a different tool with a different format won't decrypt here even with the correct password.

Is encrypting the same text twice going to give the same result?

No — a fresh random salt and IV are generated each time, so identical input encrypts to different output on every run, even with the same password.

How should I share the password with the recipient?

Through a different channel from the encrypted text itself — a phone call, a separate messaging app, anything other than sending both together, which defeats the purpose.

Is my text sent anywhere?

No. Encryption and decryption both run locally in your browser via the Web Crypto API.

More tools in this category

#️⃣
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes
File Checksum Verifier
Compute a file's SHA-256 hash and compare it against a published checksum
🔢
Word Counter
Count characters, words, sentences, paragraphs and lines
📄
Lorem Ipsum Generator
Generate placeholder words, sentences or paragraphs
🔡
Text Cleaner & Case Converter
UPPER, lower, Title, camelCase, snake_case, kebab-case; trim and collapse spaces
Text Formatter & Minifier
Normalise spacing and blank lines, or collapse text to one line