Universal Decoder: Every Decoder On One Unknown String

Every developer knows the moment: a string turns up in a log, a URL, a database column or a CTF challenge, and nothing about it says what it is. H4sIAAAAAAAAE/NIzcnJ… is obviously something — but is it Base64 wrapping a Gzip stream, a truncated token, or a red herring?
The usual workflow is guesswork: try a Base64 decoder, then a hex decoder, then a URL decoder, one browser tab at a time. The Universal Decoder inverts it. You paste once, it runs everything it has — several hundred decoder variants per input — and sorts the results so the readable ones float to the top.
Everything Runs At Once
A single paste triggers the full library:
- Encodings — Base64 and Base64URL, Base32, Base45, Base58, Base62, Ascii85, Z85, hexadecimal, binary, octal, decimal char codes, URL and double-URL percent encoding, HTML entities (named and numeric), Quoted-Printable, Unicode escapes, Punycode and JWT.
- Compression — Gzip and Deflate streams, arriving either as Base64 or as raw hex, decompressed with the browser's native
DecompressionStream. - Symbol alphabets — international and Russian Morse, Braille, tap code, the NATO phonetic alphabet, Baconian in both readings, A1Z26, T9 multi-tap, leetspeak and plain reversal.
- Classical ciphers — Atbash, ROT13, ROT5, ROT18, ROT47, plus the brute-force families: all 25 Latin (32 Cyrillic) Caesar shifts, all 312 valid affine
a·x + bpairs, rail fence with 2 to 10 rails, keyboard shift of ±2 keys, and all 255 single-byte XOR keys whenever the input decodes to bytes.
The counter under the input reports the real numbers for your string — typically 390 to 670 decoder variants attempted, of which a few hundred produce output — plus how many milliseconds the run took. No marketing figure, just what actually ran.
Ranked, Not Dumped
Running everything is the easy half. The hard half is that a few hundred candidate outputs are worthless if you have to read them all.
Each output is scored 0-100 on four signals: how much of the text is covered by dictionary words, how closely its letter pairs match real English or Russian bigram frequencies, whether it parses as JSON or matches a URL, email or HTML shape, and how many unprintable characters it drags along.
Calibration is what makes the score useful. Real English prose lands at 70-90, a decoded JSON payload at 95, and the output of a wrong Caesar shift at 0-5 — a wide enough gap that the correct answer genuinely rises. Results are then split into tiers:
- Likely plain text — 45 and above, usually one to three entries.
- Possible — 18 to 44, worth a glance.
- Everything — the full deduplicated list, searchable through the filter box.
Identical outputs are merged: when Caesar shift 3 and affine a=1, b=3 produce the same text, you get one card with a "same output from" note instead of two near-duplicates.
Key Hints Unlock The Keyed Ciphers
Brute force stops where keys begin. Type a keyword into the hints panel and every keyed cipher runs with it: Vigenère, Beaufort, Variant Beaufort, Autokey, Porta, Gronsfeld, Playfair, Polybius, Bifid with periods 3 to 7, ADFGX, ADFGVX and columnar transposition. Several keywords can be supplied at once, separated by spaces, and separate fields take a second key for the ADFGX transposition, a numeric pad, a custom 26-letter alphabet and a known shift.
Results produced by your own key get their own tier at the top. That is deliberate. A short decryption like ATTACKATDAWN has no spaces and few dictionary words, so it scores poorly on the language heuristic even though it is obviously the answer — when you supplied the key, relevance beats the score.
Cascade Decoding And Hidden Coordinates
When an output is itself encoded, the cascade keeps going up to five layers deep and prints the chain it followed. Base64 → Gzip → JSON resolves in a single pass, and so does the double-wrapped Base64 that obfuscated payloads are fond of.
Every result is also scanned for geographic coordinates in three notations — decimal degrees (51.477928, -0.001545), degrees with decimal minutes (N 51° 28.123 W 000° 00.456) and full degrees-minutes-seconds. Any hit is lifted into a banner with a map link, which quietly turns the decoder into a geocaching puzzle solver: in a puzzle cache the coordinates, not the sentence, are the thing hidden inside the cipher.
A Practical Workflow
- Paste the unknown string — results appear as you type, with no button to press.
- Read the top tier first. If the answer is a plain encoding, it is already sitting there.
- Check the cascade banner: if it fired, the chain tells you how many layers were involved.
- If nothing reads cleanly and the text is letters only, you are probably looking at a keyed cipher. Identify which one before guessing keys.
- Add the key once you have it, then read the "From your key" tier.
- Hit Use as input on any promising result to peel one more layer by hand.
Nothing is uploaded. Every decoder, the scoring and the coordinate detection are plain JavaScript running in your tab — which is exactly what makes it safe to paste a real token instead of a sanitised example.
Related Tools
Frequently asked questions
What is a multi decoder?
A multi decoder runs every decoder it has against one input at the same time instead of asking you to pick the right format first. Encodings (Base64, Base32, Base58, Base85, Hex, Binary), compression (Gzip, Deflate), symbol alphabets (Morse, Braille, tap code, Baconian) and classical ciphers (Caesar, Atbash, affine, rail fence, XOR) are all attempted, and the outputs are ranked by how much each one looks like real language.
How does the tool know which result is correct?
It does not know — it estimates. Every candidate output is scored 0-100 on dictionary word coverage, letter-pair frequencies, JSON/URL/HTML structure and the share of unprintable characters. Anything above 45 usually reads as plain text, while garbage from a wrong key lands below 10. The score is a heuristic that sorts the list, not a proof of correctness.
What is cascade decoding?
Cascade decoding keeps going when a decoded output is itself encoded. A Base64 string that unpacks into a Gzip stream that unpacks into JSON is resolved in one pass, up to five layers deep, and the chain is shown as Base64 to Gzip to JSON so you can see exactly what was nested.
Can it break Vigenere or Playfair without the key?
No. Keyed ciphers need the key: type it into the hint fields and Vigenere, Beaufort, Variant Beaufort, Autokey, Porta, Gronsfeld, Playfair, Polybius, Bifid, ADFGX, ADFGVX and columnar transposition are all tried with it. Keyless families such as Caesar, affine, rail fence, single-byte XOR and keyboard shift are brute-forced automatically.
Is anything uploaded to a server?
No. Every decoder, the scoring, the cascade and the coordinate detection run in your browser as plain JavaScript, and Gzip or Deflate use the browser's own DecompressionStream API. Nothing you paste leaves the page, which matters when the mystery string is a production token or a customer payload.



