AES Encryption Tool

Encrypt text with a passphrase using AES-256-GCM, or decrypt text that was encrypted here. The key is derived from the passphrase with PBKDF2, and everything runs in your browser.

1 Paste your text and pick the options

2 Your answer

Press Run and your answer shows here.

How to use the AES Encryption Tool

  1. Choose Encrypt to protect text, or Decrypt to read text that was encrypted here.
  2. Paste the text and enter a passphrase.
  3. Copy the result. The passphrase cannot be recovered, so keep it safe.

Frequently asked questions

What is AES-256-GCM?

AES is a block cipher that uses a 128-bit block and a 128, 192 or 256-bit key. GCM mode adds an authentication tag, so changed ciphertext fails to decrypt instead of producing garbage.

What does the encrypted output contain?

A random 16-byte salt, a random 12-byte IV, and the ciphertext with its 16-byte authentication tag. These are joined and encoded in base64.

Can I recover the text if I forget the passphrase?

No. The key is derived only from the passphrase, so without it the data cannot be decrypted.

Is the text sent to a server?

No. Encryption and decryption run in your browser using the Web Crypto API.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.