Morse Code Translator

Free

Translate text to Morse code and back, with audio playback.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Text
Morse code
20
700

How it works

What is Morse code?

A way of encoding text as sequences of short and long signals — dots and dashes — originally developed in the 1830s-40s by Samuel Morse and Alfred Vail for the electric telegraph. Each letter, digit, and common punctuation mark has its own fixed dot/dash pattern, standardized internationally so operators anywhere could understand each other over a wire (and later, over radio) using nothing but on/off clicks or tones.

What do the dot/dash timings actually mean?

Morse timing follows a strict ratio, not arbitrary spacing: a dash lasts exactly 3 times as long as a dot, the gap between dots/dashes within one letter is 1 dot-length, the gap between letters is 3 dot-lengths, and the gap between words is 7 dot-lengths. This is what makes the audio playback here sound like genuine Morse rhythm rather than a random string of beeps — and it's also why the spacing in the text output (single space between letters, "/" between words) is meaningful rather than cosmetic.

How is text-to-Morse spacing represented?

Letters within a word are separated by a single space between their dot/dash groups, and words are separated by " / ". Converting Morse back to text expects the same convention (falling back to a run of two or more spaces as a word boundary if no "/" is present) — anything that doesn't parse as a recognized letter is shown in the output wrapped in brackets rather than silently dropped.

Is anything I type here sent anywhere?

No. Translation is a simple lookup-table transform, and audio playback uses the Web Audio API to synthesize tones directly in your browser — no files, no server round-trip. Nothing you type or play is transmitted, logged, or stored.

Related tools