Skip to content

Morse code translator: text to Morse and back, with sound

Morse code represents each letter, digit and punctuation mark as a sequence of short signals (dots, written ·) and long signals (dashes, written −). A dash lasts three dots; letters are separated by a gap of three dots and words by a gap of seven. To translate text to Morse, look up each character in the International Morse table; to decode, split the code on spaces for letters and on “/” for words. This translator does both instantly in your browser and can play the result as sound.

B1Morse code translator — TabbyTools
Ready0 B sent to server

Your files never leave your device. Processing happens in your browser. How that works.

How it works

  1. Type or paste text, or paste Morse code using dots, dashes, spaces and slashes.
  2. The translation appears instantly; the tool detects which direction you need.
  3. Press Play to hear it as tones, and adjust the speed in words per minute.
  4. Copy the result or share the page URL, which contains your text.

Runs as JavaScript inside this tab. Turn off your connection after the page loads and it still works.

International Morse code chart

Morse code is defined by the ITU in Recommendation M.1677. Timing is measured in units, where one unit is the length of a dot.

Element Length
Dot (·) 1 unit
Dash (−) 3 units
Gap between parts of one letter 1 unit
Gap between letters 3 units
Gap between words 7 units

At 20 words per minute (using the reference word PARIS) one unit is 60 ms; at 12 WPM it is 100 ms.

Letters

A ·− B −··· C −·−· D −·· E · F ··−·
G −−· H ···· I ·· J ·−−− K −·− L ·−··
M −− N −· O −−− P ·−−· Q −−·− R ·−·
S ··· T − U ··− V ···− W ·−− X −··−
Y −·−− Z −−··

Digits

0 −−−−− 1 ·−−−− 2 ··−−− 3 ···−− 4 ····−
5 ····· 6 −···· 7 −−··· 8 −−−·· 9 −−−−·

Punctuation

. ·−·−·− , −−··−− ? ··−−·· ’ ·−−−−· ! −·−·−−
/ −··−· ( −·−−· ) −·−−·− & ·−··· : −−−···
; −·−·−· = −···− + ·−·−· − −····− _ ··−−·−
“ ·−··−· $ ···−··− @ ·−−·−·

Prosigns

Prosigns are sent as one continuous character with no gap. Type them in angle brackets to encode them.

Prosign Code Meaning
<SOS> ···−−−··· Distress
<AR> ·−·−· End of message
<SK> ···−·− End of contact
<BT> −···− New paragraph
<KN> −·−−· Go ahead, named station only
<ERROR> ········ Error, disregard last word

Writing conventions

  • Letters are separated by a space; words by /. This translator also accepts | and runs of three or more spaces as word breaks.
  • Dots may be written . or ·; dashes -, −, _ or —.
  • “Dit” and “dah” are how the sounds are spoken. Sent by hand, dit is often shortened to “di” mid-letter: S is “di-di-dit”.

Worked examples

SOS → ... --- ...

Three dots, three dashes, three dots. Sent as a prosign (no letter gaps) it lasts 27 units: at 20 WPM that is about 1.6 seconds.

HELLO WORLD → .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Eleven letters. H is four dots, the shortest way to send four units of information; O is three dashes.

Decoding - .... . / --.- ..- .. -.-. -.- → THE QUICK

Split on / for words and on spaces for letters, then look up each symbol: - is T, .... is H, . is E.

Numbers: 2026 → ..--- ----- ..--- -....

Digits follow a pattern: 1–5 start with that many dots then fill with dashes; 6–9 start with dashes then dots; 0 is five dashes.

Punctuation: “Ready?” → .-..-. .-. . .- -.. -.-- ..--.. .-..-.

The question mark ..--.. is one of the few symmetrical codes.

Frequently asked questions

How do you write SOS in Morse code?

SOS is · · · − − − · · · (three dots, three dashes, three dots). It is sent as one continuous sequence with no letter gaps, which is why it is easy to recognise.

What is the difference between a dot and a dash?

A dash is three times as long as a dot. The gap between signals inside a letter is one dot long, the gap between letters is three dots, and the gap between words is seven dots.

How do I separate words in written Morse code?

The usual convention is a single space between letters and a forward slash (/) surrounded by spaces between words, for example “··· − − − ··· / ···”. This translator accepts a slash or a run of three or more spaces as a word break.

Does this translator support numbers and punctuation?

Yes. All 26 letters, the digits 0–9, and the standard International Morse punctuation set (period, comma, question mark, apostrophe, slash, parentheses, colon, equals, plus, hyphen, quotation marks and @) are supported. Unknown characters are shown as a question mark.

What does WPM mean in the audio settings?

Words per minute, measured using the standard word PARIS. At 20 WPM a dot lasts 60 ms. Beginners usually learn at 15–20 WPM character speed.

Is my text sent to a server?

No. The translation and the audio are generated entirely in your browser. The text only appears in the page URL so you can share the link.

Morse code translator · last updated · changelog · part of Canned Tuna