You have a paragraph of gibberish where every letter has been swapped for another, and you need the original sentence. Before guessing words at random, count the letters. In a simple substitution cipher each plaintext letter always maps to the same ciphertext letter, so the shape of the letter counts survives the disguise.
Character Frequency Counter FREE online toolRuns in your browser. No sign-up, nothing to install. Open the tool →Why counting works
In ordinary English the letter E is by far the most common, followed by T, A, O, I, N, S, H and R. Letters such as Q, X, J and Z are rare. A substitution cipher shuffles the labels but not the counts, so the most frequent ciphertext symbol is a strong candidate for E, and the second or third may be T or A.
The method gets weaker on short messages. With 40 letters the counts are noisy and E may not even be the top letter. With 300 or more letters the pattern is usually clear enough to start from.
Get your counts
Paste the ciphertext into the Character Frequency Counter and read the character table, which is sorted by count. Remove spaces and punctuation from the ciphertext first if the puzzle keeps them, since word lengths are a separate clue you will want to keep in your own notes.
Write the top five or six letters down next to the expected English order. Do not commit to any mapping yet; treat each one as a hypothesis.
Steps to crack it
- Count every letter and note the top five symbols and the bottom five.
- Guess that the most frequent symbol is E and replace it in a copy of the text with a lowercase e, so confirmed guesses stand out.
- Look for one-letter words. In English they are almost always A or I, which gives you two more mappings.
- Find the most common three-letter word. If it ends in your guessed E, it is probably THE, which fixes T and H.
- Look for double letters. The common ones are LL, EE, SS, OO and TT, and they limit the options.
- Fill in the partial words and let the context suggest the remaining letters. Revise any guess that produces nonsense.
Patterns that speed things up
Short words are the quickest wins. Common two-letter words include OF, TO, IN, IT, IS, BE, AS and AT. Common endings include -ING, -ED and -ER, and common beginnings include TH, WH and CH.
Pairs help too. If a ciphertext symbol appears right before your presumed E very often, it may be T, H or R. Counting only gets you to a starting point; the rest is pattern matching and patience.
- Keep the original ciphertext untouched and work on copies.
- Pencil in guesses with a marker such as lowercase for solved and uppercase for unknown.
- If nothing fits after ten minutes, swap your E guess with the second most frequent symbol and try again.
Pitfalls
Not every puzzle follows English statistics. Cryptograms written in another language, or with deliberately odd text such as a message that avoids the letter E, will break the usual order. Very short quotes can also mislead you, so lean on word shapes more than raw counts.
Also check whether the cipher is really a substitution. If the same plaintext letter appears as several different symbols, you may be facing a polyalphabetic cipher, and simple counts will look almost flat.
Comments (0)
No comments yet. Be the first to share a thought.