Cipher
Polybius Square Translator
The Polybius square turns every letter into two digits: its row and its column on a 5x5 grid. Type a message to see its coordinates, or paste digit pairs to read the letters back.
Result appears here
It is one of the oldest number ciphers, and its grid idea underpins later systems like tap code. Everything happens in your browser; nothing is uploaded.
How the Polybius Square works
The 25 letters (I and J share a cell, since 26 letters cannot fit a 5x5 grid) are arranged in a fixed grid, five rows of five. Each letter is replaced by its row number followed by its column number, both counted from 1.
To decode, read each pair of digits as a row and a column, then find the letter sitting at that position in the grid. The chart below shows every letter's coordinates at a glance.
Examples
Polybius Square chart
Every letter at a glance. Use it to read or write by hand.
History and origins
The Greek historian Polybius described the square around 150 BCE, originally as a way to signal letters over long distances using torches, one group for the row and one for the column. It is one of the earliest recorded methods for turning letters into numbers.
The same grid idea resurfaced two thousand years later in very different forms, from military tap codes to number-based signalling, because a 5x5 grid of coordinates is easy to memorise and easy to send through almost any two-state medium: taps, flashes or flags.
Frequently asked questions
What happens to the letter J in the Polybius square?
A 5x5 grid has 25 cells for 26 letters, so I and J share one cell. J is treated as I both when reading the chart and when the translator decodes coordinates.
Is the Polybius square the same as tap code?
They share the same 5x5 grid idea, but tap code (used by prisoners of war) merges C and K instead of I and J, and signals the coordinates as taps rather than written digits. Try the tap code translator to see the difference.
Is the Polybius square secure?
No, it is a simple substitution with no key, so anyone who knows the standard grid order can decode it instantly. It is best known today as a teaching tool and a building block for other ciphers and codes.
Learn more
Go deeper on the ideas behind this tool.