Skip to the content
Peabody Teach

Share

This page

Peabody is free and has no ads. Sharing it is the best way to help.

Logic puzzles: cipher codes

Simple ciphers to make and break, in three tiers with a key, for grades 4 to 6. For children who want more of a challenge.

Grades 4 to 6 · 20 minutes · worksheet

What is a cipher?

Name ______________ Date ____________

A cipher is a way to hide a message. You change each letter by a rule. The rule is the key. Anyone with the key can read the message. The number code below gives each letter its place in the alphabet.

LetterNumberLetterNumberLetterNumber
A1J10S19
B2K11T20
C3L12U21
D4M13V22
E5N14W23
F6O15X24
G7P16Y25
H8Q17Z26
I9R18

Ciphers: Warm-up

Warm-up: number codes and shifts

  1. Use the number code (A is 1, B is 2 and so on). What word is 3 1 20?
  2. Use the number code. What word is 4 15 7?
  3. Use the number code. Which word is 8 5 1 4?a) HEALb) HEADc) HERD
  4. In the number code, the word BED has the numbers 2, 5 and 4. What do they add up to?
  5. In a shift-1 code, each real letter moves one step forward, so A becomes B. The coded word is NBQ. What is the real word?
  6. True or false: in a shift-1 code, the alphabet wraps around, so Z becomes A.TrueFalse

Ciphers: Stretch

A shift-3 code moves each letter three steps forward, so A becomes D. The key is below. To decode, go back three steps.

RealCodeRealCodeRealCode
ADJMSV
BEKNTW
CFLOUX
DGMPVY
EHNQWZ
FIORXA
GJPSYB
HKQTZC
ILRU

Stretch: decode and encode

  1. Decode this shift-3 word: VNB.
  2. Use the key. Write the word BOX in shift-3 code.
  3. Decode this shift-3 word: SODQHW.
  4. A backward code writes the letters in reverse order. What is the real word for GNIRPS?
  5. A swap code swaps each pair of letters: the first with the second, the third with the fourth, and so on. What is the real word for UPZZEL?
  6. Which one is the word LAMP in shift-3 code?a) IXJMb) MBNQc) ODPS
  7. In shift-3 code, the coded letter C stands for which real letter? The alphabet wraps around.

Ciphers: Reach

A mirror code swaps A with Z, B with Y, C with X and so on, so the alphabet is flipped. A shift code can use any number of steps.

Reach: find the rule

  1. In a mirror code, the word LIGHT is written ORTSG. What real word is the mirror code NLLM?
  2. The real word CAT becomes ECV in a shift code. How many steps forward is the shift?
  3. A shift code turns a real word into KHOOR. The first real letter is H. What is the real word?
  4. A word is coded with a shift of 2 and then coded again with a shift of 3. What single shift gives the same result?
  5. Shifting 26 steps gives back the same message. A message is shifted 29 steps. What shift from 1 to 25 steps gives the same result?
  6. True or false: a message in a shift code can always be broken by trying all 25 shifts.TrueFalse

Made with Peabody Teach, free printables for teachers: teach.peabody.kids. No sign-in, no ads.

Teacher copy with the answer key

Last checked 2026-11-15. Every answer in it was worked out a second time without the key. Something wrong? Tell us.