AES DECRYPTION ============== Use AES decryption to decrypt AES-256-CBC ciphertext with a matching key. This AES decryptor accepts Base64 or Hex input containing the IV prefix. AES 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. OVERVIEW & METADATA ------------------- Canonical URL: https://million.tools/aes-decryption/ Markdown Copy (.md.txt): https://million.tools/aes-decryption.md.txt Plain Text Copy (.txt): https://million.tools/aes-decryption.txt API Endpoint: https://million.tools/api/v1/run/aes-decryption (POST, Keyless, 60 req/min) SEO Title: AES Decryption Online | Decrypt AES-256-CBC Text Alternative Names: AES Ciphertext Decoder, Decrypt with AES, AES decryptor, AES-256-CBC decryptor, Online AES decryption tool Category: Cryptography (https://million.tools/cryptography/) Tags: #AES Application Category: DeveloperApplication Platform: Web (All modern desktop and mobile browsers, requires JavaScript) Price: Free ($0.00 USD, no registration or sign-up required) Live Calculation: Supported (Auto / Live toggle enabled by default) Usage Statistics: 27 uses | 547 views Published: 2026-10-30 Last Updated: 2026-10-30 Author: Egor Volchenko (Developer & Author) KEY FEATURES ------------ - Decrypt compatible AES-256-CBC ciphertext - Accept Base64 or Hex ciphertext with an IV prefix - Accept independently encoded key bytes - Display recovered bytes as UTF-8 text - Copy plaintext and clear text PARAMETERS & INTERFACE CONTROLS ------------------------------- Input Parameters & Options: - input_text: Ciphertext. - aes_file: File. Encrypted File Drag and drop a file here or click to browse Upload File - hmac_key: Key. - cipher_iv: IV. - passphrase: Passphrase. - ikm: Input Key Material. - salt: Salt. - info: Info. - iteration: Number. Iterations - block-size: Number. Block Size (r) - parallelism: Number. Parallelism (p) - argon2-memory-size: Number. Memory Size (KiB) - argon2-iterations: Number. Iterations - argon2-parallelism: Number. Parallelism - nonce: Nonce. - aad: Additional Authenticated Data. - tag-length: Number. Authentication Tag Length (Bytes) - tag: Authentication Tag. - input-source: Text | File - input_encoding: Hex | Hex (Ignore Non-Hex Characters) | Base64 - key-size: 128 Bits | 192 Bits | 256 Bits - mode: CBC | CFB | CTR | OFB | ECB | GCM | CCM - padding: Pkcs7 | Pkcs5 | Iso97971 | AnsiX923 | Iso10126 | ZeroPadding | NoPadding - key-type: Custom | PBKDF2 | EvpKDF | HKDF | Scrypt | Argon2 - key-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - iv-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - hash: MD5 | SHA1 | SHA224 | SHA256 | SHA384 | SHA512 | RIPEMD160 | KECCAK512 - format: OpenSSL (Salted__) | None - ikm-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - salt-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - info-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - custom-iteration: Boolean. Custom Iteration. - log-n: 1,024 (2^10) | 2,048 (2^11) | 4,096 (2^12) | 8,192 (2^13) | 16,384 (2^14) | 32,768 (2^15) | 65,536 (2^16) | 131,072 (2^17) | 262,144 (2^18) | 524,288 (2^19) | 1,048,576 (2^20) - argon2-mode: Argon2id | Argon2i | Argon2d - nonce-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - aad-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - append-tag: Boolean. Authentication Tag Appended to Input. - tag-input-type: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) - output_format: Hex (Lower Case) | Hex (Upper Case) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | IBM866 | ISO-8859-2 | ... (42 options) Output Fields & Metrics: - result: Decrypted Plaintext. Controls: Decrypt, Clear, Copy, Fill test data, Auto / Live INTERACTIVE EXAMPLE (TEST VECTOR) --------------------------------- Settings: - Input Type: Text - Input Encoding: Hex - Key Size: 256 Bits - Mode: CBC - Padding: Pkcs7 - Key Type: Custom - Key Encoding: Hex - Key: 3031323334353637383961626364656630313233343536373839616263646566 - IV Encoding: Hex - IV: 61626364656639383736353433323130 - Authentication Tag Appended to Input: Enabled - Output Encoding: UTF-8 Ciphertext: 526f208f070a7f4337fd4ab54cdc53d9d9b64a1180d8c2c534bc50107060f086 Decrypted Plaintext: Hello, million.tools! HOW TO USE AES DECRYPTION ------------------------- Use the steps below to recover text from a test ciphertext. Recover text from a test ciphertext: 1. 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. 2. Keep Decryption Key & IV enabled. Enter the key in Decryption Key / Password and select its representation with Key Encoding (Search/Type):. 3. Keep Auto / Live on to update the result as you edit. To work manually, turn Auto / Live off and click Run. 4. Read Decrypted Plaintext. A decryption error can indicate the wrong key, encoding, IV prefix, or cipher settings. 5. 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 -------------------------- Q: What AES ciphertext can this tool decrypt? A: 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. Q: Should I select Hex or Base64? A: Select the representation of the whole IV-plus-ciphertext value. Choose Hex for hexadecimal text and Base64 for Base64 text. The default UTF-8 setting also follows the Base64 ciphertext path. Q: Where do I enter the IV? A: Include it at the beginning of the ciphertext bytes before encoding the value. The current form has no separate IV field. Q: Why does decryption fail with the right password? A: The source may use another cipher mode, padding, IV layout, or key-derivation method. This tool uses raw key bytes padded or truncated to 32 bytes, rather than deriving a key from a password. Q: Does readable plaintext prove the ciphertext is authentic? A: No. AES-CBC does not provide authentication by itself. A readable result is not a cryptographic integrity check. Q: Is the text processed entirely in my browser? A: No. The current form sends its input to the calculation API. Use non-sensitive sample data when testing. RELATED TOOLS ------------- - AES Encryption (https://million.tools/aes-encryption/): Encrypt text or encoded bytes with AES-256-CBC. Supply a key and copy Hex or Base64 output containing the random IV followed by the ciphertext. ABOUT THE AUTHOR ---------------- Egor Volchenko — Developer & Author 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. Links: x.com (https://x.com/egorleet) | github.com (https://github.com/egorleet) | t.me (https://t.me/egorleet) | instagram.com (https://www.instagram.com/egorleet) | facebook.com (https://www.facebook.com/egorleet/) | egorleet.blog (https://egorleet.blog/) | mastodon.social (https://mastodon.social/@egorleet) | twitch.tv (https://www.twitch.tv/egorvolchenko) | stackoverflow.com (https://stackoverflow.com/users/31679135/egor-volchenko) | reddit.com (https://www.reddit.com/user/Vegetable_Window9185/) | youtube.com (https://youtube.com/@egor-volchenko)