Make a transposition cipher

Make a simple transposition cipher using paper and pencil, scramble messages by rearranging letters, and decode secret notes with friends.

Cryptography10 min5 materials
Get instructionsMore activities
Make a transposition cipher
Make a transposition cipher
10 minHands-on fun
12 steps โ†’

About this activity

Make a simple transposition cipher using paper and pencil, scramble messages by rearranging letters, and decode secret notes with friends.

What you need

๐Ÿ“„Paperโœ๏ธPencil๐Ÿ“Ruler๐ŸงฝEraser๐Ÿ–๏ธColored pencils or markers

Step by step

  1. 1

    Step 1

    Think of a short secret sentence and write it neatly on your paper using your pencil.

  2. 2

    Step 2

    Choose a secret key number between 2 and 6 and write "Key: [number]" at the top of the page.

  3. 3

    Step 3

    Use the ruler to draw a grid with that many columns and enough rows to fit your whole message.

  4. 4

    Step 4

    Write your message one letter per box going left to right across each row and skip spaces and punctuation.

  5. 5

    Step 5

    If the last row has empty boxes fill each empty box with the letter X so the grid is full.

  6. 6

    Step 6

    Make the scrambled message by reading each column top to bottom and writing those letters in order on a new line.

  7. 7

    Step 7

    Write the ciphertext clearly on a fresh paper and mark the same Key number at the top so your friend knows the key.

  8. 8

    Step 8

    Give the ciphertext and the Key number to a friend and challenge them to decode it.

  9. 9

    Step 9

    To decode, draw a new grid with the same number of columns as the key and the same number of rows as needed for the ciphertext.

  10. 10

    Step 10

    Fill each column top to bottom with the ciphertext letters in order until the grid is full.

  11. 11

    Step 11

    Read the letters left to right across the rows to reveal the original message and remove any Xs used for padding.

  12. 12

    Step 12

    Share your finished cipher and a short note about how you made it on DIY.org.

Fun facts

๐Ÿ”€A transposition cipher doesn't change the letters โ€” it just rearranges them, like shuffling a deck of letter-cards.
๐ŸบThe scytale was an ancient Spartan tool: wrap a strip of parchment around a rod and the message reads only when wrapped the same way.
๐ŸงฎFor 6 letters there are 720 possible orders (6!), so the number of rearrangements grows super fast as words get longer!
๐Ÿ•ต๏ธโ€โ™€๏ธColumnar transposition has been used in real spycraft and wartime messages โ€” cracking it often starts by guessing the number of columns.
๐Ÿ’ปModern cryptography uses advanced math and computers, but paper-and-pencil ciphers are perfect for learning and secret notes with friends.
๐Ÿ”€A transposition cipher doesn't change the letters โ€” it just rearranges them, like shuffling a deck of letter-cards.
๐ŸบThe scytale was an ancient Spartan tool: wrap a strip of parchment around a rod and the message reads only when wrapped the same way.
๐ŸงฎFor 6 letters there are 720 possible orders (6!), so the number of rearrangements grows super fast as words get longer!
๐Ÿ•ต๏ธโ€โ™€๏ธColumnar transposition has been used in real spycraft and wartime messages โ€” cracking it often starts by guessing the number of columns.
๐Ÿ’ปModern cryptography uses advanced math and computers, but paper-and-pencil ciphers are perfect for learning and secret notes with friends.

How do you create a simple transposition cipher with paper and pencil?

Choose a key number (for example, 4 columns). Write your message left to right across rows under those column positions, padding with X or another filler if the last row is short. To encrypt, read down each column in order and write the columns together as the ciphertext. To decode, recreate the same column grid, fill columns top to bottom using the ciphertext, then read row by row to recover the original message.

Go deeper

What materials do I need to make a paper-and-pencil transposition cipher?

You need plain paper and a pencil or pen, plus an eraser. A ruler helps draw neat columns and rows; graph paper makes grids simpler. Optional supplies: index cards or small slips for secret notes, envelopes, stickers for decorating, and a small key card showing column order. No electronics are necessary, and scissors are optional if you want to cut notes into cards for passing around.

Go deeper

What ages is this transposition cipher activity suitable for?

This activity suits children about 7โ€“12 years old. Younger kids (around 7โ€“9) can try simple 2โ€“4 column grids with supervision to help count and pad messages. Older children (10โ€“12+) can handle longer keys, keyword column orders, and independent decoding. Adapt complexity for reading and fine motor skills; adults should supervise early attempts and when introducing new rules or variations.

Go deeper

What are the benefits and safe variations for this cipher activity?

Benefits include improved sequencing, logical thinking, spelling practice, and teamwork during decoding games. Variations: use a keyword for column order, try a railโ€‘fence (zigzag) pattern, or add a basic substitution step for challenge. Safety tip: avoid encoding personal information (addresses, phone numbers). Keep the game social by sharing hints and solving together to make it fun and educational.

Go deeper

Watch & Learn

Need help?

What can we use instead of the ruler or pencil if we don't have them?

If you don't have a ruler or pencil, use the straight edge of a book or a piece of cardboard as your ruler and a pen or marker to write your secret sentence and 'Key: [number]' on the paper.

Why won't my friend be able to decode the message and how can I fix it?

If your friend can't decode it, check that you both used the same 'Key: [number]', that you drew the grid with the correct number of columns and rows (rows = ceiling(ciphertext length รท key)), and that you padded empty boxes with Xs before creating the scrambled message.

How can I adapt this activity for younger or older children?

For younger kids use a very short secret sentence, Key 2 or 3, and large boxes or letter stickers for each box, while older kids can use longer sentences and Keys 5โ€“6 and time themselves to encode and decode multiple messages.

How can we make the cipher more creative or challenging after finishing the basic version?

To personalize or increase difficulty, color-code columns with markers before reading columns top-to-bottom, or perform a second transposition by writing the ciphertext into a new grid with a new Key and repeating the same steps.

Your first game is on us.

Describe a game below - no sign-up needed to try.

Make me

Kids GPT is now ChatDino

Kid-safe AI for discovery and learning.

Open ChatDino

Powered by AstroSafe

3,127Devs Online
1,284Games Made
1,415,800Total Plays

Make real games - not just chat

DIY.org

Kid-safe AI for discovery and learning. Ask anything, explore everything, learn with confidence.

Product

  • Pricing
  • App
  • All Apps

Resources

  • Blog
  • Kids Wikipedia
  • Worksheets
  • Activities for Kids
  • Build a Hacker Simulator
  • SafeTube

Company

  • About
  • Terms & Conditions
  • Privacy Policy
  • AstroSafe
TwitterInstagramYouTube

ยฉ 2026 DIY.org. All rights reserved. ยท Powered by AstroSafe