How do you decode the Polybius square cipher?

A Polybius message is a string of digit pairs, and each pair is a row and a column of a 5 × 5 square of the alphabet. To decode it, split the digits into pairs and look each one up: 23 is row 2, column 3, which holds H. You don't need a key, only the right square. The usual one has the alphabet in order, with I and J sharing a cell, and that's the square this decoder uses.

Tool description

Paste the digits into the Cipher text box to see the letters in the Plain text box, always in capitals. The pairs can be run together a word at a time or written apart, and words already in letters, punctuation and line breaks stay put. Insert sample puts 431515 543445 1144 442315 35114225 1144 33343433 in the Cipher text box, and the Plain text box reads SEE YOU AT THE PARK AT NOON. There's no key to enter, so the Key field says Not needed. To reply in digits, press the swap button between the boxes, or open the Polybius Square Cipher Encoder. If the digits go past 5, the message may be A1Z26 numbers instead: pick the A1Z26 cipher in the Cipher menu.

Pairs together or apart

Written as Cipher text Plain text
A word's pairs together, spaces between words 441511 44243215 TEA TIME
A space between pairs, a slash between words 44 15 11 / 44 24 32 15 TEA TIME
A comma between pairs, a slash between words 44,15,11 / 44,24,32,15 TEA TIME
A hyphen between pairs, spaces between words 44-15-11 44-24-32-15 TEA TIME

When every pair stands on its own, put two spaces or a slash between words, and keep that style for the whole message.

Examples

Cipher text Plain text
233444 1334133411 HOT COCOA
12112515 11 352415 BAKE A PIE
553434 44422435 ZOO TRIP
3531113344 43343215 4315151443 PLANT SOME SEEDS
35453235252433 43344535 PUMPKIN SOUP

How to spot Polybius pairs

  • Only the digits 1 to 5 appear, never 0 or 6 to 9, and every word has an even number of them.
  • 15, 44 and 11 come up often, since they stand for E, T and A.
  • A1Z26 numbers can look alike, but they use 0 and 6 to 9 as well, and usually hyphens. When in doubt, the Cipher Identifier decodes the digits both ways and puts the likelier reading first.

When the result looks wrong

  • J always comes back as I, as they share a cell, so 2445241315 reads IUICE for juice.
  • A word with a digit missing or added can't be split into pairs, so it stays as digits: 441511 4424315 gives TEA 4424315.
  • With the pairs written apart, one broken pair makes the decoder read every space as a word gap: 44 15 11 / 44 24 3 15 comes out as T E A T I 3 E. Fix that pair, and the words join up again.
  • A number from the original message turns into letters too, when it's an even run of the digits 1 to 5: 22114415 15 reads GATE E. Other numbers, such as 2026, come through unchanged.
  • K where you'd expect J, and C where you'd expect K, mean the message used a square with C and K together, as the tap code does.
  • There's no error message for a broken pair, but its leftover digits in the Plain text box show you where to look.