CHACHA20-POLY1305 DECRYPTION ============================ Use this ChaCha20-Poly1305 decryption tool with a raw UTF-8 key. Decode a complete Hex or Base64 payload to UTF-8 text. This ChaCha20-Poly1305 decryption tool restores a compatible payload entered as Hex or Base64 using the matching raw key. It expects a 12-byte nonce, the ciphertext, and a final 16-byte authentication tag. The recovered bytes are displayed as UTF-8 text; the separate IV / Nonce field is not used. OVERVIEW & METADATA ------------------- Canonical URL: https://million.tools/chacha20-poly1305-decrypt/ Markdown Copy (.md.txt): https://million.tools/chacha20-poly1305-decrypt.md.txt Plain Text Copy (.txt): https://million.tools/chacha20-poly1305-decrypt.txt API Endpoint: https://million.tools/api/v1/run/chacha20-poly1305-decrypt (POST, Keyless, 60 req/min) SEO Title: ChaCha20-Poly1305 Decryption Online | Payload to Text Alternative Names: ChaCha20-Poly1305 Payload Decoder, Restore ChaCha20-Poly1305 Text, ChaCha20-Poly1305 decryptor, ChaCha20-Poly1305 text decryption tool, ChaCha20-Poly1305 online decryption Category: Cryptography (https://million.tools/cryptography/) Tags: #ChaCha20-Poly1305 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: 14 views Published: 2026-12-05 Last Updated: 2026-12-05 Author: Egor Volchenko (Developer & Author) KEY FEATURES ------------ - Decrypt pasted Hex or Base64 payloads - Use a raw UTF-8 key normalized to 32 bytes - Read the embedded prefix and verify the tag - Display recovered bytes as UTF-8 text - Update with Auto / Live or process manually - Copy output and clear text PARAMETERS & INTERFACE CONTROLS ------------------------------- Input Parameters & Options: - input_text: Ciphertext. - hmac_key: Decryption Key / Password. - cipher_iv: IV / Nonce (Optional / Auto-generated). - input_encoding: Hex | Hex (Ignore Non-Hex Characters) | Base64 | UTF-8 | UTF-16LE | UTF-16BE | Windows-1251 (Cyrillic) | Windows-1252 (Latin 1) | ... (42 options) Output Fields & Metrics: - result: Decrypted Plaintext. Controls: Decrypt, Clear, Copy, Fill test data, Auto / Live INTERACTIVE EXAMPLE (TEST VECTOR) --------------------------------- Settings: - Input Encoding: UTF-8 - Decryption Key / Password: 0123456789abcdef0123456789abcdef Ciphertext: AAECAwQFBgcICQoLkFo4VAgpynYpt2pQwiZGCH0N9N7x Decrypted Plaintext: hello HOW TO USE CHACHA20-POLY1305 DECRYPTION --------------------------------------- Use the following steps to process a small test input. Decrypt a ChaCha20-Poly1305 test payload: 1. Paste the complete prefixed payload into Ciphertext. Set Input Encoding: to Hex for hexadecimal data or Base64 for Base64 data. The default UTF-8 choice also reads ciphertext as Base64. 2. Enter the same 32-byte UTF-8 key in Decryption Key / Password. This form has no separate key-encoding or password-derivation selector. 3. Leave IV / Nonce (Optional / Auto-generated) blank: its typed value is ignored. The operation reads the prefix from the complete ciphertext. 4. Leave Auto / Live on for updates, or turn it off and click Decrypt. 5. Read Decrypted Plaintext. A rejected authentication tag prevents successful decryption. 6. Click Copy to copy the result. Use Clear where shown, or the field clear controls, to remove the text. With Hex selected, payload fe0c49e40991416514233a51aec241baa61bca6b346f7dfd17ddaa68e7574d5c38 and UTF-8 key 0123456789abcdef0123456789abcdef decrypt to hello. Keep the full payload, including its prefix and authentication tag. The key is public test data. Note: A rejected request may leave an earlier result visible. Clear the fields and recheck the input before relying on a new calculation. Match the payload layout: This operation expects a 12-byte nonce, the ciphertext, and a final 16-byte authentication tag. The nonce and tag travel inside the encoded result. There is no AAD input, detached-tag mode, or XChaCha20-Poly1305 selector. Treat the key as bytes: Decryption Key / Password is interpreted as UTF-8 text, even if it looks like Hex or Base64. Internally, shorter keys are zero-padded and longer keys are truncated to 32 bytes; this does not provide password stretching. Use an exact 32-byte test key when comparing results. No output-encoding selector is exposed, so arbitrary decrypted binary data may not display faithfully. FREQUENTLY ASKED QUESTIONS -------------------------- Q: Can I supply a custom nonce or IV? A: The visible IV / Nonce (Optional / Auto-generated) field is ignored by this operation. Encryption generates the prefix; decryption reads it from the payload. Q: Can I enter a Hex key or use a password KDF? A: This layout has no key-encoding or KDF selector. Key text is read as UTF-8 and padded or truncated to 32 bytes. A Hex-looking key is not decoded from Hex. Q: Does this support XChaCha20-Poly1305? A: No XChaCha mode is exposed. The current operation uses ChaCha20-Poly1305 with a 12-byte nonce. Q: Does it detect altered ciphertext? A: Yes, the Poly1305 tag is checked during decryption. A changed payload or a wrong key causes authentication failure. This form has no AAD control. Q: Why can decryption fail or produce unreadable text? A: Check the raw key bytes, complete prefix, payload encoding, and cipher variant. The UTF-8 display can also look garbled when the original data was binary. Q: Is the calculation performed only in my browser? A: No. This form sends the entered data to the calculation API. Use sample data instead of production secrets. RELATED TOOLS ------------- - RSA Key Generator (https://million.tools/rsa-key-generator/): Generate a RSA test key pair as PKCS#8 private and SPKI public PEM. Choose a key size. The current page also makes API requests. - ChaCha20 Encryption (https://million.tools/chacha20-encrypt/): Encrypt pasted data with ChaCha20 and a raw key. Copy the complete Hex or Base64 payload, including its generated prefix. - ChaCha20 Decryption (https://million.tools/chacha20-decrypt/): Decrypt a complete ChaCha20 payload with the matching raw key. Enter Hex or Base64 ciphertext and view the restored UTF-8 text. - 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. - AES Decryption (https://million.tools/aes-decryption/): Decrypt compatible AES-256-CBC ciphertext from Base64 or Hex. Supply the matching key and retain the 16-byte IV prefix to recover the plaintext. 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)