AES Encryption is an online AES encryption/decryption tool supporting AES-128 / AES-192 / AES-256 key sizes, ECB / CBC / CFB / OFB / CTR cipher modes, PKCS#5 / PKCS#7 / ISO 9797-1 / ANSI X.923 / ISO 10126 / Zero Padding / No Padding padding schemes, and Base64 / Hex / Latin1 / UTF-8 output encodings. All operations run locally in your browser — no data is ever uploaded to any server.
Select the operation mode: Encrypt or Decrypt
Enter or generate a key, and choose the key size: AES-128 (128-bit), AES-192 (192-bit), or AES-256 (256-bit)
Choose the cipher mode (ECB / CBC / CFB / OFB / CTR). Non-ECB modes require an IV (16 bytes)
Select the padding scheme and output encoding, then paste or type your text in the input area
Click "Encrypt" or "Decrypt" to execute. The result appears on the right — copy or download as needed
The tool gives you free daily uses, so everyday light encrypt/decrypt needs are covered at zero cost — no payment required to experience the full feature set.
All encryption and decryption run locally in your browser. Plaintext, keys, and ciphertext are never uploaded to any server, maximizing your data privacy.
Supports AES-128 / 192 / 256 key sizes, ECB / CBC / CFB / OFB / CTR cipher modes, and six padding schemes — flexible for a wide range of scenarios.
A clean, intuitive interface with no software to install — open the page and use it instantly, including one-click random key generation and result export.
Processing happens locally and finishes instantly with no server round-trip. Results display on the right side in real time and can be copied or downloaded with one click.
Runs in any modern browser, so Windows, macOS, Linux, and mobile browsers all work without worrying about system compatibility.
Different cipher modes determine how data blocks relate to each other, affecting security and applicable scenarios:
| Mode | Full Name | IV Required | Description |
|---|---|---|---|
| ECB | Electronic Codebook | No | Each block encrypted independently; identical plaintext produces identical ciphertext — not recommended for long text |
| CBC | Cipher Block Chaining | Yes | Each block depends on the previous ciphertext block; high security, the most commonly used mode |
| CFB | Cipher Feedback | Yes | Turns a block cipher into a stream cipher; suitable for real-time encryption |
| OFB | Output Feedback | Yes | Turns a block cipher into a stream cipher; errors do not propagate |
| CTR | Counter Mode | Yes | Turns a block cipher into a stream cipher; supports parallel processing with good performance |
When the plaintext length is not a multiple of the block size (16 bytes), padding is needed for alignment:
The AES key size determines encryption strength — more bits means stronger security:
AES is the most widely used symmetric encryption algorithm today, with significant advantages over DES:
| Dimension | AES | DES |
|---|---|---|
| Block Size | 128-bit | 64-bit |
| Key Length | 128/192/256 bit | 56 bit (effective) |
| Encryption Rounds | 10/12/14 轮 | 16 轮 |
| Security | Extremely high, no known practical attack | Low, 56-bit can be brute-forced |
| Standardization | Global standard (NIST), recommended | Legacy standard, no longer recommended |
An IV (Initialization Vector) is a random starting value used in encryption to ensure the same plaintext produces different ciphertext across multiple encryptions. ECB mode does not need an IV; all other modes (CBC, CFB, OFB, CTR) require one. For AES, the IV must be exactly 16 bytes.
Yes. When decrypting, you must use the exact same key, cipher mode, padding scheme, and output encoding that were used for encryption; otherwise, decryption will fail or produce garbage output.
AES-128 is recommended for most scenarios — it offers the best performance with sufficient security. AES-256 is ideal for high-security requirements (e.g. finance, government). AES-192 is rarely used and generally not needed. Note that AES-256 requires a 32-byte key.
AES is recommended. AES is the next-generation encryption standard defined by NIST, with a 128-bit block size and longer keys (128/192/256 bits), offering far greater security than DES. DES's 56-bit key is insecure against modern computing power. AES is the globally accepted symmetric encryption standard.
Possible causes: ① the key is incorrect; ② the cipher mode or padding scheme does not match what was used for encryption; ③ the output encoding is wrong (e.g. if encrypted with Base64 output, select Base64 for decryption too); ④ the input is not valid encrypted data.
No. All encryption/decryption operations run entirely in your browser. Your keys and data never leave your device.
Yes. The tool uses UTF-8 encoding to process text and can correctly encrypt and decrypt Chinese, Japanese, Korean, and any other Unicode characters.
An AES encryption tool is an online symmetric encryption tool for encrypting and decrypting text with AES. It supports multiple key sizes, cipher modes, and padding schemes, with all operations running locally in the browser — ideal for quickly securing sensitive text.
Because all processing runs locally in the browser, it is very fast and most text finishes almost instantly. For very long text, the browser processes it in one pass and generally will not noticeably lag; for extremely large content, splitting it into several runs is recommended.
Yes, mobile is supported. The tool runs in a web page, so mobile browsers (iOS Safari, Android Chrome, etc.) can open and use it directly. The layout is responsive, so you can encrypt and decrypt anytime, anywhere.
This tool uses pure browser-local computation and never uploads data to a server, so its privacy protection is on par with ordinary local software. Compared with third-party software that requires installation and may bundle plugins or collect data, local online computation is lighter and more transparent.
The tool gives you free daily uses, so everyday light encrypt/decrypt needs are covered at zero cost; for higher quotas or more frequent use, a membership unlocks more benefits. Using the basic features requires no registration or login — just open the page and start.
Online DES/2DES/3DES encryption and decryption tool, supporting all encryption modes and padding methods. Fully processed locally in the browser for security and efficiency.
Online 3DES encryption/decryption tool, supporting all encryption modes and padding methods, fully processed locally in the browser to ensure data security.
Online RC4 stream cipher encryption/decryption tool, supports multiple key lengths, one-click encryption and decryption, all operations are completed locally in the browser to ensure data security.
Online Rabbit stream cipher encryption/decryption tool, using a high-speed symmetric encryption algorithm, supporting multiple key lengths. All operations are performed locally in the browser to ensure data security.
Online RC2 encryption and decryption tool, supporting ECB/CBC modes, variable key length and effective key bits, all processed locally in the browser to ensure data security.
Online IDEA International Data Encryption Algorithm Tool, supporting multiple encryption modes including ECB/CBC/CFB/OFB/CTR. All operations are performed locally in the browser to ensure data security.
Online Blowfish encryption/decryption tool supporting 128/192/256/448-bit variable keys, ECB/CBC/CFB/OFB modes, and multiple padding methods. All operations are performed locally in the browser to ensure data security.
CAST-128 (CAST5) online encryption and decryption tool, supporting multiple encryption modes such as ECB/CBC/CFB/OFB, flexible padding methods, and output encoding. All operations are performed locally in the browser, ensuring security and efficiency.
Online SM4 National Symmetric Encryption and Decryption Tool, supporting five working modes: ECB/CBC/CFB/OFB/CTR, and multiple padding methods. All operations are performed locally in the browser to ensure data security.
Online RSA asymmetric encryption and decryption tool, supporting key pair generation, public key encryption and private key decryption, private key signing and public key verification. All operations are performed locally in the browser to ensure data security.
Online MD5 hash encryption tool, supporting 16-bit/32-bit output, case switching, and file MD5 verification. All operations are completed locally in the browser, ensuring security and efficiency.
MD2 Encryption Tool: Generate 32-bit MD2 hash values online, supporting uppercase/lowercase output and file verification.
Online SHA-1 hash calculation tool for efficient text encryption and file integrity verification.
Online SHA-256 hash calculation tool for quick text encryption and file integrity verification.
Online SHA-384 hash calculation tool for fast text encryption and file integrity verification.
Online SHA-512 hash calculation tool, supporting text encryption and file integrity verification, quickly generating secure hash values.
Online SM3 National Hash Encryption Tool, supports text hash calculation and file verification, outputs a 256-bit hash value, compliant with GM/T 0004-2012 national standard.
Online Base64 encode/decode tool, supporting text Base64 encoding and decoding, all done locally in the browser, safe and efficient.
Online URL encoding and decoding tool, supports intelligent encoding and decoding of URL parameters, automatically identifies URL structure, processes only the parameter part, completes entirely in the browser locally, safe and efficient.
Online UTF-8 encoding/decoding tool, supporting conversion between text and UTF-8 hexadecimal bytes. All processing is done locally in the browser, ensuring data security.