Ciphers · PolybiusPolybius square online 5×5

The Polybius square writes the alphabet into a grid, and each letter becomes its row and column number: h is 23, i is 24. The English square is 5 × 5 with I and J sharing a cell; the Russian one is 6 × 6. A keyword shuffles the square, and without it the ciphertext cannot be read.

Everything runs in your browser — the text goes nowhere

01Encode02Diagram03How it works04Questions05Related
01

Encode

a letter is its row and column
Alphabet
Keyword
Plain text
Result
English 5 × 5
23 15 31 31 34
The link will contain the text (up to 500 characters) and settings — share it with care.
02

Diagram

5 × 5 square
123451ABCDE2FGHI/JK3LMNOP4QRSTU5VWXYZ

Letters of your text are highlighted. Row — column.

03

How it works

Row and column

h = 23 · i = 24

The alphabet is written into the square row by row. The first digit is the row, the second the column.

A keyword

z e b r a c d …

The keyword's letters without repeats take the first cells and the rest follow. Without it the square cannot be rebuilt.

I and J together

25 cells, 26 letters

The English square is 5 × 5, so I and J share a cell. The Russian one is 6 × 6: 33 letters and 3 signs.

04

Frequently asked questions

The letters of the alphabet are written into the square row by row, and each letter of the text is replaced by two digits: its row and its column. Hello in the English 5 × 5 square is 23 15 31 31 34. To decode, find the cell where each pair of numbers crosses. The square on this page highlights the letters of your text.

Updated