---
title: "AES Encrypt & Decrypt, AES-128/256 CBC GCM - AllTools"
description: "Encrypt and decrypt with AES-128/256 across CBC, GCM and CTR. Set a custom key, IV and AAD to protect API payloads and configs — entirely client-side."
canonical_url: "https://tool.warmday.wang/en/crypto/aes"
meta:
  author: AllTools
  keywords: "online tools, AllTools, free online tools, developer tools, image tools, PDF tools, text tools, unit converter, no login, browser-based tools"
  "og:description": "Encrypt and decrypt with AES-128/256 across CBC, GCM and CTR. Set a custom key, IV and AAD to protect API payloads and configs — entirely client-side."
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "AES Encrypt & Decrypt, AES-128/256 CBC GCM"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **AES Encryption/Decryption**

Advanced Encryption Standard (AES) online tool. Supports CBC, GCM and other common modes, powered by the native browser Web Crypto API for secure and efficient operation.

### **Settings**

**Cipher Mode**

**Key**

Process key with SHA-256

The key will be converted to a 32-byte key via SHA-256.

**IV**

16 bytes (128 bits) recommended

**Output Format**

### **Encrypt**

### **Decrypt**

### **Usage**

#### **About AES Encryption**

AES (Advanced Encryption Standard) is the most widely used symmetric encryption algorithm today. Encryption and decryption use the same key. It is fast, highly secure, and widely adopted in finance, government, and other high-security domains.

#### **Mode Selection**

CBC: Cipher Block Chaining mode, the most common, requires an IV. GCM: Galois/Counter Mode, provides authenticated encryption, efficient and secure, commonly used in modern HTTPS. CTR: Counter Mode, requires a counter. This tool uses AES-256 (32-byte key).

#### **Steps**

1\. Select a cipher mode (GCM recommended). 2. Enter a key (optionally processed with SHA-256). 3. Generate or enter an IV (12 bytes for GCM, 16 bytes for others). 4. Choose an output format (Base64/Hex). 5. Enter plaintext/ciphertext and click Encrypt/Decrypt. All operations run via the browser's native Web Crypto API.

## **Related tools**

More from the same category · Encryption

[**MD5 Hash**Generate 32-char MD5 digests for text and files to verify integrity and detect content changes locally.](https://tool.warmday.wang/en/crypto/md5) [**Hash Calculator**MD5, SHA-1, SHA-256, SHA-512 digests for text and files in one pass for checksums.](https://tool.warmday.wang/en/crypto/hash) [**Base64 Converter**Base64 encode/decode for text, UTF-8 and images, with Data URL output for inline embedding.](https://tool.warmday.wang/en/crypto/base64) [**Symmetric Encryption**Encrypt/decrypt with AES, DES, 3DES, RC4 and SM4, configurable mode, padding, key and IV, fully client-side.](https://tool.warmday.wang/en/crypto/symmetric) [**RSA Tools**Generate RSA key pairs (1024-4096 bit), encrypt/decrypt and sign with PKCS#1 v1.5 or PSS, browser-side.](https://tool.warmday.wang/en/crypto/rsa) [**PGP Tools**Generate OpenPGP keys, encrypt, decrypt and sign text or files with GnuPG-compatible ASCII-armored output.](https://tool.warmday.wang/en/crypto/pgp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/en#website","url":"https://tool.warmday.wang/en","name":"AllTools","inLanguage":"en","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/en?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/en/crypto/aes#webpage","url":"https://tool.warmday.wang/en/crypto/aes","isPartOf":{"@id":"https://tool.warmday.wang/en#website"},"inLanguage":"en","name":"AES Encrypt & Decrypt, AES-128/256 CBC GCM","description":"Encrypt and decrypt with AES-128/256 across CBC, GCM and CTR. Set a custom key, IV and AAD to protect API payloads and configs — entirely client-side."},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/en/crypto/aes#app","name":"AES Encrypt & Decrypt, AES-128/256 CBC GCM","description":"Encrypt and decrypt with AES-128/256 across CBC, GCM and CTR. Set a custom key, IV and AAD to protect API payloads and configs — entirely client-side.","url":"https://tool.warmday.wang/en/crypto/aes","applicationCategory":"SecurityApplication","operatingSystem":"Web","inLanguage":"en","isPartOf":{"@id":"https://tool.warmday.wang/en/crypto/aes#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/en/crypto/aes#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://tool.warmday.wang/en"},{"@type":"ListItem","position":2,"name":"Crypto & Security","item":"https://tool.warmday.wang/en/crypto"},{"@type":"ListItem","position":3,"name":"AES Encrypt/Decrypt","item":"https://tool.warmday.wang/en/crypto/aes"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
