AES-GCM Encryption Online — Authenticated Encryption Tool
AES-128 · AES-192 · AES-256 · GCM · CBC · CTR — PBKDF2 key derivation · 100% browser-side
AES-GCM (Galois/Counter Mode) combines AES encryption with a Galois Message Authentication Code. It not only encrypts your data but also ensures it hasn't been tampered with — making it the most secure AES mode for modern applications.
Frequently Asked Questions
What makes AES-GCM better than AES-CBC?
AES-GCM provides authenticated encryption — it produces an authentication tag (16 bytes) that verifies both data integrity and authenticity. If even a single bit of the ciphertext is changed, decryption will fail with an authentication error. AES-CBC has no such protection.
What IV size should I use for AES-GCM?
AES-GCM standard recommends a 96-bit (12-byte) IV. This tool automatically generates a random 12-byte IV. Never reuse the same IV with the same key — doing so completely breaks GCM's security guarantees.
What is the GCM authentication tag?
AES-GCM automatically appends a 128-bit (16-byte) authentication tag to the ciphertext. During decryption, the Web Crypto API verifies this tag before returning plaintext. If tampered, decryption throws an error.