Skip to main content
ilovecalcs logoilovecalcs.

Solvers · Live

Cryptogram Solver, decoded instantly.

Paste an encoded cryptogram or cryptoquip and instantly see the decoded message using frequency analysis and pattern matching.

How it worksFrequency analysis

Ciphertext

0/2000

Decoded

Paste a cryptogram above, or load the example, then hit Solve.

Field guide

How the Cryptogram Solver works.

A cryptogram encodes a message with a substitution cipher: every occurrence of one letter is consistently swapped for another letter throughout the puzzle, while spaces and punctuation are left untouched. Cryptoquip, Cryptoquote, and Celebrity Cipher puzzles are all the same mechanic under different names. Solving one means reversing the substitution to recover the original English text.

Using the solver

Paste the ciphertext exactly as printed, including punctuation and word breaks, then hit Solve. If you already know one or more letter mappings, lock them in first — every locked letter narrows the search for the rest.

The algorithm: frequency analysis + pattern matching

No brute-force guessing is involved; a 26-letter substitution has too many permutations for that (over 400 septillion). Instead the solver combines two classic cryptanalysis techniques:

  • Frequency analysis. English letters appear at well-known rates (E, T, A, O, I, N are the most common). Comparing the ciphertext's letter frequencies against this baseline gives strong initial guesses for the most common cipher letters.
  • Pattern matching. Every word has a “shape” based on which of its letters repeat — for example ABCB for a word like “NOON” or “TOOT”. The solver matches each ciphertext word's shape against a dictionary filtered to the same shape, generating a small set of candidate letter mappings per word.

It then propagates shared letters across every word in the puzzle — if one word's candidate mapping says cipher-letter X is “T,” every other word containing X is filtered down to only the mappings consistent with that. This repeats until the mappings stabilize, usually converging on the full solution.

Worked example

A common shortcut: a lone 3-letter ciphertext word appearing several times is very likely “THE,” the most frequent word in English. Confirming that single mapping instantly reveals three letters everywhere else in the puzzle, which typically exposes several more words' shapes clearly enough to solve in a couple more passes.

Tips for solving it yourself

  • Attack short words first. 1-letter words are almost always “I” or “A”; common 3-letter words are disproportionately “THE” and “AND.”
  • Look for repeated-letter shapes. Double letters, especially at the end of a word, narrow the candidates fast (think “-LL,” “-SS,” “-EE”).
  • Fill in confirmed letters everywhere at once. A single correct guess anywhere in the puzzle should immediately update every other occurrence of that cipher letter.