AES Encrypt & Decrypt Online
Encrypt and decrypt text using AES-GCM, AES-CBC or AES-CTR with 128, 192 or 256-bit keys. Powered by the Web Crypto API — nothing ever leaves your browser.
AES-GCM provides authenticated encryption — detects tampering automatically.
AES-GCM
Galois/Counter Mode — provides authenticated encryption. Detects tampering automatically via an auth tag. Recommended for most use cases.
- Authenticated (tamper-proof)
- Parallel encryption
- No padding needed
- 96-bit nonce must never repeat
AES-CBC
Cipher Block Chaining — each block is XORed with the previous ciphertext block. Widely supported and battle-tested. Requires padding (PKCS#7).
- Widely compatible
- 128-bit random IV
- Sequential (not parallelisable)
- No built-in authentication
AES-CTR
Counter Mode — turns AES into a stream cipher by encrypting sequential counter values. Fast and parallelisable. No padding needed.
- Stream cipher (any length)
- Parallel encryption
- No authentication
- Counter must never repeat
AES Encrypt & Decrypt Online — Free AES Tool
Encrypt or decrypt text using the Advanced Encryption Standard (AES) directly in your browser. Choose AES-GCM, AES-CBC, or AES-CTR mode and 128, 192, or 256-bit key sizes. All processing happens client-side via the Web Crypto API — your plaintext and keys are never sent to a server.
What is AES encryption?
AES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST in 2001. It operates on 128-bit blocks and supports 128, 192, and 256-bit keys. AES is the most widely used encryption algorithm in the world and underpins HTTPS, file encryption, VPNs, and countless other security protocols. AES-256-GCM is the current recommended mode for new applications because it provides both confidentiality and authenticated integrity.
How to use the AES encryption tool
- Select Encrypt or Decrypt as the operation.
- Choose the AES mode — GCM (recommended), CBC, or CTR.
- Select the key size: 128-bit, 192-bit, or 256-bit.
- Enter your passphrase or key in the key field.
- Paste the text you want to encrypt, or the ciphertext you want to decrypt.
- Click the Encrypt or Decrypt button and copy the result.
AES mode comparison
- AES-GCM: Authenticated encryption — detects tampering. Recommended for new applications.
- AES-CBC: Classic block chaining mode, widely supported in legacy systems. No built-in authentication.
- AES-CTR: Counter mode — turns AES into a stream cipher. Fast and parallelizable. No authentication.
- Key sizes: 128-bit is fast and secure for most uses; 256-bit offers maximum security.
Common AES use cases
- Testing AES encryption and decryption during development.
- Verifying AES implementations across different platforms and languages.
- Decrypting known AES-CBC or AES-GCM ciphertext for debugging.
- Learning about AES modes and key sizes in an interactive way.
- Generating encrypted payloads for test environments.
Frequently Asked Questions
How do I decrypt AES online?
Select Decrypt, choose the mode (GCM, CBC, or CTR) and key size used during encryption, enter your key and ciphertext, then click Decrypt.
What is the difference between AES-GCM, AES-CBC, and AES-CTR?
AES-GCM provides authenticated encryption and detects tampering. AES-CBC is a classic block mode without built-in authentication. AES-CTR is a stream cipher mode. GCM is recommended for most new use cases.
Is the AES encryption tool safe to use?
Yes. All processing uses the browser's Web Crypto API. Nothing is sent to any server — your keys and plaintext remain entirely local to your device.
Can I decrypt AES-128 or AES-256 ciphertext?
Yes. Select the key size that matches the original encryption (128, 192, or 256 bits) and enter the same key to decrypt successfully.