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

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
Step by step
- 1
Step 1
Think of a short secret sentence and write it neatly on your paper using your pencil.
- 2
Step 2
Choose a secret key number between 2 and 6 and write "Key: [number]" at the top of the page.
- 3
Step 3
Use the ruler to draw a grid with that many columns and enough rows to fit your whole message.
- 4
Step 4
Write your message one letter per box going left to right across each row and skip spaces and punctuation.
- 5
Step 5
If the last row has empty boxes fill each empty box with the letter X so the grid is full.
- 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
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
Step 8
Give the ciphertext and the Key number to a friend and challenge them to decode it.
- 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
Step 10
Fill each column top to bottom with the ciphertext letters in order until the grid is full.
- 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
Step 12
Share your finished cipher and a short note about how you made it on DIY.org.
Fun facts
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.
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.