Free Online AES Encryption & Decryption Tool
Encrypt or decrypt compatible AES ciphertext entirely in your browser. Keys and messages are not sent to an EncrypterTool application server.
AES Decryption
Decrypt Encrypted Text back into readable text.
How to decrypt AES ciphertext with a key, IV, or nonce
Paste Base64 or Hex ciphertext, choose the AES key size and mode used by the source, then enter the same key bytes. AES-GCM is the recommended default for new data and uses a 12-byte nonce; its authentication tag is included at the end of the ciphertext produced by this tool. AES-CBC requires the original 16-byte IV. ECB is retained only for documented legacy compatibility.
AES Encryption
Create Encrypted Text from readable text.
AES encryption and decryption, explained
Learn how AES-GCM, CBC, and ECB differ, and how to use this browser-based AES tool safely.
AES (Advanced Encryption Standard) is a symmetric encryption algorithm: the same secret key is used to turn readable plaintext into ciphertext and to turn that ciphertext back again. It is widely used to protect data at rest and in transit when it is combined with a sound key-management and authentication design. AES works on fixed-size blocks, while the mode of operation determines how multiple blocks are handled. This tool accepts AES-128, AES-192, and AES-256 keys and is useful when you need to reproduce a known compatible configuration.
To encrypt, enter the original text, choose the key size and mode, supply a key, and select Base64 or hexadecimal output. To decrypt, use the exact same key, mode, padding convention, and—when using CBC—the same 16-byte initialization vector (IV) used for encryption. Base64 and hexadecimal are only ways to represent the ciphertext as text; they do not alter the underlying encrypted data. A changed character, key, IV, or mode will normally prevent successful decryption.
AES protects confidentiality, but encryption alone does not prove that data has not been changed. ECB exposes patterns and should only be used for legacy interoperability. CBC is also provided for compatibility, but new applications should generally choose authenticated encryption such as AES-GCM through a maintained cryptography library. Never use a memorable password directly as an AES key in a production system; derive a key with a reviewed password-based key derivation function and keep keys separate from encrypted data.
A careful workflow
- Choose a key size and mode that match the system you are interoperating with.
- For GCM, use a unique 12-byte nonce; for CBC, enter the exact 16-byte IV; ECB does not use an IV.
- Keep the selected UTF-8, Base64, or Hex format consistent when moving values between systems.
FAQ
What is the difference between GCM, CBC, and ECB?
GCM encrypts and detects tampering; CBC chains blocks with an IV but needs separate authentication; ECB encrypts identical blocks identically and is unsuitable for new designs.
Why does AES decryption fail?
The key, mode, IV or nonce, authentication tag, ciphertext encoding, or padding convention may not match the values used during encryption.
Is Base64 encryption?
No. Base64 is text encoding, commonly used to copy binary ciphertext through text-only channels.
Further reading: NIST AES standard (FIPS 197)
Online encryption, hashing & encoding tools
Choose the specific tool that matches your task. Encryption, hashing, and encoding solve different problems and should not be treated as interchangeable.
- AES encryption & decryption toolAES-128, AES-192, and AES-256 with CBC or ECB mode.
- RSA encryption, decryption & key pair generatorRSA-OAEP encryption with PEM public and private keys.
- DES encryption & decryption toolLegacy DES compatibility testing with CBC or ECB mode.
- Triple DES (3DES) encryption & decryption toolLegacy 3DES compatibility testing with CBC or ECB mode.
- Bcrypt hash generator & verifierCreate a bcrypt password hash or verify a password against one.
- MD5 hash generatorGenerate an MD5 digest for legacy compatibility checks.
- SHA-256 hash generatorGenerate a SHA-256 digest for integrity checks.
- HMAC generatorCreate HMAC-SHA-256, HMAC-SHA-384, or HMAC-SHA-512 values.
- Base64 encoder & decoderConvert UTF-8 text to or from Base64.
- Hex encoder & decoderConvert UTF-8 text to or from hexadecimal notation.
Practical AES guides
Short, original explanations for common AES compatibility and implementation questions.
- AES-GCM Encryption and Decryption GuideLearn how AES-GCM combines encryption and tamper detection, how to choose a key and nonce, and how to exchange compatible ciphertext.
- AES-GCM vs CBC vs ECB: Which Mode Should You Use?Compare AES-GCM, CBC, and ECB and learn why new applications should use authenticated encryption rather than legacy AES modes.
- AES Key, IV, and Nonce Sizes ExplainedUnderstand AES-128, AES-192, and AES-256 key sizes, plus the IV and nonce lengths required by AES-CBC and AES-GCM.
- How to Decrypt OpenSSL AES CiphertextA compatibility checklist for decrypting OpenSSL AES output: identify the cipher, key derivation, salt, IV, padding, and Base64 format first.