HELLO
23 15 31 31 34
Classic English Polybius Square. Each letter is replaced by its row and column coordinates.
Encode letters as row-column coordinates and decode coordinate pairs back into text with the Polybius Square cipher. Learn how classical coordinate substitution works using a simple grid-based system.
HELLO
23 15 31 31 34
Classic English Polybius Square. Each letter is replaced by its row and column coordinates.
23 15 31 31 34
HELLO
Coordinates 23, 15, 31, 31, and 34 decode to HELLO in the classical English Polybius Square.
SECRET
43 15 13 42 15 44
A keyword is not required. Every letter is converted directly into row-column coordinates.
52 15 31 13 34 42 15
WELCOME
Decode a longer sequence of coordinate pairs back into readable text.
The Polybius Square cipher replaces letters with coordinates taken from a grid. Each symbol is identified by its row and column position, turning readable text into a sequence of number pairs.
In the classical English version, the alphabet is arranged inside a 5×5 square. Because 26 letters do not fit into 25 cells, the letters I and J traditionally share one position.
Unlike transposition ciphers that rearrange letters, Polybius Square is a substitution cipher. Each character is replaced with coordinates while the order of the message remains unchanged.
A classical 5×5 Polybius Square for the English alphabet looks like this:
Using this square, the word HELLO becomes 23 15 31 31 34.
The Polybius Square was described by the ancient Greek historian Polybius and is one of the earliest known coordinate-based ciphers. It was designed to transmit letters using pairs of numbers.
Today it is mainly used for education, puzzles, escape rooms, and learning the foundations of classical cryptography. Many later cipher systems were influenced by the idea of representing letters as coordinates.
Unlike Caesar, which shifts letters, or Vigenere, which changes letters using a keyword, Polybius Square converts each character into coordinates. This makes it easier to transmit messages using numbers rather than letters.
The cipher is simple to learn but offers little real security because the coordinate patterns can be analyzed and reversed.
Classic letter-shift cipher with custom shift values.
Classic digraph substitution cipher with keyword matrix encryption.
Classical reciprocal cipher based on a keyword.
Vigenere-style classical cipher that uses a numeric key.
Keyword-based polyalphabetic encryption and decryption.
XOR-based Vernam encryption with Base64 output.