Ready to be a code-breaker? Here are 30 cipher puzzles with answers. Each section first explains how the cipher works – Atbash, the Caesar shift, the A1Z26 number code and the ancient Greek scytale – and then gives you secret messages to decode.
Grab a pencil and paper. Spaces between words are kept (except in the scytale section) to make things a little easier. Tap “Show answer” to check your work.
Atbash Cipher Puzzles
The Atbash cipher is one of the oldest ciphers in the world – it was first used with the Hebrew alphabet. You simply flip the alphabet: A ↔ Z, B ↔ Y, C ↔ X and so on. The nice thing about Atbash is that encoding and decoding are the same step.
1. Decode this Atbash message: HVXIVG XLWV
Show answer
SECRET CODE

2. Decode this Atbash message: NVVG ZG MLLM
Show answer
MEET AT NOON
3. Decode this Atbash message: KFAAOVH ZIV UFM
Show answer
PUZZLES ARE FUN
4. Decode this Atbash message: SRWWVM GIVZHFIV
Show answer
HIDDEN TREASURE
5. Decode this Atbash message: OLLP YVSRMW BLF
Show answer
LOOK BEHIND YOU
6. Decode this Atbash message: PMLDOVWTV RH KLDVI
Show answer
KNOWLEDGE IS POWER
7. Decode this Atbash message: GSV PVB RH FMWVI GSV NZG
Show answer
THE KEY IS UNDER THE MAT
8. Decode this Atbash message: XIZXP GSV XLWV
Show answer
CRACK THE CODE

Love secret codes? The pigpen (Freemason) cipher uses symbols instead of letters, and our brain teasers will keep your mind sharp between codes.
Caesar Cipher Puzzles (Shift 3)
The Caesar cipher is named after Julius Caesar, who used it to send army messages. Every letter moves a fixed number of places along the alphabet. With a shift of 3, A becomes D, B becomes E … and X, Y, Z wrap around to A, B, C. To decode, shift each letter back by 3.
9. Decode this Caesar cipher (shift 3): YHQL YLGL YLFL
Show answer
VENI VIDI VICI – Julius Caesar’s famous “I came, I saw, I conquered”.

10. Decode this Caesar cipher (shift 3): DWWDFN DW GDZQ
Show answer
ATTACK AT DAWN
11. Decode this Caesar cipher (shift 3): KDSSB ELUWKGDB
Show answer
HAPPY BIRTHDAY
12. Decode this Caesar cipher (shift 3): WKH HDJOH KDV ODQGHG
Show answer
THE EAGLE HAS LANDED
13. Decode this Caesar cipher (shift 3): VHH BRX WRPRUURZ
Show answer
SEE YOU TOMORROW
14. Decode this Caesar cipher (shift 3): EUDLQ WHDVHU
Show answer
BRAIN TEASER
15. Decode this Caesar cipher (shift 3): NHHS LW VHFUHW
Show answer
KEEP IT SECRET
16. Decode this Caesar cipher (shift 3): JRRG PRUQLQJ
Show answer
GOOD MORNING

