๐Ÿ” Text Encryptor

Output
(empty)

Encrypt text using a passphrase with AES-GCM, or decrypt previously encrypted text. This uses the browser's built-in Web Crypto API โ€” your text and passphrase are never sent to any server.

How to use

  1. Choose the "Encrypt" or "Decrypt" tab.
  2. Enter the text to encrypt (or the ciphertext to decrypt) along with your passphrase.
  3. Press the run button to see the result โ€” use the copy button to copy it to your clipboard.

FAQ

Is the encrypted data stored anywhere?

No. All processing happens entirely inside your browser โ€” your text and passphrase are never sent to any server.

What encryption method does this use?

It uses the browser's standard Web Crypto API: a key is derived from your passphrase using PBKDF2 (100,000 iterations), and the text is encrypted with AES-GCM (256-bit). The output includes a random salt and initialization vector (IV) and is Base64-encoded.

Why does decryption fail?

Either the passphrase is wrong, or the ciphertext was truncated or altered. AES-GCM includes built-in tamper detection, so decryption only succeeds with the exact correct passphrase and an unmodified ciphertext.