Morse Code Tapper

Tap out Morse code with a button, a key or your finger and see the letters appear. Or flash a message in light.

Short press = dot (·). Long press = dash (−). Pause between letters, a longer pause between words.

Your message
Morse code
10 WPM

Everything happens in your browser. Nothing you tap or type is uploaded.

A Morse code tapper reads the length of your taps. A short tap is a dot, a long tap is a dash, and the pauses between taps separate letters and words. Press the pad (or the Space bar) and the letters appear as you go. The same rhythm works for knocking on a wall or flashing a light.

How to tap Morse code

  1. Pick a speed. Start with 10 words per minute. At that speed a dot is a tap of about an eighth of a second and a dash about a third.
  2. Tap the pad or press the Space bar. Short is a dot. Hold about three times as long for a dash.
  3. Pause between letters. Wait about as long as one dash before the next letter. Wait about twice that between words.
  4. Read the letters as they appear. Use Delete last letter to fix a mistake, Copy text to keep the message, and Clear to start again.

If your own rhythm is faster or slower than the speed you chose, switch Timing to Learn my speed. It measures your taps after the first few and adapts. Fixed speed is steadier when you are just starting.

The timing rules

All Morse code timing is built from one unit, the length of a dot:

Part Length
Dot 1 unit
Dash 3 units
Gap inside a letter 1 unit
Gap between letters 3 units
Gap between words 7 units

The tapper uses these ratios. It treats a tap shorter than two units as a dot, a longer one as a dash, a pause of two units or more as the end of a letter and a pause of five units or more as the end of a word. That leaves room for ordinary human unevenness.

Tap, knock and key: the same code

Morse code does not depend on the medium. The same pattern works for:

  • Tapping on a table or phone screen, as in this tool.
  • Knocking on a door, wall or pipe. People call this a knock code. Knock short for a dot and give a slower, heavier knock for a dash. A tap on a pipe carries a long way.
  • Clicking a mouse, a switch or a game controller button.
  • Flashing a light, which is the other half of this page.

This page cannot hear knocks through your microphone. If you hear knocks, tap along on the pad as you listen, or record them and try the audio decoder. Knocks are clicks, not steady tones, so the decoder is not built for them.

Flash a message in light

Switch to Flash a message to send Morse code with your screen, choose a speed and a soft or full-screen style, and press Start flashing. The steps, timing table and safety notes are on the light Morse code page.

Timing for light signals is on the light Morse code page.

Frequently asked questions

How do I tap Morse code?

Press the pad for a short time for a dot and about three times longer for a dash. Pause between letters and for longer between words. The tool reads the taps as you make them.

How long is a dash compared with a dot?

Three times as long. The gap between letters is also three dots long, and the gap between words is seven.

Can this translate a knock code?

It reads taps you make yourself. For knocks you hear, tap along on the pad as you listen. The tool cannot pick up knocks through the microphone.

What speed should I start at?

Ten words per minute is comfortable for beginners. Go lower if letters come out wrong, because even timing matters more than speed.

Is flashing the screen safe?

Not for everyone. People with photosensitive epilepsy can have seizures triggered by flashing light. The default soft-lamp style is gentler, but you should still avoid pointing it at other people. You can stop at any time.

Vibration, LED and flashlight Morse code

On phones that support it the flasher can vibrate the message, and LED projects work on the same idea. See light Morse code and Morse code in code.