← All Tools

🔒 AES-GCM Encrypt & Decrypt

Encrypt and decrypt text with AES-256-GCM using the Web Crypto API.

⚠ Demo Only: This tool is for learning and quick snippet encryption. Do not rely on it for production secrets management. Use dedicated tools like GPG, age, or a vault for sensitive data.
All cryptographic operations happen locally in your browser using the Web Crypto API. No data, keys, or ciphertexts are ever sent to any server.

How It Works

Encryption

  • AES-256-GCM (authenticated)
  • Random 16-byte salt per encryption
  • Random 12-byte IV per encryption
  • Output: Base64(salt + iv + ciphertext)

Key Derivation

  • PBKDF2 with SHA-256
  • Configurable iteration count
  • 256-bit derived key
  • Unique salt prevents rainbow tables