5×5 Polybius Knock Cipher

Tap Code Translator: Encode, Decode & Knock Audio

Convert messages to and from historic Tap Code (prison knock code) in real time. Hear authentic wall-knock audio, click any cell on the 5×5 grid, and switch between classic C/K or Polybius I/J tables.

HELLO2-3 1-5 3-1 3-1 3-4Row taps · pause · Column taps
5×5Polybius grid
C/K & I/J2 grid modes
KnockWeb Audio sound
2-Wayencode & decode
5×5 Polybius Knock Cipher · Live Audio

Tap Code Translator & Knock Sound Player

Convert English text into classic 5×5 Prison Tap Code (or decode dots & number pairs back to text) with real percussive knock audio.

Ready
Interactive 5×5 Tap Code Grid (Click any letter to knock & append)
How it works

Tap Code vs. Morse Code: Why Prisoners Used 5×5 Knocks

Why Morse Fails on Solid Walls

Morse code depends on holding a sustained dash (3× a dot). On brick walls, wooden doors, or water pipes, every tap sounds identical—making dashes impossible to hold.

Row-Then-Column Pairs

Tap Code solves this using only identical short knocks: tap the row (1–5), pause briefly, then tap the column (1–5). For example, H is Row 2, Col 3 (.. ...).

Classic C/K Merge

Popularized by Vietnam War POWs in the "Hanoi Hilton", classic Tap Code merges C and K into cell (1,3) so 26 English letters fit cleanly into 25 squares.

FAQ

Tap Code Translator FAQ

How does Tap Code work?

Tap Code arranges the alphabet into a 5×5 grid (merging C and K into one cell). Each letter is sent as two groups of knocks: first the row number (1–5 taps), a brief pause, then the column number (1–5 taps).

Why are C and K combined in classic Tap Code?

A 5×5 Polybius grid holds 25 cells while the English alphabet has 26 letters. Classic prison Tap Code merges C and K (using C for both) because context makes words easy to read, unlike I/J in ancient Polybius ciphers.

What is the difference between Tap Code and Morse Code?

Morse code uses short dots and long dashes of different durations, which is hard to distinguish on solid walls or pipes. Tap Code uses identical short knocks counted in row-column pairs, making it reliable on concrete walls and metal bars.

How do you send SOS or HELLO in Tap Code?

HELLO is 2-3 (H), 1-5 (E), 3-1 (L), 3-1 (L), 3-4 (O). SOS is 4-3 (S), 3-4 (O), 4-3 (S).

Related ciphers

More Signal & Encoding Translators