Knock cipher on a 5×5 grid, C and K share a cell, row taps then column taps, decode back to text, all in your browser
- Runs locally
- Category Encoding & Crypto
- Best for Checking small payloads, tokens, hashes, and encoded values quickly.
Result appears here.Read a letter as row taps then column taps. C and K share one cell, so K is tapped as C.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 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 |
What this tool does
Free tap code translator that turns text into the knock cipher prisoners of war used to talk through cell walls, and reads it back the other way. The tap code lays the alphabet in a 5×5 grid with C and K sharing a cell, so 26 letters fit into 25. Every letter is two bursts: tap the row number, pause, then tap the column number. A is one tap, pause, one tap, written as `. .`; H is two taps, pause, three taps, `.. ...`. Decode reads each pair back through the grid and rebuilds the word. K has no cell of its own, so it is tapped as C and comes back as C on decode. Pick your tap symbol — a dot, a middot, or the word `tap` — and the output matches the style you teach with. You can also decode plain coordinate pairs like `(2,3)`, handy when a puzzle writes the numbers out. The 5×5 grid is shown on the page so you can trace any letter by hand. Everything runs in your browser with one-click copy and a shareable link that reopens the same message. 100% client-side, nothing is uploaded.
Tool details
- Input
- Files + Text + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Encoding & Crypto · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Tap Code Translator fits into your work
Use it for quick browser-side encoding, decoding, hashing, token checks, and share-safe transformations.
Encoding jobs
- Checking small payloads, tokens, hashes, and encoded values quickly.
- Preparing values for APIs, URLs, docs, or support tickets.
- Avoiding account-based tools when the input might be sensitive.
Encoding checks
- Do not paste live secrets unless you are comfortable with local browser handling.
- Confirm whether the operation is reversible before sharing the result.
- For hashes, compare the exact algorithm and casing expected by the receiver.
Good next steps
These links move the current task into a more complete workflow.
- 1 Vigenère Cipher Encoder / Decoder Encrypt and decrypt with a keyword, polyalphabetic shift, case kept, non-letters passed through, browser-only Open
- 2 Atbash Cipher Mirror the alphabet, A↔Z B↔Y, no key, self-reciprocal so the same button encodes and decodes, browser-only Open
- 3 Polybius Square Cipher Encoder & Decoder Turn letters into 5x5 grid coordinates and back, with a keyword square, origin switch and a live grid, browser-only Open
Real-world use cases
Solve a tap code puzzle in a CTF or escape room
A challenge hands you a string of dots like `.. ... / . .....` and a hint about prison walls. Paste it in, switch to decode, and read the answer instead of counting taps by hand on paper. The 5×5 grid on the page lets you verify a single letter when an organiser used an unusual symbol, and the (2,3) numeric mode covers puzzles that print the coordinates as numbers rather than taps.
Teach a history class about POW communication
You are covering the Vietnam War and want students to feel how captives talked through concrete. Encode a short phrase, show the grid, and have the class tap it out on a desk. Share the URL so every student opens the same message, then have them decode a reply you prepared. The C and K merge becomes a natural talking point about why the message still reads even with a letter dropped.
Build a scavenger hunt or party game clue
Hide a location word behind tap code on a card. Encode it here with the word `tap` symbol so the clue literally reads "tap tap, tap" and players have to knock it out together. Copy the output straight onto the card, and keep the decode tab open as your answer key so you can check a team's guess in a second.
Check your own pencil-and-paper decoding
Learning the cipher and want to confirm you counted right? Tap out a message on paper using the printed grid, type your dots in, and let the decoder tell you whether you landed on the letter you meant. It turns a slow self-check into an instant one and shows exactly where a miscount sent you to the wrong cell.
Common pitfalls
Expecting A to be a single tap. Tap code always sends a row count and a column count, so A is one tap, pause, one tap — `. .`, not a lone `.`. Forgetting the second burst shifts every letter and the whole message comes out wrong.
Treating K as its own letter. K has no cell; it is tapped as C at coordinate (1,3) and decodes back to C. If you expect K to survive a round-trip you will be confused when `MILK` comes back as `MILC`. That is the cipher working as designed, not a bug.
Confusing tap code with the Polybius square because both use a 5×5 grid. They merge different letters — tap code joins C and K, the Polybius square joins I and J — so the same coordinate decodes to a different letter in each. Pick the right tool, or set the merge you actually mean.
Privacy
Every step — building the grid, counting the taps, folding K into C and mapping coordinates back to letters — is plain JavaScript that runs in your browser tab. Your text and your decoded message never leave the page and nothing is logged. The one caveat: the shareable link encodes your input, direction and tap symbol in the query string, so a link pasted into chat records that message in the recipient server's access log. For anything you want to keep private, use the copy button and paste the text rather than sharing the URL.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- 24-Point Solver & Game 24-point solver and game — enter 4 numbers and get every solution instantly, or play random hands against the clock.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Add Days to Date Calculator Add or subtract days, weeks, months, and years from any date — plus a business-day mode that skips weekends. Runs entirely in your browser.
- Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date.