Caesar Shift Puzzles (Other Shifts)
Same idea, different shifts. The shift is given for each message – count backwards along the alphabet to decode. Tip: write the alphabet twice in a row (A–Z A–Z) so you never lose your place.
17. Decode this Caesar cipher (shift 1): IFMMP XPSME
Show answer
HELLO WORLD
18. Decode this Caesar cipher (shift 5): TUJS XJXFRJ
Show answer
OPEN SESAME
19. Decode this Caesar cipher (shift 7): SBJRF UBTILY ZLCLU
Show answer
LUCKY NUMBER SEVEN
20. Decode this Caesar cipher (shift 10): DOX YED YP DOX
Show answer
TEN OUT OF TEN
21. Decode this Caesar cipher (shift 13): JUL QVQ GUR PUVPXRA PEBFF GUR EBNQ
Show answer
WHY DID THE CHICKEN CROSS THE ROAD – shift 13 is also called ROT13; using it twice gives back the original text.
22. Decode this Caesar cipher (shift 25): NMD RSDO AZBJ
Show answer
ONE STEP BACK – a shift of 25 is the same as shifting back by 1.
A1Z26 Number Code Puzzles
The A1Z26 cipher swaps each letter for its position in the alphabet: A = 1, B = 2 … Z = 26. Letters are joined with dashes and words are split with slashes.
23. Decode this A1Z26 number code: 16-21-26-26-12-5
Show answer
PUZZLE
24. Decode this A1Z26 number code: 18-9-4-4-12-5
Show answer
RIDDLE
25. Decode this A1Z26 number code: 19-13-9-12-5
Show answer
SMILE
26. Decode this A1Z26 number code: 7-5-14-9-21-19
Show answer
GENIUS
Scytale Cipher Puzzles
The scytale (say “SKIT-a-lee”) was used by Spartan soldiers in ancient Greece. A strip of leather was wound around a wooden rod, the message was written along the rod, and then the strip was unwound – leaving a jumble of letters. Only someone with a rod of the same thickness could read it.
On paper it works like this: write the message (without spaces) in rows of a set width, then read down the columns. To decode, split the ciphertext into that many equal columns and read across the rows. An X is added at the end if the message is too short to fill the last row.
27. Decode this scytale message. It was written in rows of 4 letters and read down the columns: WTADHEATNTACMIXTKIGX
Show answer
WE ATTACK AT MIDNIGHT (the Xs at the end are only filler)
28. Decode this scytale message. It was written in rows of 4 letters and read down the columns: TAOSNHSROGESDREPWIAX
Show answer
THE PASSWORD IS ORANGE (the X at the end is only filler)
29. Decode this scytale message. It was written in rows of 3 letters and read down the columns: SRNEUEEPTERRNRAAVSRDS
Show answer
SPARTA NEVER SURRENDERS
30. Decode this scytale message. It was written in rows of 5 letters and read down the columns: MEEREAOIETLDTTDGMHBE
Show answer
MEET ME AT THE OLD BRIDGE

How to Tell Which Cipher Was Used
- Only numbers from 1 to 26? Probably A1Z26.
- Same word lengths as normal English, but strange letters? A substitution cipher – try Atbash first, then Caesar shifts (ROT13 and shift 3 are the most common).
- The right letters for real words, just in the wrong order? A transposition cipher like the scytale or rail fence.
- Little shapes instead of letters? It’s probably the pigpen cipher – see our pigpen guide below.
More Codes and Puzzles
- Pigpen Cipher (Freemason’s Cipher) – Key and 20 Puzzles
- 100 Brain Teasers with Answers
- 20 Logic Puzzles with Answers
- 10 Hard Word Search Puzzles (Printable)
- 110+ Rebus Puzzles with Answers
- 50 Brain Teasers for Kids
- 25 Math Riddles with Answers
- Einstein’s Riddle & Zebra Puzzles
- 20 Mystery Puzzles with Answers
- Tap Code Translator & Polybius Square
- 50 Treasure Hunt Riddles (with Clue Cards)
- Cipher Decoder and Identifier (14 Ciphers)
Frequently Asked Questions
What is the Atbash cipher?
Atbash is a substitution cipher that reverses the alphabet: A becomes Z, B becomes Y, C becomes X, and so on. Encoding and decoding use the same rule.
How does a Caesar shift cipher work?
Each letter is moved a fixed number of places along the alphabet. With shift 3, A→D, B→E and Z wraps round to C. To decode, move each letter back by the same number.
What is a scytale cipher?
A scytale is an ancient Spartan tool: a strip of leather wrapped around a rod. The message is written along the rod, and when unwrapped the letters are scrambled. It’s a transposition cipher – the letters stay the same but change order.
What is ROT13?
ROT13 is a Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying ROT13 twice gives you back the original message.
Are cipher puzzles good for kids?
Yes – Atbash, Caesar and A1Z26 are easy to learn and great for classrooms, scavenger hunts and escape-room games.