Cipher Identifier — What Cipher Is This?
Paste an unknown coded message and get a ranked list of likely cipher types — Caesar, ROT13, Atbash, A1Z26, substitution cryptograms, Morse, or braille — each with the statistical reason and a link straight to the right decoder. Analysis runs entirely in your browser.
25+ letters give the sharpest identification. Shorter texts still get a best guess.
What Is a Cipher Identifier?
When you find a coded message — in a puzzle book, an escape room, a geocache log, or a kid’s treasure hunt — the first question isn’t “what does it say?” but “what kind of code is this?” A cipher identifier answers that question with statistics. This tool checks the character makeup of your text (numbers point to A1Z26, dots and dashes to Morse, braille cells to braille) and then applies classical cryptanalysis to letter-based ciphers: frequency analysis against every Caesar shift, an Atbash mirror test, and the index of coincidence to detect substitution structure. You get ranked candidates, the evidence for each, and a one-click path to the decoder that finishes the job.
How the Analysis Works
- Character classes first. Text that is mostly digits with separators is treated as A1Z26 and test-decoded; pure dots and dashes read as Morse; characters in the U+2800 block are braille cells.
- Index of coincidence (IoC). The chance two random letters from the text match. English is about 0.066, and any one-to-one letter substitution preserves that number. An IoC near 0.038 suggests the alphabet has been flattened — usually a polyalphabetic cipher.
- Chi-squared at all 25 shifts. If some Caesar shift makes the letter frequencies snap into English shape, the tool reports that shift (13 gets a special ROT13 callout).
- Atbash test. The text is mirrored and re-scored; if the mirror looks like English, Atbash is the answer.
- Fallback reasoning. English-like IoC with no working shift or mirror means a keyed substitution (take it to the cryptogram solver) — or, if the raw letter frequencies are already English but the text reads as nonsense, a transposition that scrambled letter order without replacing letters.
Worked Example
Paste Wkh vhfuhw phhwlqj lv dw grzq. The IoC comes out near English, and shifting back by 3 produces letter frequencies that fit English closely — so the top candidate is “Caesar cipher (shift 3)” with high confidence, linking to the Caesar decoder where you’ll read The secret meeting is at dawn. Paste 16-21-26-26-12-5instead and the digit check fires: every number sits in 1–26, so A1Z26 is reported with high confidence.
Limits Worth Knowing
Heuristics need data: below roughly 25 letters, confidence drops and you should treat results as leads. The tool covers classical pencil-and-paper ciphers, not book codes, one-time pads, or modern encryption — those don’t yield to letter counting. And a transposition cipher can only be flagged, not solved here, because unscrambling letter order needs different machinery than substitution solving.
Frequently Asked Questions
How does the cipher identifier work?
Character-class checks plus classical statistics: chi-squared frequency tests at every Caesar shift, an Atbash mirror test, and the index of coincidence. Each heuristic that fires adds a ranked, explained candidate.
What is the index of coincidence?
The probability two randomly picked letters are equal. English (and any monoalphabetic substitution of it) is about 0.066; random letters about 0.038.
Which ciphers can it identify?
Caesar (with the exact shift), ROT13, Atbash, A1Z26, general substitution cryptograms, transposition hints, Morse, braille, and plain unencrypted English.
How much text does it need?
25+ letters for high confidence. Shorter samples still produce guesses, marked medium or low.
What do the confidence levels mean?
High: the statistics clearly favor one family. Medium: consistent but short or ambiguous evidence. Low: a lead to try, not a conclusion.
What if none of the candidates pan out?
Open the interactive cryptogram solver and work it by hand with pattern suggestions — or consider that the text may be a code (word-level) rather than a cipher (letter-level).
Does my ciphertext leave my browser?
No — every test runs client-side.
Make Ciphers, Not Just Break Them
Building a puzzle hunt or activity book? The free cryptogram maker generates printable substitution-cipher puzzles from any quote, complete with answer keys.
Every free PuzzlePage tool
All free, no signup, and they run in your browser.
Word Solvers & Finders
Daily Game Solvers & Helpers
Logic Puzzle Solvers
Cipher Tools & Decoders
Translators & Converters
Word Lists & Dictionary