Report Tool or Give Us Suggestions

Tap Code

Convert text to rhythmic Tap Code signals and decode them back using a customizable 5x5 Polybius grid.

L ading . . .

What is Tap Code?

The Tap Code (sometimes called the knock code) is a simple way of encoding text messages letter-by-letter into a series of tap sounds. It is historically famous for being used by prisoners of war (POWs) to communicate secretly through cell walls or piping, most notably during the Vietnam War.

How Tap Code Works

Tap Code is built on a 5x5 grid called a Polybius Square. Since there are 26 letters in the basic English alphabet and only 25 cells in a 5x5 grid, the letters C and K are combined and represented by the exact same coordinate (usually 1,3).

To transmit a letter, the sender taps two distinct sets of numbers:

  1. First Group (Row): The number of rapid taps represents the row containing the letter.
  2. Second Group (Column): After a brief pause, the number of rapid taps represents the column.

Example Grid (Polybius Square):

  1 2 3 4 5
1 A B C D E  (C and K are combined)
2 F G H I J
3 L M N O P
4 Q R S T U
5 V W X Y Z

To send the letter T (Row 4, Column 4), you would knock 4 times, pause, and then knock 4 times: •••• ••••.

Key Features of Our Tap Code Tool

  • Bidirectional Translation: Instantly convert plain text into Tap Code, or decode Tap Code sequences back into letters.
  • Rhythmic Playback Simulator: Play back the tap sequences visually and audibly using built-in high-quality sound synthesis.
  • Customizable Symbols: Choose between dots (.), asterisks (*), or bullets () to represent taps.
  • Dynamic Cell Highlights: Watch the 5x5 grid highlight coordinates dynamically during playback or typing.

Frequently Asked Questions

How do you represent the letter 'K' in Tap Code?

In standard Tap Code, the letter 'K' is replaced by 'C'. Therefore, both C and K are transmitted as Row 1, Column 3 (• •••).

How are words separated in Tap Code?

Slightly longer pauses are used to separate words during transmission. In written format, this is typically represented by a slash (/), double spaces, or a newline.

Can Tap Code be used for numbers or punctuation?

Standard Tap Code only supports the 26 letters of the English alphabet. Punctuation and numbers are typically omitted or spelled out as words (e.g., "STOP" or "THREE") to ensure clear transmission.

logo OnlineMiniTools

OnlineMiniTools.com is your ultimate destination for a wide range of web-based tools, all available for free.

Feel free to reach out with any suggestions or improvements for any tool at admin@onlineminitools.com. We value your feedback and are continuously striving to enhance the tool's functionality.

© 2026 OnlineMiniTools . All rights reserved.

Hosted on Hostinger

v1.10.0