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
- 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.
- Split the message into pairs of digits.
- Read the first digit as the row and the second as the column.
- 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.
| Coded | Plain | |
|---|---|---|
| 11 44 44 11 13 25 11 44 14 11 52 33 | Attack at dawn | |
| 32 15 15 44 11 44 33 34 34 33 | Meet at noon | |
| 35 34 31 54 12 24 45 43 | Polybius |