Home › Ciphers › Cipher Solver
Cipher Solver
You do not know what made this text scrambled — and you do not need to. The Solver tries the standard decodings one after another, then tries them again on the results, because real puzzle messages are often wrapped in two or three layers. Every candidate reading is scored for English-likeness, and the chain that ends in real English wins.
A cipher solver is a tool that attempts to decode a scrambled message automatically: it applies a chain of known decodings — Base64, hex, binary, Morse, ROT13, every Caesar shift, Atbash — scores each result for how much it looks like English, and keeps peeling layers until readable text appears or the chain runs out.
Best for: layered puzzle messages and unknown encodings. Not for: modern encryption, or a long substitution cryptogram — that has its own dedicated solver.
Solve your message
A chain of decodings, scored at every step
Most scrambled text found in puzzles, games and challenges was not produced by one strong cipher. It was produced by one or two simple steps — the kind anyone can apply with an online tool. The Solver exploits that. It holds a fixed toolbox of single-step decodings and applies them in a deliberate order, first to your text, then to everything those steps produce:
- Shape-based decodings first. If the text is only 0s and 1s in groups of eight, it is binary. If it uses only hex digits, it is hexadecimal. Dots and dashes mean Morse; mixed-case text ending in = with a length divisible by four is probably Base64; numbers from 1 to 26 suggest A1Z26. These steps only fire when the shape fits, so they never corrupt a letter cipher.
- Then the alphabet tricks. ROT13 (shift every letter by 13), Atbash (reverse the alphabet), and a full Caesar brute force — all 25 shifts, each scored, the best kept.
- Then do it again. Every output becomes a new input. This is the step that matters: a message that was ROT13'd and then Base64-encoded looks like meaningless Base64 until the first layer comes off, and like gibberish ROT13 until the second does. The Solver searches up to three layers deep.
- Score everything, keep the best. No step is trusted on its own. Each candidate reading is scored (below), and the winning chain is simply the one whose final text scores highest.
How the scoring works
A candidate text earns its score three ways. Letter-frequency fit: a chi-squared comparison against published English letter frequencies — real English has about 12.7% E and almost no Z, and text that matches that profile scores well. Dictionary hits: the fraction of its words that are real, common English words. Letter-group patterns: how often its three-letter groups are groups English actually uses — THE, AND, ING and their kin. Gibberish can fluke one of these; it rarely flukes all three. The same family of scoring, extended with four-letter groups (quadgrams), powers the cryptogram solver's key search.
Layered encodings: the normal case, not the exception
Puzzle designers layer simple steps precisely because a single step is too easy to spot. Base64 around ROT13 around the message is a cliché of the genre — and it defeats any tool that only tries one decoding. When you paste text here, assume layering until proven otherwise: if the Solver's first layer produces something that still looks scrambled but differently scrambled, you are making progress, and the chain display shows you exactly where you are.
Privacy: every step runs in your browser, in this page. Nothing you paste is uploaded, stored or logged — which is also why the Solver works offline once the page has loaded.
From the Bombe to the browser
Automatic solving began as machinery. At Bletchley Park in 1940, the Bombe — designed by Alan Turing and improved by Gordon Welchman — mechanised the search through Enigma settings, testing chains of logical deductions faster than any human team. In 1944 the electronic Colossus, built by Tommy Flowers' Post Office engineers, attacked the Lorenz cipher by counting at speeds no mechanical device could reach. The principle both machines embody is the one on this page: generate candidate decodings mechanically, test each against a statistical idea of the language, keep what fits.
After the war the same idea moved into software. Hobbyist cryptogram solvers of the 1980s and 90s — the era of the American Cryptogram Association's computer columns — showed that a home computer could hill-climb a substitution key in seconds. The modern puzzle solver is their descendant, with one addition the Bombe never needed: layers. Today's scrambled text usually arrives wrapped in internet encodings, so a modern solver must be as fluent in Base64 as in Caesar.
- 1940 — the Bombe mechanises candidate-testing at Bletchley Park.
- 1944 — Colossus brings electronic speed to statistical attacks.
- 1980s–90s — home computers make automatic cryptogram solving a hobbyist tool.
- Today — the chain runs in your browser, encodings included.
The chain, in order
Every paste is attacked in this order, and the whole list runs again on each new output, up to three layers deep. Caesar brute force is a single step that internally tests all 25 shifts.
| Score signal | What it measures | Gibberish scores |
|---|---|---|
| Chi-squared letter fit | Distance from published English letter frequencies | Poorly — frequencies stay wrong |
| Dictionary hits | Share of words that are real common English words | Near zero |
| Letter-group patterns | Share of three-letter groups English actually uses | Low — random groups are rare in English |
One message, two layers, solved in order
The paste
Layer 1 — Base64. The shape gives it away before any decoding: mixed case, digits, a +, and the tell-tale == padding, in a length divisible by four. Decoding produces Zrrg zr ng gur byq fgbar oevqtr ng qnja naq oevat gur frnyrq yrggre jvgu lbh — still scrambled, but now it is plainly letters, with word shapes. Its score rises, so the chain continues.
Layer 2 — ROT13. The word gur sits exactly where “the” should be, and ng where “at” should be — the classic ROT13 fingerprint. Shifting every letter by 13 gives the plaintext: “Meet me at the old stone bridge at dawn and bring the sealed letter with you.” Score high on all three signals; the chain stops. Load this example with the first button above the tool and watch both layers come off.
Two more one-click examples sit above the tool: a plain Caesar message (the chain's brute-force step finds shift 7) and a Morse message (the shape check routes it straight to the Morse decoder).
When the Solver fails — and what to try by hand
The Solver is a chain of known, simple steps. It fails, honestly and by design, when the message needs something else:
- A substitution cryptogram. A scrambled-alphabet message has no “step” to reverse — it needs a key search. The chain will tell you the frequencies look monoalphabetic; take the text to the cryptogram solver, which hill-climbs the key.
- A Vigenère cipher with a real key. Brute-forcing 25 shifts cannot touch it. Identify the key length first (the Identifier estimates it), then use the Vigenère solver.
- Very short text. Under a sentence or so, scoring cannot tell real English from lucky gibberish, and several chains will score alike. Try the top alternatives by eye.
- Another language. The scoring is calibrated on English. Spanish, French or German plaintext will score as mediocre English and may lose to a wrong chain.
- Modern encryption. AES and its relatives are built so that no chain of simple steps and no scoring function can open them. If a “puzzle” claims to be AES, the solvable part is never the AES itself.
By hand, in order: look at the shape (character set, padding, groupings); test the free wins (ROT13, Atbash, all Caesar shifts); decode any encoding layer and repeat; if the letters look English-shaped but read as nonsense, suspect substitution or transposition and switch to the specialist solver for that family.
Solver, Identifier, Decoder — which one do you need?
| Tool | Your situation | What it gives you |
|---|---|---|
| Cipher Solver (this page) | “Just decode it — try everything, including layers.” | An automatic attempt at the plaintext, with the winning chain shown |
| Cipher Identifier | “What kind of cipher is this, exactly?” | A ranked shortlist of families with statistical evidence |
| Cipher Decoder | “I roughly know the type; point me to the right tool.” | A route-by-type table and the ten commonest puzzle ciphers |
| What Cipher Is This? | “Teach me to recognise them myself.” | A clue table and ten annotated samples |
The Solver's bargain is breadth for depth: it tries more things than any single specialist tool, and goes less deep on each. When its answer names a family but the text stays shut, that is the answer — take the text to the specialist.
Who pastes what into this page
Puzzle hunts and ARGs are the Solver's natural home: the Cicada 3301 puzzles that began in 2012 taught a generation that a strange string is usually an encoding wrapped around a cipher wrapped around a message. Geocachers meet layered encodings in mystery-cache listings, where the “cipher” guarding the coordinates is often Base64 over something simple. CTF competitions open their cryptography categories with exactly these chains — decode the layer, recognise the next, repeat under time pressure. Escape rooms chain a Morse torch, a shifted note and a reversed inscription into one lock. In every case the skill is the same: refuse to be impressed by the outer layer.
Two chains to peel yourself
Run each through the Solver, then check whether its chain matches your own guess from the shape alone.
Practice 1
Reveal the answer
One layer: hexadecimal. Only digits and the letters a–f, in pairs — each pair is one character's code. It reads “The package is hidden under the third bench in the station.”
Practice 2
Reveal the answer
One layer: Atbash. The frequencies are English-shaped but mirrored — GSV appears where THE should be, and A↔Z reversal confirms it: “THE TREASURE IS BURIED UNDER THE OLD OAK TREE.”
The printable chain checklist in the sidebar lists the nine steps in order — keep it beside your puzzle notebook and tick them off by hand.
Frequently asked questions
How many layers can the Solver peel?
Up to three decode steps — for example Base64, then ROT13, then a Caesar shift. Three covers virtually every puzzle construction in the wild; deeper stacks are almost always a sign that one of the “layers” is a wrong turn, and the alternatives list shows the other chains that scored well.
The Solver says my text is already readable. What does that mean?
Its score for your paste was already higher than anything the chain produced — the text is probably plain English (or plain English in an unusual font or file), or scrambled by a method outside the chain, such as a substitution or a transposition. The Identifier's statistics will tell you which.
Why did it stop at gibberish with a decent score?
Short texts can fluke the scoring: a wrong decode of twenty letters may contain a real word or two by luck. Read the alternatives — on short input the correct chain is often second or third — and prefer the reading that makes sense to a human, not just to the scorer.
Does my text leave my device?
No. The chain, the scoring and the search all run in your browser. Nothing is uploaded, stored or logged, and the page works offline once loaded.
Can it solve a newspaper cryptogram?
Not well — a cryptogram is a key search, not a chain of steps, and it deserves its own engine. The cryptogram solver hill-climbs the substitution key with letter-group statistics and a pattern dictionary.
What should I try if the Solver fails completely?
Work the manual order in the limits section above: shape first, free wins second, encodings third. Then identify the family with the Identifier and take the text to that family's specialist solver. A failure from the chain is still information — it rules out the nine commonest constructions.