Toolstia / Tap code translator

Tap code translator

Tap code is a simple cipher that was used by prisoners to talk through walls. Each letter is sent as two groups of taps. Enter text to get the taps as numbers or dots, or paste tap code to read the message.

12345
1ABCDE
2FGHIJ
3LMNOP
4QRSTU
5VWXYZ

Tap code uses a 5 by 5 square of letters with K merged into C. Each letter is sent as the row number of taps, a pause, then the column number. In the output, letters are separated by a space (numbers) or a bar (dots), and words by a slash.

How it works

  1. Choose encode or decode.
  2. Enter the text or the tap code.
  3. Copy the result.

The square

Letters sit in a 5 by 5 square. The first group of taps is the row and the second group is the column, so H is 2 taps and then 3 taps.

No K

The square has 25 spaces for 26 letters, so K is written as C. The tool tells you when this happens.

Separators

In the output, letters are separated by a space (numbers) or a bar (dots), and words by a slash.

Decoding

Paste numbers such as 23 15 31 31 34, or dots such as .. ... | . ..... The tool works out which one you used.

Questions

Is my message uploaded?

Everything happens in your browser, and nothing you enter is sent anywhere.

Where does tap code come from?

It is related to the Polybius square, an ancient Greek idea, and became well known from its use by prisoners of war.

What happens to digits and punctuation?

They are skipped, because the code only has letters.