Back to All Tools

AES Encrypt & Decrypt

Encrypt and decrypt text using AES (Advanced Encryption Standard) with CBC, ECB, or GCM modes.

Input: 0 chars, 0 lines
Output: 0 characters
Processing: 0ms

About AES Encryption

Our free online AES (Advanced Encryption Standard) Encrypt & Decrypt tool allows you to securely encrypt and decrypt text using one of the most widely adopted encryption algorithms in the world. AES supports CBC, ECB, and GCM modes with 128, 192, or 256-bit key sizes.

AES was established by the U.S. National Institute of Standards and Technology (NIST) in 2001 and is used globally for securing sensitive data. CBC (Cipher Block Chaining) mode chains each encrypted block to the next, ECB (Electronic Codebook) encrypts each block independently, and GCM (Galois/Counter Mode) provides both confidentiality and authenticity.

This tool processes your data entirely in the browser using JavaScript and CryptoJS, ensuring your plaintext and keys never leave your device. Encrypt messages instantly or decrypt AES-encrypted ciphertext with ease.

The auto-encrypt feature updates the encrypted output in real-time as you type, making it convenient for quick encryption. You can customize the encryption mode, key size, key, and IV (for CBC/GCM modes) to meet your specific requirements.

Features

Multiple Modes

Support CBC, ECB, and GCM encryption modes for different security requirements.

Flexible Key Sizes

Choose between 128, 192, or 256-bit key sizes for varying security levels.

Instant Processing

Encrypt and decrypt text instantly with no registration or limits.

Auto-Encrypt

Automatically encrypt as you type for real-time encryption results.

Privacy First

All processing happens in your browser. Your data never leaves your device.

One-Click Copy

Copy the encrypted or decrypted output to clipboard with a single click.

How to Use

1

Select Mode and Key Size

Choose the encryption mode (CBC, ECB, or GCM) and key size (128, 192, or 256 bits).

2

Enter Key and IV

Enter your encryption key and IV (required for CBC and GCM modes).

3

Enter Your Text

Type or paste the text you want to encrypt into the input editor.

4

Encrypt or Decrypt

Click Encrypt to encrypt your text or Decrypt to decrypt ciphertext. Copy the result when done.

Frequently Asked Questions

What is AES encryption?

AES (Advanced Encryption Standard) is a symmetric encryption algorithm established by NIST in 2001. It uses block cipher with key sizes of 128, 192, or 256 bits to encrypt and decrypt data in fixed-size blocks.

What is the difference between CBC, ECB, and GCM modes?

ECB encrypts each block independently and is not recommended for most uses. CBC chains blocks together using an IV, providing better security. GCM provides both confidentiality and authenticity, making it the most secure option for most applications.

What is an IV (Initialization Vector)?

An IV is a random value used in conjunction with the key to ensure that encrypting the same plaintext produces different ciphertext each time. It is required for CBC and GCM modes and should be 16 bytes (128 bits) for AES.

Which key size should I use?

AES-256 provides the highest level of security and is recommended for sensitive data. AES-128 is faster and still considered secure for most purposes. AES-192 offers a middle ground between the two.

Is AES secure?

Yes, AES is considered one of the most secure encryption algorithms available. It is approved by the U.S. government for classified information and is used worldwide. However, the security depends on proper implementation, key management, and using appropriate modes like CBC or GCM.

Is this AES tool free?

Yes, it is completely free to use with no registration, sign-up, or limits. All encryption and decryption happens in your browser using JavaScript, so your data stays private.