AES Encrypt / Decrypt

Encrypt and decrypt text using AES encryption.

AES Encrypt / Decrypt

Advanced Encryption Standard - symmetric encryption for secure data

Key strength:
ECB Mode doesn't use an IV. Warning: ECB is not recommended for most use cases as identical plaintext blocks produce identical ciphertext.
All encryption/decryption happens locally in your browser.
Your data and keys never leave this device.
Input Length
Output Length
AES Mode
Padding
Initialization Vector (IV) - Save this for decryption

About AES Encryption

What is AES?

Advanced Encryption Standard (AES) is a symmetric encryption algorithm established by the U.S. NIST in 2001.

Key Sizes

AES-128 (16 chars), AES-192 (24 chars), AES-256 (32 chars). Longer keys provide stronger security.

CBC Mode

Cipher Block Chaining mode uses an IV to ensure that identical plaintext blocks produce different ciphertext.

Security Note

Keep your secret key safe. Never share it through insecure channels. Use a key management system for production.

🔐 Security Best Practices

Use AES-256 (32 character key) for sensitive data requiring the highest security level.

Always use a random IV for each encryption. Never reuse an IV with the same key.

Store IV with ciphertext - The IV is not secret and must be available for decryption.

For production use, consider using authenticated encryption like AES-GCM instead of CBC.