Cryptogram Generator
This cryptogram generator turns your phrase into a substitution puzzle with no letter standing for itself, gives away as many letters as you choose, and prints the puzzle and the answer key on separate pages.
Phrase and hints
0 of 1000 characters.
Hints go up to 10.
Type a phrase to build a puzzle.
Puzzle
Build a puzzle to print its key.
Why use our Cryptogram Generator?
No Letter Stands for Itself
Every puzzle key is a derangement, so a solver never sees A written as A. That single rule is what turns a substitution into a puzzle rather than a typing exercise.
Hints You Control
Decide how many letters to give away, from none to 10. The puzzle shows those letters and boxes the rest.
Two Prints, One Phrase
Print the puzzle for solvers and print the key on its own page. The answer sheet cannot end up on the back of the handout by accident.
What is a Cryptogram?
A cryptogram is a short piece of text in which each letter has been swapped for another letter of the alphabet, consistently across the whole message. The solver uses letter frequency, short words and repeated patterns to rebuild the original.
Newspaper cryptograms usually work on a quote, and the fun comes from the constraint: the same cipher letter always means the same plain letter. This page builds that kind of puzzle from any phrase you type, with a random key each time and an optional set of free letters.
What the Generator Includes
- Your phraseUp to 1000 characters, counted by code point and checked before any work starts. Letters A to Z are used and case is folded to uppercase.
- Random keyA full 26-letter alphabet where no letter maps to itself, drawn with the browser's cryptographic random source.
- Hint lettersFrom 0 to 10 letters filled in under every place they appear, chosen at random. The count never goes above the number of different letters in your phrase.
- Puzzle viewThe cipher letters sit in groups of 5, with a row of boxes under each group and the hint letters filled in. With no puzzle built, the print button gives an empty grid.
- Key pageThe plain alphabet above the cipher alphabet, the solution in groups, then your phrase as typed. It prints as its own page.
- CopyCopy the puzzle with its boxes as plain text.
- RebuildPress the button again for a new key on the same phrase.
Common Use Cases
Classroom handouts
One phrase, one puzzle, one key for the teacher's folder.
Party games
A quote from the birthday person, solved in teams.
Puzzle books
Build a set of puzzles and keep the keys in a separate file.
Escape rooms
A phrase that opens a lock once it is decoded.
Family nights
Everyone gets the same puzzle and a pencil.
Cipher practice
Teach frequency analysis on a puzzle built from a phrase the class knows.
How to Make a Cryptogram
Type the phrase
Letters only are used. The page lists any other characters it removed, such as digits and punctuation.
Choose hints
Set how many letters to reveal, or leave it at none for a hard puzzle.
Build
Press the button for a new random key. No letter will stand for itself.
Print or copy
Print the puzzle, then print the key on its own page, or copy the puzzle as text.
Benefits of This Cryptogram Maker
Guaranteed derangement
A key with a fixed point is rejected and drawn again, so the rule holds on every puzzle.
Key never leaks onto the puzzle page
The two prints are separate documents, and the puzzle page holds no letter you did not reveal.
Hints that scale
A first puzzle can give away six letters and a later one none.
Your own words
School worksheets use fixed quotes. Here the phrase can be about the lesson.
Runs in the browser
The conversion runs on this page, and the phrase you type is not sent to any server.
Tips for Better Cryptograms
- •Keep it short A phrase of eight to fifteen words solves in a sitting; a paragraph becomes work.
- •Avoid rare letters in hints Giving away Q or Z helps less than giving away E or T.
- •Use a known quote for beginners Familiar words fall faster than unfamiliar ones.
- •Number the puzzle If you print several, write a code on the puzzle and the same code on the key so the two can be matched later.
- •Check before printing Decode the puzzle once yourself with the key page before you hand it out.
Build a Cryptogram Now
Type a phrase above, set your hints, then print the puzzle and the key separately.
Want the cipher behind the puzzle? The keyword cipher builds a keyed alphabet from a word you choose, and the Caesar cipher shifts every letter by a number. The tap code translator turns letters into knocks instead of letters.
Related tools
Keyword Cipher
A keyword cipher that shows the mixed alphabet as you type, with no I and J merge and a decoder that uses the same keyword.
Caesar Cipher
Solve or write a shift cipher puzzle.
A1Z26 Cipher
Decode a letter number puzzle and see invalid numbers.
Atbash Cipher
Encode or decode an Atbash puzzle.
Frequently Asked Questions
Does the cryptogram come with an answer key?
Yes, and it prints separately. The key page shows the full cipher alphabet and the solved phrase, so it can be filed or folded away while the puzzle page is handed out.
Can I give students some of the letters? How many?
Yes. Set a hint count from 0 to 10 and that many letters appear in place on the puzzle. Six is a gentle setting for a first puzzle and zero suits a timed one.
What rule stops a letter from standing for itself?
The key alphabet is shuffled until it is a derangement, meaning no position keeps its own letter. A shuffle that leaves even one letter in place is discarded and drawn again, so every puzzle keeps the rule.
Are digits and punctuation kept?
The puzzle uses letters only. Digits and punctuation are dropped from the cipher text, and the page lists what it removed, so a phrase with a date loses that date rather than printing characters with no mapping.
Can the same puzzle be reused?
Not by pressing the button, which draws a new key each time. Print or copy the puzzle and the key first if you want to hand out the same one twice, and write the same number on both pages.