HomeCiphers › Polybius Squares

Polybius Squares

Turn every letter into two numbers: which row, then which column. A message made of nothing but digits.

Rail Fence

Press Run it to start the machine.
0 / 0
Result

How it works

Write the alphabet into a five by five square. Because 26 letters will not fit in 25 cells, I and J share a cell — the rest of the word tells you which one is meant. Each letter becomes its row number followed by its column number, so WATERMELON starts 52 11 44.

  1. Find your letter in the square.
  2. Write the row number, then the column number.
  3. To decode, read the pairs and look them up.

The story

Greece, about 150 BC

Talking to the next hill with torches

Polybius, a Greek historian, wanted to send words across a valley. His answer: hold up torches in two groups. The first group counts out the row, the second counts out the column, and together they name a letter. Armies had been signalling “attack” or “retreat” with fires for centuries; Polybius worked out how to spell.

Crack these

Where do snowmen keep their money?
What did the big flower say to the little flower?
← Pigpen All the ciphers Lewis Carroll's Table →

Take it off the screen

Print this page and you get a worksheet: how the cipher works, where it came from, and the puzzles to crack, with the machine and the menus left off.

Print this page as a worksheet Try the challenges

Read more elsewhere

Longer, harder and written for grown-ups. Worth a look when this page runs out.

Polybius square