Make a transposition cipher
Green highlight

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

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

Step-by-step guide to make a transposition cipher

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

Transposition Cipher Solved Example for Encryption & Decryption in Cryptography Vidya Mahesh Huddar

What you need
Colored pencils or markers, eraser, paper, pencil, ruler

Step 1

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

Step 2

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

Step 3

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

Step 4

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

Step 5

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

Step 6

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

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.

Step 8

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

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.

Step 10

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

Step 11

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

Step 12

Share your finished cipher and a short note about how you made it 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

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.

Watch videos on how to make a transposition cipher

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

Cryptography: The Transposition Cipher

4 Videos

Facts about cryptography for kids

🔀 A transposition cipher doesn't change the letters — it just rearranges them, like shuffling a deck of letter-cards.

🧮 For 6 letters there are 720 possible orders (6!), so the number of rearrangements grows super fast as words get longer!

💻 Modern cryptography uses advanced math and computers, but paper-and-pencil ciphers are perfect for learning and secret notes with friends.

🏺 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.

🕵️‍♀️ Columnar transposition has been used in real spycraft and wartime messages — cracking it often starts by guessing the number of columns.

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.

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.

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.

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.
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

Make a transposition cipher. Activities for Kids.