No Login Data Private Local Save

Tap Code Encoder/Decoder – Online POW Communication Tool

17
0
0
0

Tap Code Encoder / Decoder

POW Communication Tool – 5×5 Grid Cipher

Characters: 0
Output will appear here...
Tap Code Grid

Hover over a cell to see its tap code

12345
1 A B C/K D E
2 F G H I J
3 L M N O P
4 Q R S T U
5 V W X Y Z
C/K shared = Row 1, Col 3
Tap: Row count → pause → Column count
e.g., "A" = 1 tap, pause, 1 tap

Frequently Asked Questions

Tap Code is a simple cipher system that encodes letters using a 5×5 grid. Each letter is represented by two numbers: the row and column of its position in the grid. It was famously used by American prisoners of war (POWs) during the Vietnam War to communicate secretly by tapping on walls or pipes. The code uses a series of taps — first the row number, then a pause, then the column number — making it an effective non-verbal communication method.
The standard Tap Code grid arranges the alphabet in a 5×5 table. Row 1 contains A, B, C/K, D, E. Row 2 has F, G, H, I, J. Row 3 contains L, M, N, O, P. Row 4 has Q, R, S, T, U. Row 5 contains V, W, X, Y, Z. To encode a letter, you find its row and column. For example, "A" is at (1,1) — 1 tap, pause, 1 tap. "Z" is at (5,5) — 5 taps, pause, 5 taps. The grid design is intentionally simple so it can be memorized easily.
The English alphabet has 26 letters, but a 5×5 grid only has 25 cells. To fit all letters, one pair must share a cell. In the standard POW Tap Code, C and K share position (1,3). When decoding, context determines whether the letter is C or K. For example, "QUICK" would be decoded with the shared cell interpreted as both C and K appropriately. Some variants merge I and J instead, but the C/K merge is the most widely recognized version used by POWs.
During the Vietnam War, American POWs used Tap Code to communicate between cells by tapping on walls, water pipes, or metal bars. The sender would tap the row number, pause briefly, then tap the column number. A longer pause separated letters, and an even longer pause separated words. The code required no special equipment — just a surface to tap on and the ability to count. It became a lifeline for isolated prisoners, allowing them to share names, ask for help, and maintain morale under harsh conditions.
Morse Code uses dots and dashes of varying lengths (short and long signals), while Tap Code uses only simple taps with pauses. Tap Code is generally easier to learn because every letter uses exactly two numbers (row and column), making it consistent and predictable. Morse Code requires distinguishing between short and long signals, which can be harder to perceive through walls. However, Morse Code is faster for common letters. Both were used in POW situations, but Tap Code's simplicity made it ideal for beginners and stressed conditions.
In physical tapping, spaces between words are indicated by a longer pause — typically twice as long as the pause between letters. In written Tap Code, word spaces are usually represented by extra spacing, a slash (/), or a double space between tap code pairs. When using this tool, the encoder preserves original spaces from your input text, making the output easy to read and interpret.
The standard Tap Code only covers the 26 letters of the alphabet (with C/K sharing). It does not natively support numbers or punctuation. In practice, POWs would spell out numbers as words (e.g., "THREE" instead of "3") and use letter combinations to convey punctuation or special meanings. Some extended versions add extra rows or use additional tap sequences for numbers, but these are non-standard variations.
While no longer widely used for its original military purpose, Tap Code remains popular in educational settings, escape rooms, puzzle games, and cryptography enthusiasts' circles. It's taught as part of cryptography history and is sometimes featured in movies and books about POW experiences. The code's elegant simplicity continues to fascinate people interested in secret communication methods. This online tool helps preserve and explore this historic cipher.
To send a Tap Code message: (1) Tap the row number with distinct, evenly-spaced knocks. (2) Pause briefly (about 0.5-1 second). (3) Tap the column number. (4) Pause longer between letters (about 1.5-2 seconds). (5) Pause even longer between words. For example, sending "HI": H = row 2 (tap-tap), pause, column 3 (tap-tap-tap). Then longer pause. I = row 2 (tap-tap), pause, column 4 (tap-tap-tap-tap). The receiver counts the taps before and after each pause to determine the letter.
Common mistakes include: miscounting taps (especially with higher numbers like 4 or 5), confusing the row and column order, forgetting that C and K share position (1,3), misinterpreting pauses between letters vs. words, and using non-standard grid arrangements. Always verify that each tap code pair has numbers between 1-5. If a decoded message looks garbled, check for off-by-one errors (e.g., tapping 3 times but the receiver counted 4). Practice and clear tapping rhythm help minimize errors.