Tap Code Encoder Decoder – Tap Out Your Message

What the tap code is

The tap code is a way to send letters by tapping. It uses the same 5 by 5 Polybius square as the number cipher: 25 squares, with I and J sharing one. Each letter is two groups of taps: first the row, then the column. H sits in row 2, column 3, so H is two taps, a pause, then three taps.

Prisoners of war in Vietnam made the code famous. They tapped on cell walls to talk to each other when guards could hear speech but not quiet tapping. The code spread through the camps because it is easy to learn and needs nothing but a wall.

How to use the encoder

Type your message in the box and press Encode, or just keep typing and the tool encodes as you go. Each letter becomes a group like 2-3, and spaces become slashes. Type J and it encodes as I, because the two letters share square 2-4.

To decode, paste tap groups like 2-3 1-5 3-1 3-1 3-4 into the same box and press Decode. The tool reads each group as a row and a column and writes the letter back. A group with a number outside 1 to 5 becomes a question mark.

Worked example

Encode HELLO. H is row 2, column 3, so 2-3. E is row 1, column 5, so 1-5. L is row 3, column 1, so 3-1, and it appears twice. O is row 3, column 4, so 3-4. The full code is 2-3 1-5 3-1 3-1 3-4.

Decode it back: 2-3 is row 2, column 3, which is H. 1-5 is E, 3-1 is L, again L, and 3-4 is O. The message reads HELLO again. Another check: CAT encodes as 1-3 1-1 4-4, and Z alone is 5-5.

Who uses the tap code

History students use it to study how prisoners communicated in Vietnam, and teachers use it to show how a simple grid can carry a whole conversation. Puzzle makers hide tap codes in escape rooms and mystery games, where players tap the answer on a table.

Scouts and youth groups use it as a camp game, tapping messages between tents at night. It is also a good way to practise the Polybius square, because the tapping forces you to remember the grid instead of reading it.

Honest limitations

The tap code is slow. Each letter takes two groups of taps plus pauses, so a short sentence takes a minute or more to send. A listener who misses one tap reads the wrong letter, and there is no way to correct it except to start the word again.

It is also not secret. Anyone who knows the standard square can read the message, and the tapping itself gives away that a message is being sent. It only handles the basic Latin alphabet, and I and J are the same letter in the code.

Frequently asked questions

How do I tap a letter? Tap the row number, pause, then tap the column number. For H, tap twice, pause, then tap three times. Pause longer between letters than between the two groups of one letter.

Why do I and J share a square? The grid has 25 squares but the alphabet has 26 letters, so one square must hold two letters. I and J were treated as the same letter in Latin, so they share square 2-4.

How do I show a space? This tool writes a slash for each space. When tapping, leave a longer pause between words than between letters.

Is the tap code the same as the Polybius square? Yes, it is the same grid. The Polybius cipher writes the row and column as numbers, and the tap code taps them out. Our Polybius encoder tool does the written version.

También disponible en español: Codificador De Código Tap – Golpea Tu Mensaje

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top