Skip to main content
tap codecipherpolybiusmorsewebdevtoolbox

How to Use the Tap Code Translator — WebdevToolbox Guide

Encode and decode the Tap Code, which represents each letter as a pair of knock counts on a 5x5 grid — historically used by prisoners of war to communicate through walls.

WebdevToolbox Team2 min read

Some ciphers exist purely for math puzzles. The Tap Code exists because people needed a way to communicate silently through solid walls — no pen, no paper, just knuckles on plaster. It became famous through its use by American prisoners of war in Vietnam, who tapped out entire conversations between isolated cells.

What Is the Tap Code Translator?

Type any text and instantly see it converted into a tap pattern — a sequence of dot groups representing row-taps and column-taps on a 5x5 letter grid — or flip to decode mode to turn a tap pattern back into readable text.

How to Use It

  1. Open the tool at /tools/tap-code-translator.
  2. Choose “Text → Taps” or “Taps → Text” mode.
  3. Type your text or paste a tap pattern.
  4. Read the converted result, and check the reference grid below to see exactly how each letter maps.

Key Features

  • Bidirectional conversion between plain text and tap patterns.
  • Full reference grid showing exactly which row/column each letter occupies.
  • Correctly handles the shared C/K cell, the standard Tap Code convention.
  • Verified round-trip accuracy — encoding and then decoding recovers the original text exactly.

When to Use This Tool

  • Learning about the historical use of the Tap Code by prisoners of war.
  • Solving or building an escape-room or puzzle clue based on knock patterns.
  • Understanding the relationship between the Tap Code and the Polybius square it’s derived from.

Try It Now

Open Tap Code Translator directly, or press ⌘K and type the tool name from anywhere on the site.


Part of the Security & Crypto collection on WebdevToolbox — free, browser-based developer tools with no login required.

Tagged with

tap codecipherpolybiusmorsewebdevtoolbox

Related posts