Encrypt or decrypt
AES-256-GCM with a PBKDF2-derived key. Needs a secure context (HTTPS or localhost).
The result appears below. Decryption fails loudly on a wrong passphrase.
Encrypt and decrypt text with AES-256-GCM in your browser. Your passphrase is stretched with PBKDF2; output bundles salt, IV and ciphertext.
AES-256-GCM with a PBKDF2-derived key. Needs a secure context (HTTPS or localhost).
The result appears below. Decryption fails loudly on a wrong passphrase.
AES-256 with Galois/Counter Mode is the modern standard for symmetric encryption: it encrypts with a 256-bit key and appends a 128-bit authentication tag, so decryption fails if even one bit was tampered with. This page derives the key from your passphrase with PBKDF2-HMAC-SHA-256 (100,000 iterations) and a fresh random salt and IV per encryption.
The output is three Base64 parts joined by dots: salt, initialization vector, then ciphertext with its authentication tag. Keep the whole string; decryption needs all three parts plus the exact passphrase. A wrong passphrase fails authentication instead of returning garbage.