Secret Codes for Kids to Crack: 7 Easy Ciphers, With Answers
Seven real ciphers kids can learn in minutes. Crack the message, check the answer, annoy the grown-ups.

Few things make a kid feel more powerful than a message their parents can't read. Here are seven secret codes for kids to crack, easiest first. Every one has a message and a hidden answer, so no peeking, Agent.

1. Backwards writing
Write each word back to front. Your first code, perfect for ages 6 and up.
NEPO EHT EULB ROOD
Show the answer
OPEN THE BLUE DOOR
2. The number code
Every letter becomes its place in the alphabet. Put dashes between letters and a slash between words.
13-5-5-20 / 1-20 / 20-8-5 / 15-1-11 / 20-18-5-5
Show the answer
MEET AT THE OAK TREE
3. The Caesar shift
Named after Julius Caesar, who reportedly used it for military messages. Slide the alphabet along and swap letters. Tip: write the alphabet twice on a paper strip and slide it.
WKH FRRNLHV DUH LQ WKH SLDQR
Show the answer (shift of 3)
THE COOKIES ARE IN THE PIANO
4. Atbash: the mirror alphabet
A swaps with Z, B with Y. It's one of the oldest known ciphers, and the same rule codes and decodes.
ZTVMG LDO RH RM GSV ZGGRX
Show the answer
AGENT OWL IS IN THE ATTIC

5. Morse code
Dots and dashes. Kids can tap it, flash it with a flashlight or blink it across the dinner table.
... -. --- .-- / -.. .- -.--
Show the answer
SNOW DAY
6. The rail fence
To decode, split the code in two halves and weave them together: first letter from the top, first from the bottom, and so on.
HDEUDRHMT IDNNETEA
Show the answer
HIDDEN UNDER THE MAT
7. Pigpen: the tic-tac-toe code
Letters become shapes: two tic-tac-toe grids and two big X's, with a dot on the second of each. It looks like an alien language and drives grown-ups up the wall.

Which code for which age
- 6 to 7: backwards writing, then the number code with a printed alphabet.
- 8 to 9: the number code, then Caesar with a paper strip, then Morse.
- 10 to 12: Caesar, pigpen, rail fence.
- Teens: invent a cipher and try to break each other's.
Start one step easier than you think. A fast first win hooks them. Want a code wheel? Our free printable spy gadgets include one to cut out.
Crack it without the key
- Count letters. E is the most common, then T and A.
- One-letter words are almost always A or I.
- Three-letter words are often THE or AND.
Your turn. This is a Caesar shift, but we are not saying which. You can do it.
FDQ BRX NHHS D VHFUHW
Show the answer (shift of 3, like code 3)
CAN YOU KEEP A SECRET
Turn codes into an afternoon
- Code-chain treasure hunt: each cracked message points to the next. A different cipher at every stop.
- Lunchbox notes: one coded line a day.
- Make-your-own: inventing a code is harder than cracking one.
More ideas for break: our screen-free Christmas list for ages 8 to 12, or a daily cat logic puzzle on the free puzzles page.
Codes with a mystery attached
Yes, we publish this one: Spy Mystery Puzzle Book for Kids. Kids join a secret spy academy under the town library and solve 24 missions to find which of eight trainees pulled each prank. Every mission has three clues, from secret codes to laser mazes, and a hint on each. Ages 8 to 12.

Try one free first: Agent Owl Is Missing is a printable bonus mission.
Quick answers
What is the easiest secret code for kids?
Writing words backwards, or the number code where A is 1, B is 2 and so on. Both take a minute to learn and still look mysterious.
How do you crack a Caesar cipher without the key?
Try every shift from 1 to 25 on one short word until it turns into English. There are only 25 options, so a patient kid can always break it.


