Cryptogram Solver
Paste a coded message and crack the substitution cipher behind it. Count letter frequency, test mappings, lock the ones you are sure about, and ask for a hint or an auto-solve when you get stuck. Free, in your browser, no download, no sign-up.
Paste your cryptogram
Paste the coded message exactly as printed. Nothing leaves your browser.
Paste a coded message to start, or press Load example.
Your message so far
Letter frequency
Paste a coded message to see its letter counts here.
Letter mapping
Type a plain letter beside a cipher letter, then press Lock to keep it. Each plain letter can stand for one cipher letter only.
No cipher letters yet. Paste a message above and the letters will appear here.
Auto-solve gives you a starting mapping to check, not a guaranteed finish.
What is a cryptogram?
A cryptogram is a short coded message, usually a quotation, in which every letter has been swapped for a different letter. The same plain letter always becomes the same cipher letter, and different plain letters never share one. That fixed swap makes it a substitution cipher: work out which cipher letter stands for which plain letter and the message reads itself. Spaces and punctuation stay as they are, and they are part of the clue.
The forms most people meet are the newspaper quote puzzles: Cryptoquip hides a joke or a remark, and Cryptoquote hides a quotation. Both can be pasted into the solver above. You may also see Quipqiup named in search results when you look for a cryptogram solver.
A cryptogram is not a codeword. In a codeword, numbers stand for letters across a grid of crossing words. In a cryptogram, letters stand for letters in one continuous message, and the clues are word shapes, short words and letter frequency.
Cryptogram, codeword or code cracker: which puzzle is it?
The three puzzles look alike at first glance, because all three hide words behind a code. The code itself gives the puzzle away. Ask two questions: is the code made of letters or numbers, and is the puzzle one message or a grid of crossing words? The answers tell you which solver to use.
A code cracker is the closest cousin of a codeword: both are number-code grids. The difference is the starting point. A codeword grid starts blank, while a code cracker gives you a few letters to begin with. If your puzzle is a single coded sentence, use the cryptogram solver above. If it is a grid of numbered squares, use the codeword solver or the code cracker solver instead.
How to solve a cryptogram
Paste the coded message
Copy the ciphertext into the box above, exactly as printed. Spaces and punctuation show where each word starts and ends.
Read the frequency chart
The tallest bars are the letters that appear most often. In ordinary English E turns up most often, so a very frequent cipher letter is a good first guess for E. Treat it as a guess.
Start with the short words
A one-letter word is A or I. A two-letter word is often OF, TO, IN, ON or IT. A three-letter word with three different letters, like THE, is a strong candidate. Try a mapping and watch it fill in.
Use word shapes
A word with a doubled letter, like the LL in WELL or the EE in DEED, narrows the options fast, and so does an ending like ING or ED. A word that appears twice must decode the same way both times.
Lock what you are sure about, then ask for help
Lock a letter once two or three words agree on it. The hint suggests a mapping for the most frequent unmapped letter, and auto-solve fills a starting mapping. Check every word it fills in: a short message can have more than one reading that fits.
Worked example
This coded message hides a line from Lewis Carroll. Press Load example, then Auto-solve, and watch the solver reach the same answer.
ZIT ZODT IQL EGDT ZG ZQSA GY DQFN ZIOFUL
THE TIME HAS COME TO TALK OF MANY THINGS
The letter Z appears five times, more than any other, and it stands for T: a warning that the most frequent letter is often E, but here it is T. The second most frequent letter, T, stands for E, and the three-letter word ZIT decodes to THE.
Once ZIT is THE and GY is OF, five letters are fixed, and they fill in parts of TIME, COME, TALK and THINGS.
Letter frequency in English
Letters do not appear equally often. This table groups them from most to least common in ordinary English.
Compare this table with the chart in the tool.
Tips for better results
Solve the shortest words first
One-letter words are A or I. Two-letter words are usually OF, TO, IN, ON, IT or IS. Each one fixes letters inside longer words.
Trust word shapes over single letters
A doubled letter, a repeated word, or an ending like ING or ED tells you more than the frequency of one letter on its own.
Keep a note of letters you have ruled out
If a cipher letter cannot be E because the word would stop making sense, remember that and move on. Ruling letters out narrows the rest.
Read the message aloud as it fills in
A half-solved message often gives itself away once two or three words read correctly. If a word looks wrong, unlock one letter and try another.
Common mistakes to avoid
Treating the most frequent letter as E without checking
Frequency is a guide. In the worked example above, the most frequent letter stands for T, not E. Check guesses against the short words.
Giving two cipher letters the same plain letter
In a substitution cipher each plain letter is used once. The tool stops you doing this in the mapping board.
Locking a guess too early
A locked letter is kept by auto-solve and hints. Lock a letter only when two or three words agree on it, and unlock it at once if the message stops making sense.
Expecting auto-solve to finish every message
Short messages can have more than one reading that fits, and an unusual word may not match the word list. Auto-solve gives you a starting mapping. Your judgement finishes the job.
Related codeword tools
Code Cracker Solver
Solve code cracker grids with a number-to-letter key.
Coded Crossword Solver
Solve coded crossword entries by pattern and known letters.
Main Codeword Solver
Solve single codeword patterns with numbers and known letters.
Multi Pattern Solver
Solve several linked codeword patterns at once.
Frequently Asked Questions
Need a different solver?