AES Decryption
Developer & Author —Egor VolchenkoAES decryption recovers text from compatible AES-256-CBC ciphertext using the matching key. This AES decryptor expects a 16-byte IV at the beginning of the decoded input, followed by the encrypted message. It accepts Base64 or Hex representations of that complete value.
How to use AES Decryption
Use the steps below to recover text from a test ciphertext.
Recover text from a test ciphertext
- Paste the full IV-prefixed value into Ciphertext. Use Input Encoding: Hex for hexadecimal input or Base64 for Base64 input; the UTF-8 default is also treated as Base64 here.
- Keep Decryption Key & IV enabled. Enter the key in Decryption Key / Password and select its representation with Key Encoding (Search/Type):.
- Keep Auto / Live on to update the result as you edit. To work manually, turn Auto / Live off and click Run.
- Read Decrypted Plaintext. A decryption error can indicate the wrong key, encoding, IV prefix, or cipher settings.
- Click Copy to copy the result. Use Clear where shown, or a field's clear control, to clear the text.
For example, select Base64 input and use ciphertext AAECAwQFBgcICQoLDA0OD/MLhMBQYo2mLm1PZkeSwm0= with UTF-8 key 12345678901234567890123456789012. The recovered plaintext is Hello. This fixed IV is only a test fixture.
Match the ciphertext envelope
Decode the transport representation into bytes, then interpret the first 16 bytes as the IV. Ciphertext from a different mode, a separate-IV format, or a password-derived envelope is not automatically compatible. There is no separate IV field despite the switch label.
Interpret recovered text cautiously
Keys are raw bytes padded or truncated to 32 bytes; no password KDF is applied. Recovered bytes are displayed as UTF-8 text, so binary data or another text encoding may not display correctly. CBC decryption alone does not verify the message’s authenticity.
Frequently asked questions
It handles AES-256-CBC with standard block padding and a 16-byte IV prefixed to the ciphertext bytes. The key must match the one used for encryption.
Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience.