CipherWiz

Tap Code Translator

Translate text to tap code and back, as dots or numbers. The 5×5 knock code grid used by prisoners of war, with K tapped as C. Free, runs in your browser.

How it works

The tap code puts 25 letters in a 5×5 grid: A B C D E in the first row, F G H I J in the second, L M N O P in the third, Q R S T U in the fourth and V W X Y Z in the fifth. K is left out and tapped as C. Each letter is sent as two groups of taps: first the row, then the column, with a short pause between them and a longer pause between letters. So B, in row 1 and column 2, is one tap, a pause, then two taps. In dot form, a dot is one tap, a space separates the row and the column, two spaces separate letters and a slash separates words. In number form, each letter is two digits, row then column, such as 12 for B. To decode, paste either form; the translator reads pairs of tap groups or pairs of digits.

Example: WATER is 52 11 44 15 42 in numbers, and HI is .. ... .. .... in dots.

Tap code grid

Row number first, then column. C and K share a cell.

12345
1ABC/KDE
2FGHIJ
3LMNOP
4QRSTU
5VWXYZ

Words in tap code

WordNumbersTaps
SOS43 34 43.... ... ... .... .... ...
HELLO23 15 31 31 34.. ... . ..... ... . ... . ... ....
WATER52 11 44 15 42..... .. . . .... .... . ..... .... ..
GN22 33.. .. ... ...

Frequently asked questions

Why is there no K in the tap code?

The grid has 25 cells for 26 letters. K is the letter dropped, and it is tapped as C. Readers understand the word from the context.

Who used the tap code?

American prisoners of war in Vietnam used it to talk through cell walls. It is based on the Polybius square and was described in Arthur Koestler's novel Darkness at Noon.

How do I tap a message?

For each letter, tap the row number, pause briefly, then tap the column number, and pause longer before the next letter. Common words are often shortened, for example GN for good night.

Is the tap code the same as the Polybius square?

It uses the same idea of rows and columns, but the Polybius square drops J instead of K and is usually written as digits. See the Polybius square page.

Is the tap code the same as Morse code?

No. Morse code uses short and long signals for each letter. The tap code only uses counts of equal taps, which is easier to send by knocking.

Is my text sent to a server?

No. Everything runs in your browser and the text you type is not sent anywhere.

More text tools

The common tap code grid without K is used.