Caesar Cipher Decoder

Polybius square decoder

Decoded message

The square: row number first, then column number

I and J share one cell, so a 25-cell square holds the whole alphabet. A keyword fills the square first, then the unused letters follow in order.

What is a Polybius square decoder

A Polybius square decoder turns pairs of digits back into letters. The square is a 5×5 grid of the alphabet, and every letter gets two numbers: its row, then its column. H sits in row 2, column 3, so H is 23.

The Greek historian Polybius described the grid in the 2nd century BC as a way to signal with torches. The same idea lives on in the tap code, where prisoners knocked row and column numbers through walls.

Since only the digits 1 to 5 appear, a Polybius message is easy to send by light, sound or knocks.

Pick a letter and play its knocks

How to decode a Polybius square by hand

  1. Draw the 5×5 grid, A to Z, with I and J in one cell. If the sender used a keyword, fill the keyword first.
  2. Split the message into pairs of digits.
  3. Read the first digit as the row and the second as the column.
  4. Write down the letter in that cell.

The player decodes 23 15 31 31 34.

Polybius square examples

All three use the plain square with no keyword. Tap Try to load one into the decoder above.

CodedPlain
11 44 44 11 13 25 11 44 14 11 52 33Attack at dawn
32 15 15 44 11 44 33 34 34 33Meet at noon
35 34 31 54 12 24 45 43Polybius