๐Ÿ”’

AES Encryptor / Decryptor

Encrypt and decrypt text with AES-GCM or AES-CBC. Supports 128-bit and 256-bit keys. Free online AES encryption tool.

Free Developer
Mode
Key Length
Operation

Frequently Asked Questions

What is AES encryption?

AES (Advanced Encryption Standard) is a symmetric encryption algorithm widely used to secure data. It uses the same key for both encryption and decryption. AES supports key sizes of 128, 192, and 256 bits, with 256-bit being the most secure.

What's the difference between AES-GCM and AES-CBC?

AES-GCM (Galois/Counter Mode) is an authenticated encryption mode โ€” it encrypts data and provides integrity verification (authentication tag). AES-CBC (Cipher Block Chaining) only encrypts data without integrity checks. GCM is recommended for most modern applications.

What is an IV (Initialization Vector)?

An IV is a random value used alongside the key to ensure that encrypting the same plaintext multiple times produces different ciphertexts. The IV doesn't need to be secret but should be unique for each encryption. For GCM, the IV is typically 12 bytes; for CBC, it's 16 bytes.

How do I share the encrypted data?

To decrypt the data, the recipient needs: the ciphertext (Base64 output), the key (Hex), and the IV (Hex). Share the key through a secure channel (not the same channel as the ciphertext). The IV can be shared alongside the ciphertext.

Is this tool secure?

Yes, all encryption and decryption happen entirely in your browser using the Web Crypto API. Your data and keys never leave your device. No information is uploaded to any server.

Can I use this for password storage?

No, AES is reversible encryption โ€” it's for protecting data that needs to be decrypted later. For password storage, use one-way hashing with salt (like bcrypt, scrypt, or Argon2) instead.