Kids & Education

10 Secret Codes for Kids Using Numbers

AlphaCoder Team|May 24, 2026|8 min read

Secret codes have fascinated children for centuries. From spy movies to treasure hunts, the idea of sending hidden messages sparks creativity and makes learning fun. Number-based codes are especially great for kids because they combine alphabet skills with basic math, reinforcing both literacy and numeracy at the same time.

Here are ten secret code systems that children can learn and start using today, arranged from simplest to most challenging. Each code includes an example message to practice with.

1. The Number Alphabet Code (A1Z26)

The simplest and most popular number code. Each letter equals its position in the alphabet: A=1, B=2, C=3, all the way to Z=26. Write numbers separated by dashes or spaces.

Example: 19-5-3-18-5-20 = SECRET

Age range: 6+ (any child who knows the alphabet)

Learning benefit: Reinforces alphabet order and counting skills

Try the A1Z26 converter to practice encoding and decoding messages instantly.

2. The Reverse Alphabet Code

Flip the alphabet: A=26, B=25, C=24, down to Z=1. This adds a twist that makes messages harder to crack than the standard number code.

Example: 8-22-13 = SPY (S=8, P=11... wait, let us work it out: S is the 19th letter, so 26-19+1 = 8. P is 16th, 26-16+1=11. Y is 25th, 26-25+1=2. So 8-11-2 = SPY)

Age range: 8+ (requires subtraction)

Learning benefit: Strengthens subtraction and reverse thinking

3. The Skip Code

Instead of A=1, start with A=2 and add 2 each time: A=2, B=4, C=6, D=8, and so on. Any skip number works. With skip-3: A=3, B=6, C=9.

Example (skip-2): 10-18-14 = EIG... actually: E=10, I=18, but let us correct: A=2, B=4, C=6, D=8, E=10. So 10-18-14 = E-I-G? No, I=18, G=14. So the message 10-18-14 = EIG.

Better example (skip-2): 6-2-20 = CAT (C=6, A=2, T=40? That is too high. Hmm.) Let us simplify: C is the 3rd letter, times 2 = 6. A is 1st, times 2 = 2. T is 20th, times 2 = 40. So the encoded message is 6-2-40 = CAT.

Age range: 7+ (multiplication by small numbers)

Learning benefit: Multiplication tables practice

4. The Caesar Shift Code

Shift every letter forward by a chosen number. With a shift of 3: A becomes D, B becomes E, C becomes F. Named after Julius Caesar who used it in military messages over 2,000 years ago.

Example (shift 3): KHOOR ZRUOG = HELLO WORLD

Age range: 8+ (requires alphabet manipulation)

Learning benefit: Pattern recognition and modular arithmetic foundations

Practice with our Caesar Cipher tool using any shift value.

5. The Phone Keypad Code (T9)

Use the number pad layout from old mobile phones: 2=ABC, 3=DEF, 4=GHI, 5=JKL, 6=MNO, 7=PQRS, 8=TUV, 9=WXYZ. Press the number multiple times for different letters: A=2, B=22, C=222.

Example: 2-666-3-33 = CODE (C=222? Actually C=2 pressed three times. In simplified T9: C=2, O=6, D=3, E=3. We need to disambiguate.) The full T9 encoding: 222-666-33-33 = CODE.

Age range: 9+ (multiple digits per letter)

Learning benefit: Introduces encoding ambiguity and digital literacy history

6. The Morse Number Code

Replace Morse code dots and dashes with numbers: dot = 1, dash = 2. So A (dot-dash) = 12, B (dash-dot-dot-dot) = 2111.

Example: 12 / 2111 / 2121 = A B C

Age range: 9+ (requires learning Morse patterns)

Learning benefit: Pattern memorization and binary thinking foundations

Learn the full Morse alphabet with our Morse Code Translator.

7. The Coordinate Code

Arrange the alphabet in a 5x5 grid (combining I and J). Each letter has two coordinates: row number and column number. A=11, B=12, C=13, D=14, E=15, F=21, and so on.

12345
1ABCDE
2FGHI/JK
3LMNOP
4QRSTU
5VWXYZ

Example: 23-24 = HI (H=23, I=24)

Age range: 8+ (grid reading skills)

Learning benefit: Coordinate systems and spatial reasoning

8. The Binary Code

Write each letter's position in binary (base 2). A=1=00001, B=2=00010, C=3=00011. Use five digits (bits) for each letter.

Example: 01000 01001 = HI (H=8=01000, I=9=01001)

Age range: 10+ (requires understanding base-2)

Learning benefit: Introduction to computer science and how computers store text

9. The Addition Pairs Code

Replace each letter with two numbers that add up to its position. A=1 could be written as 0+1, or 1+0. M=13 could be 6+7, or 4+9, or 10+3. Choosing different pairs each time makes the code harder to crack.

Example: (3+5)(2+3)(6+6)(6+6)(8+7) = HELLO

Age range: 8+ (addition practice)

Learning benefit: Addition facts and number decomposition

10. The Date Code

Assign each letter a fake date: A = January 1, B = January 2, continuing through the month. After January 26 (Z), you can restart or use February. The coded message looks like a list of dates.

Example: Jan 8, Jan 5, Jan 12, Jan 12, Jan 15 = HELLO

Age range: 7+ (calendar knowledge)

Learning benefit: Calendar skills and creative disguise techniques

Tips for Parents and Teachers

  • Start simple: Begin with the basic A1Z26 code. Once kids master it, gradually introduce more complex systems.
  • Make it a game: Write coded treasure hunt clues that lead to a prize. Kids will decode enthusiastically when there is a reward.
  • Create a secret code notebook: Give each child a small notebook to write their own coded messages and reference charts.
  • Pair up buddies: Code-breaking is more fun with a partner. One child encodes, the other decodes.
  • Use real spy stories: Share age-appropriate stories about codes in history (Caesar, Enigma) to add excitement and context.
  • Practice regularly: A "code of the week" program keeps skills sharp and introduces new systems gradually.

Practice online: Let kids try our A1Z26 Converter to check their handwritten code work. It is free, requires no sign-up, and runs right in the browser.

Frequently Asked Questions

Which code should my child start with?

Start with the A1Z26 number alphabet code (Code #1 above). It is the simplest, requires only alphabet knowledge and counting, and provides the foundation for understanding all other cipher systems. Most children age 6-7 can start using it immediately.

Are these codes actually secure?

These codes are designed for fun and education, not security. Any adult who recognizes the pattern can decode them quickly. For children's play purposes, they provide just enough secrecy to make message-passing exciting without being truly unbreakable.

Can kids create their own codes?

Absolutely, and they should be encouraged to do so. Creating custom codes exercises creativity and deeper understanding of encoding principles. A child might assign random numbers to letters, use a personal keyword, or combine two systems. The process of inventing a code teaches more than using a pre-made one.

How do these codes relate to computer science?

Every digital device uses encoding to convert human-readable text into numbers that computers can process. The A1Z26 system is a simplified version of what computers do with ASCII and Unicode. Binary code (#8 above) directly mirrors how computers store text. Learning these codes gives children an intuitive understanding of digital encoding.

Related Articles