Tap Code Translator

This tap code translator turns letters into row and column taps on the 5 by 5 grid, plays the knocks out loud, and decodes typed dots or digits back into text.

Input

Direction
Grid

0 of 5000 characters.

Taps

Show as

Tap code grid

Standard grid. K is sent as C, so K and C share a cell. I and J have their own cells.
A11, row 1, column 1B12, row 1, column 2C/K13, row 1, column 3D14, row 1, column 4E15, row 1, column 5
F21, row 2, column 1G22, row 2, column 2H23, row 2, column 3I24, row 2, column 4J25, row 2, column 5
L31, row 3, column 1M32, row 3, column 2N33, row 3, column 3O34, row 3, column 4P35, row 3, column 5
Q41, row 4, column 1R42, row 4, column 2S43, row 4, column 3T44, row 4, column 4U45, row 4, column 5
V51, row 5, column 1W52, row 5, column 2X53, row 5, column 3Y54, row 5, column 4Z55, row 5, column 5

Why use our Tap Code Translator?

Both Grids in One Place

The standard grid sends K as C, and the older grid merges I with J. Switch between them and the letter table redraws, so a code from a book and a code from a film both work.

Knocks You Can Hear

Press play and the page taps the row and column counts with a synthesizer at the speed you set. Nothing is downloaded and no plugin is needed to hear how the message should sound.

Decode Without the Chart

Paste digits or dots and the page returns letters. Decoding by hand means counting rows and columns on paper, which is where most attempts go wrong.

What is Tap Code?

Tap code is a cipher that sends each letter as two counts of knocks: the row in a 5 by 5 grid, then the column. A short pause separates the two counts and a longer pause separates letters, which is why it survived in places where paper did not.

The grid holds 25 letters, so one letter has to share a cell. The common convention drops K into the C cell and the older convention merges I with J. Prisoners of war in Vietnam used taps on a wall to spell messages, and the system is still used in puzzles and escape-room games.

What the Translator Includes

  • Standard gridThe letters run A to Z in order without K, so K is sent as C and shares its cell. I and J keep their own cells. The table shows all 25 cells.
  • I/J gridI and J share one cell and K keeps its own, which is how most Polybius square charts are drawn.
  • EncodeLetters become two counts, row then column, from 11 to 55. Case is ignored, and a space between words becomes a slash.
  • DecodeAccepts 23 15 31 and .. ... . ..... ... . as the same three letters. A slash starts a new word.
  • Play the tapsEach letter is played as row knocks, a pause, then column knocks, at 2 to 8 knocks per second. The pause is 2 beats inside a letter, 4 between letters and 8 between words.
  • Characters the grid cannot holdDigits, punctuation, accented letters and emoji are left out and listed back, so nothing disappears silently. Spaces become word breaks.
  • LimitsInput is limited to 5000 characters, counted by code point, and sound stops at 10 minutes. Both limits are checked before any work starts.
  • CopyCopy the encoded counts or dots, or the decoded text. Download gives the same text as a .txt file.

Common Use Cases

Puzzle nights

Hand out a tap code message and a blank grid, then check the answer with the decoder.

Escape rooms

Encode a lock code, play the taps on a phone, and let the room hear it.

Classroom history

Show how a message travelled with knocks and no paper.

Film and game fans

Decode the tap code from a scene and see the letters behind it.

Signalling drills

Practise reading counts at a steady rhythm.

Party games

Send a name in taps across a room and see who decodes it first.

How to Use It

1

Pick a grid

Standard with K as C, or the older grid with I and J merged. The table updates.

2

Type your text

Letters encode to pairs. The page lists characters the grid cannot carry.

3

Press play if you want sound

Set the tap speed first, then press play. Each letter sounds as row taps then column taps.

4

Decode

Switch to Taps to text, paste digits with spaces or dots with spaces, and the letters appear. Copy the result.

Benefits of a Tap Code Translator

Two conventions, no guessing

The page names which grid it is using and shows the table, so a decoded message can be checked against the chart.

Sound instead of imagination

Hearing the rhythm is the fastest way to understand why a pause matters between counts.

Works without audio

The encoder and decoder work with the sound muted or the volume at zero.

Keyboard path

Every control is a button or a labelled input, and the grid is a table a screen reader can read.

No account, no upload

The conversion runs in the browser, and the text you type is not sent to any server.

Tips for Sending Tap Code

  • •Mind the pause Two knocks then a gap then three knocks is not the same as five knocks. Keep the gap inside a letter shorter than the gap between letters.
  • •Say which grid you use K has no cell of its own in the standard grid, so a sender and a receiver who assume different grids will disagree on every word with a K.
  • •Keep messages short Tap code is slow. A short phrase beats a paragraph, which is why real messages used abbreviations.
  • •Check the ambiguous letters In the merged grid, I and J decode to the same letter, so read words in context.
  • •Practise the rhythm Play a short word and copy the taps with your hand before sending a real message.

Encode or Decode a Message

Type a word above and press play to hear it, or paste taps you received and read the letters back.

For the same 5 by 5 idea written as two digits, the Polybius square does it without sound, and Morse code is the other signalling cipher most groups learn first.

Related tools

Frequently Asked Questions

Why is K sent as C in tap code?

A 5 by 5 grid holds 25 cells for 26 letters, so one letter has to share. The common convention puts K in the C cell, and a receiver reads K from context. The older convention merges I and J instead and keeps K, which is the second grid on this page.

How do you tell where one letter ends and the next begins?

A short pause separates the row count from the column count, and a longer pause separates letters. Written down, the pair reads 23 for H, and the page plays the two gaps at different lengths so the difference is audible.

Can I decode tap code that arrives as dots?

Yes. The decoder accepts dots separated by spaces, where the first run of dots is the row and the second is the column. It also accepts two-digit pairs, so a message copied from a book or a forum post works either way.

Does tap code have anything to do with Morse code?

They are different signals. Morse uses short and long marks, between one and four of them for a letter. Tap code uses two counts per letter, each from one to five. Both were used where only a sound could travel, and groups that knew one often learned the other.

Does the page need a microphone or send audio anywhere?

No. The taps are synthesized in the browser with the Web Audio API and played through the speaker. The page never asks for a microphone, the text you type is not uploaded, and the encoder and decoder work with the volume at zero.