AES Encrypt / Decrypt
Encrypt and decrypt text with AES-256-GCM using browser-native Web Crypto and PBKDF2 key derivation.
About this tool
The AES Encrypt / Decrypt tool provides authenticated symmetric encryption entirely in your browser using the Web Crypto API's AES-GCM implementation — the same primitive used by TLS. Enter any text and a passphrase, and the tool derives a 256-bit key via PBKDF2 (SHA-256, 100,000 iterations) from your passphrase and a fresh random 16-byte salt, then encrypts with a fresh random 12-byte IV using AES-256-GCM, which provides both confidentiality and integrity.
The output is a single self-contained Base64 string: salt + IV + ciphertext concatenated together. This means decryption only needs the same passphrase — no need to separately track or transmit the salt and IV. Every encryption operation generates a new random salt and IV, so encrypting the same plaintext twice with the same passphrase produces a completely different ciphertext each time, which is correct GCM behavior.
This tool is built for developers who need to quickly encrypt a config value, a test fixture, or a small secret without spinning up a script, and for anyone who wants to see how PBKDF2 + AES-GCM key derivation and authenticated encryption work end to end. It is explicitly not a replacement for a proper secrets manager or vault.
Everything runs client-side via SubtleCrypto. Open your Network panel during use and you will see zero outbound requests.
