Cryptogram Solver
Decode cryptograms, Cryptoquips, and Cryptoquotes by mapping each cipher letter to its real letter. Use frequency analysis to crack the code!
What Is a Cryptogram?
A cryptogram is a short piece of text encoded using a substitution cipher โ a system where each letter of the original message is consistently replaced by a different letter. If A is replaced by X in one place, it's replaced by X everywhere in that message. Your job as the solver is to figure out the entire substitution key and reveal the hidden message.
Cryptograms have entertained puzzle lovers for centuries. They appear in newspapers, puzzle books, and brain-training apps around the world under a few different names โ most commonly as a Cryptoquip or a Cryptoquote. Famous historical figures used substitution ciphers to protect secrets โ Julius Caesar used one of the simplest (shifting each letter by 3), while Mary Queen of Scots used a complex cipher that, when broken, revealed treasonous plans that cost her life.
Cryptogram vs. Cryptoquip vs. Cryptoquote
These three names all describe the same underlying puzzle โ a message encoded with a substitution cipher โ just packaged differently, and our solver works for all of them.
Cryptogram
The general term for any substitution-cipher puzzle. Can encode a single sentence, a quote, or a whole paragraph. Common in puzzle books and brain-training apps.
Cryptoquip
A syndicated daily newspaper puzzle (King Features Syndicate) that encodes a short, punny sentence or joke. Solved the same way as any cryptogram โ letter by letter.
Cryptoquote
A cryptogram built from a famous quotation, usually with the author's name encoded too. Popular in newspapers and puzzle magazines as a daily brain teaser.
How Substitution Ciphers Work
The Caesar Cipher (Shift Cipher)
The simplest substitution cipher shifts every letter by a fixed number. Julius Caesar used a shift of 3: AโD, BโE, CโFโฆ and so on. Our sample cryptograms use Caesar shift-3 so you can verify your solutions easily.
Simple Substitution Cipher
A more secure cryptogram uses a random key where each letter maps to a completely different letter (not just shifted). All 26 letters are remapped, creating 403 septillion possible keys โ uncrackable by brute force but solvable by frequency analysis.
How to Solve a Cryptogram: Frequency Analysis
The most powerful technique for cracking substitution ciphers is frequency analysis, invented by the 9th-century Arab mathematician Al-Kindi. The insight: certain letters appear far more often in English than others. By counting how often each cipher letter appears and comparing to known English frequencies, you can make educated guesses.
English Letter Frequency Order
- E โ ~13% of all text
- T โ ~9%
- A โ ~8%
- O โ ~7.5%
- I โ ~7%
- N โ ~6.7%
- S, H, R โ ~6% each
If cipher letter Q appears 15 times in a message, it's very likely E.
Pattern-Based Clues
- Single-letter word = A or I
- Most common 2-letter words: OF, TO, IN, IS, IT, BE, AS, AT, SO
- Most common 3-letter words: THE, AND, FOR, ARE, BUT
- Double letters: LL, SS, EE, TT, FF, OO, PP, RR
- Apostrophe pattern _'T = IT or AT
How to Use Our Cryptogram Solver
Whether you're stuck on today's newspaper Cryptoquip, a Cryptoquote from a puzzle magazine, or any other substitution cryptogram, the steps are the same:
- Paste your encrypted message into the input box or click a sample puzzle.
- Study the Letter Frequency Analysis bar chart โ taller bars = more frequent cipher letters.
- Click "Frequency Hint" to auto-map the 3 most common cipher letters to E, T, A.
- For each cipher letter, type your guessed plaintext letter in the mapping box.
- Watch the Decoded Message update in real time โ dots (ยท) are unmapped letters.
- When you've mapped all letters, the progress bar reaches 100% and the full message is revealed.
How to Make Your Own Cryptogram
Want to act as a cryptogram generator and stump a friend, a classroom, or a puzzle club? Making one by hand takes just a few minutes:
Step by Step
- Pick a short sentence, joke, or quotation โ 6 to 20 words works best.
- Write the alphabet AโZ, then write a scrambled version of the alphabet underneath it as your cipher key (or use a fixed shift for an easier Caesar-style puzzle).
- Replace every letter in your message with its matched letter from the key. Keep spacing and punctuation exactly as in the original โ only letters change.
- Double-check that no letter secretly maps to itself, which can give away easy clues.
- Share the encoded text (and, for a Cryptoquote, the author's name encoded too) and let the solver work backward using frequency analysis.
Tips for a Good Puzzle
- Use a real, natural-sounding sentence โ random word salad is harder to solve fairly and less fun to crack.
- A random substitution key (not a simple shift) makes the puzzle noticeably harder, since solvers can't just try all 25 shifts.
- Include a few short words (the, and, is, a) โ they give solvers a fair foothold and keep the puzzle from feeling impossible.
- Test your own puzzle in our solver first to confirm it decodes cleanly before sharing it.
Famous Historical Cryptograms
Cryptography has shaped the course of history. During World War II, Allied codebreakers at Bletchley Park cracked the German Enigma machine cipher โ an achievement credited with shortening the war by up to two years. The Zodiac Killer sent cryptograms to newspapers in the 1960s-70s; one took 51 years to crack (solved in 2020). Edgar Allan Poe was so obsessed with ciphers that he challenged readers to stump him โ and featured one in his story "The Gold Bug."
Frequently Asked Questions
โ Is this a Cryptoquip solver?
Yes. A Cryptoquip is just a substitution-cipher cryptogram, so you can paste today's Cryptoquip straight into the tool and solve it the same way โ map cipher letters to real letters and watch the punny sentence decode as you type.
โ Does this work as a Cryptoquote solver too?
Yes. A Cryptoquote is a cryptogram made from a famous quotation, often with the author's name encoded as well. Paste the full encoded quote (and byline, if included) into the input and solve it letter by letter, same as any cryptogram.
โ What is the difference between a cryptogram and a code?
A cipher (like a cryptogram) operates on individual letters or groups of letters. A code substitutes whole words or phrases for code words or numbers. Cryptograms use ciphers โ specifically substitution ciphers where each letter maps to another letter.
โ Can I solve any cryptogram with frequency analysis?
Frequency analysis works well for long texts (100+ letters) where English letter frequencies are observable. Very short cryptograms (under 30 letters) may not have enough data for reliable frequency analysis, and you'll rely more on word-pattern recognition.
โ What if two cipher letters seem to map to the same plaintext letter?
In a substitution cipher, each cipher letter maps to exactly one plaintext letter and vice versa โ it's a one-to-one mapping. If your guesses create a conflict, one of your mappings is wrong. Revisit your frequency analysis.
โ Are the sample cryptograms the same each time?
Yes โ our four sample cryptograms are fixed classic examples so you can check your solutions against the revealed answers. For fresh challenges, copy cryptograms from puzzle books or newspapers and paste them in.
โ How do I create my own cryptogram puzzle?
Pick a short sentence, write a scrambled (or shifted) version of the alphabet as your key, then swap every letter in your message for its matched letter from the key. Keep spacing and punctuation unchanged. Test it in our solver first to make sure it decodes cleanly.