Encrypt with a substitution cipher
Green highlight

Create and use a simple substitution cipher by mapping letters to symbols or other letters, then encrypt and decode secret messages to learn basic cryptography.

Orange shooting star
Download Guide
Collect Badge
Background blob
Challenge Image
Skill Badge
Table of contents

Step-by-step guide to encrypt with a substitution cipher

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

Cryptography 101 - Substitution Ciphers

What you need
Adult supervision required, coloring materials (markers crayons colored pencils), eraser, paper, pencil, ruler

Step 1

Gather your materials and find a flat place to work so your cipher will be neat and easy to read.

Step 2

Write the 26 letters A to Z in a straight line across the top of your paper using your pencil.

Step 3

Draw a second line under the first and prepare to write the secret codes that will match each letter.

Step 4

Choose a different symbol or different letter for each A to Z and write that symbol directly under its matching letter without repeating any code.

Step 5

Title your two lines "Cipher Key" and decorate the area so you can find your key quickly.

Step 6

Practice encoding by writing your name in plain letters and then writing its coded version below using your key.

Step 7

Write a short secret message of one or two sentences in plain English on a new line.

Step 8

Encrypt your secret message by replacing each plain letter with the matching symbol or letter from your cipher key and keep spaces and punctuation the same.

Step 9

Make a second short message and encrypt it to give to a friend or family member to decode.

Step 10

Give your friend only the encrypted message and one small hint (for example tell them which symbol is very common) so they can try to decode it.

Step 11

Count how many times each coded symbol appears in the message to help guess common letters like E and use those guesses to decode further.

Step 12

Show your cipher key so you and your friend can check the decoded message and celebrate your successful code-cracking.

Step 13

Share your finished creation on DIY.org

Final steps

You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!

Complete & Share
Challenge badge placeholder
Challenge badge

Help!?

What can we use if we don't have pencil or paper to write the A–Z and the second line for the Cipher Key?

If you don't have pencil and paper, use a marker on a whiteboard, crayon on cardboard, or chalk on the sidewalk and still write A–Z across the top with a second line beneath to make your Cipher Key.

My coded symbols look messy or I accidentally reused a symbol—how do I fix that before encrypting my name or messages?

If symbols get messy or a code repeats, redraw the two straight lines with a ruler, number each letter-column, and carefully check the 'choose a different symbol' step to replace duplicates before encoding your name or messages.

How can I adapt the activity for younger children or make it more challenging for older kids?

For younger kids, limit the alphabet to about 10 letters and use stickers or pictures as codes while they practice encoding their name, and for older kids require all 26 distinct symbols or numbers and have them use frequency counting from 'Count how many times each coded symbol appears' to help decode messages.

What are some fun ways to extend or personalize the substitution cipher activity after making the Cipher Key?

Turn your decorated 'Cipher Key' into a reusable decoder wheel by attaching two paper circles with a split-pin, create themed symbol sets like animals or emojis, or build a puzzle hunt where friends must decode multiple encrypted clues you give them.

Watch videos on how to encrypt with a substitution cipher

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

Substitution Cipher using a Keyword

4 Videos

Facts about basic cryptography

✉️ You can make ciphers with letters, symbols, or even emoji and use them to send secret notes to friends.

🔎 Frequency analysis (like spotting that 'E' is the most common letter) can help crack many simple substitution codes.

🔁 The Caesar cipher is a type of substitution cipher that shifts letters; Julius Caesar reportedly used a shift of 3.

🔢 There are 26! (about 4 × 10^26) possible keys for a full-letter substitution cipher — that's an enormous number!

🕵️‍♂️ Substitution ciphers swap each letter for another letter or symbol — spies and kids both love them!

How do you create and use a simple substitution cipher with a child?

Start by making a cipher key: write the alphabet and map each letter to a symbol, another letter, or an emoji. Show your child how to encode a short message by replacing each letter with its mapped symbol. Swap keys and decode each other’s messages, starting with simple words and adding clues. Gradually introduce rules like preserving spaces and punctuation. Keep sessions short and playful, using secret notes or a treasure-hunt format to practice.

What materials do I need for a substitution cipher activity?

You only need basic supplies: paper and pencils or pens, markers for drawing symbols, and a printed or hand-drawn alphabet chart for the cipher key. Optional extras include stickers or emoji sheets, printable cipher templates, a ruler to make grids, and a clipboard for writing. A tablet or phone can run simple cipher apps, but hands-on materials help younger kids learn letter-symbol mapping and improve handwriting and focus.

What ages is a substitution cipher activity suitable for?

This activity is flexible: ages 5–7 can try very simple symbol swaps with adult help, focusing on a few letters at a time. Ages 8–12 can independently create full alphabet substitution ciphers and decode short messages. Teens can explore more advanced techniques like Caesar shifts, frequency analysis, or creating multi-step ciphers. Always adapt complexity to reading level and attention span, and provide adult guidance for younger children.

What are the benefits and fun variations of doing substitution ciphers with kids?

Substitution ciphers build pattern recognition, spelling, vocabulary, logic, and perseverance. They encourage creativity when designing symbol sets and improve fine motor skills while writing. Try variations like Caesar shifts, pigpen cipher, emoji substitutions, timed decoding challenges, or integrating ciphers into scavenger hunts. For safety, remind kids not to encode or share personal or sensitive information, and supervise online tools. Make it social by exchanging encoded notes or creating
DIY Yeti Character
Join Frame
Flying Text Box

One subscription, many ways to play and learn.

Try for free

Only $6.99 after trial. No credit card required

Encrypt with a substitution cipher. Activities for Kids.