AES

AES Encrypt / Decrypt

Online AES encrypt and decrypt tool with common mode and key options

Crypto Settings

Choose encrypt or decrypt mode and configure AES mode, key, IV and input/output format.

Current Rule
AES-CBC · BASE64
CBC requires a 16-byte IV

Key and IV

This tool treats key and IV as plain text and validates them by UTF-8 byte length.

Length: 16 bytes
Length: 16 bytes

Plain Text

Enter plain text to encrypt.

Chars: 41Lines: 2

Encrypted Result

Click the result content or copy button to copy.

Chars: 0Lines: 0
CBC BASE64
No result

Common Examples

Click an example to quickly fill the settings.

How to Use

AES-CBC / AES-GCM

CBC is common in legacy API encryption. GCM includes authentication and is preferred for modern use cases.

Key and IV length

The key must be 16, 24 or 32 bytes. CBC IV is 16 bytes, while GCM IV is commonly 12 bytes.

Browser-side processing

Encryption and decryption are handled by the browser Web Crypto API without uploading content to a server.

Related Tools

Useful tools in the same category.