Skip to main content
CalcChef

Morse Code Translator

Translate text to Morse code and back, and play it as a 600 Hz tone at 5 to 40 WPM. Paste Morse with a slash between words to read it. How it works

Use the Morse Code Translator

5 to 40. One dot lasts 60 ms.

About the Morse Code Translator

SOS is ... --- ... in International Morse code. The tool turns text into dots and dashes with a space between letters and " / " between words, and decodes Morse written the same way: HELLO WORLD is .... . .-.. .-.. --- / .-- --- .-. .-.. -.. It knows 54 characters: A to Z, 0 to 9 and 18 punctuation marks. Anything else is listed as left out. Play sounds the code at 5 to 40 words per minute.

Letters

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

The table the tool uses. Each code matches the one in Wikipedia’s Morse code article.

Digits

DigitCodeDigitCode
0-----5.....
1.----6-....
2..---7--...
3...--8---..
4....-9----.

Punctuation

MarkCodeMarkCode
..-.-.-:---...
,--..--;-.-.-.
?..--..=-...-
'.----.+.-.-.
!-.-.----....-
/-..-._..--.-
(-.--.".-..-.
)-.--.-$...-..-
&.-...@.--.-.

Eighteen marks: period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign and at sign.

Morse timing by speed (PARIS standard)

SpeedDot (1 unit)Dash and letter gap (3 units)Word gap (7 units)SOS played
5 WPM240 ms720 ms1,680 ms6.48 s
10 WPM120 ms360 ms840 ms3.24 s
13 WPM92.3 ms276.9 ms646.2 ms2.49 s
15 WPM80 ms240 ms560 ms2.16 s
20 WPM60 ms180 ms420 ms1.62 s
25 WPM48 ms144 ms336 ms1.30 s
30 WPM40 ms120 ms280 ms1.08 s
40 WPM30 ms90 ms210 ms0.81 s

One unit is 1.2 ÷ WPM seconds, because the word PARIS with its word gap is 50 units. SOS (... --- ...) is 27 units from the first dot to the last. The gap inside a letter is 1 unit. The tool plays 5 to 40 WPM and shows the length to one decimal place.

How to use this tool

  1. Choose Text to Morse or Morse to Text.
  2. Type or paste the input. In Morse, put a space between letters and a slash between words.
  3. Read the output, any characters listed as left out or not Morse, and copy it.
  4. To hear it, set the speed in words per minute and press Play; Stop ends the tone.

Frequently asked questions

What is SOS in Morse code?
Three dots, three dashes and three dots: ... --- ... Wikipedia reports that it entered German radio regulations on 1 April 1905 and the 1906 international radiotelegraph convention as a distinct sequence, and that reading it as the letters S O S came later. In the tool, SOS gives ... --- ... and ... --- ... decodes to SOS.
How do I write a space between words in Morse code?
With a slash. The tool puts one space between letters and " / " between words, so HELLO WORLD is .... . .-.. .-.. --- / .-- --- .-. .-.. -.. When decoding it splits words at the slash and letters at spaces.
What happens to accents, emoji and other characters?
A character with no code is left out and listed under the output, never guessed. "café 😀" gives -.-. .- ..-. and lists É and 😀.
How do I decode Morse code?
Press Morse to Text and paste dots and dashes with a space between letters and a slash between words. A token that is not Morse shows as ? and is listed: "... --- ... hello" decodes to SOS? Only the full stop and the hyphen are read as dot and dash, so Morse copied with • dots or – dashes needs them replaced first. Word gaps written as extra spaces are read as letter gaps, so ".... .. - .... . .-. ." decodes to HITHERE; put a slash between the words to get HI THERE.
Which punctuation marks does it support?
Eighteen: the period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign and at sign. Thirteen of them are in ITU-R M.1677-1, the International Morse recommendation; the exclamation mark, ampersand, semicolon, underscore and dollar sign are common extensions that it does not list. They are in the punctuation table on this page. Other marks, such as # or %, are left out and listed.
Can it play Morse code as sound?
Yes. Play sounds a 600 Hz tone at 5 to 40 words per minute, 20 by default, and Stop ends it. It plays the output in Text to Morse and the typed Morse in Morse to Text. The timing follows the PARIS standard: one unit is 1.2 ÷ WPM seconds, so a dot lasts 60 ms at 20 WPM and SOS takes 1.62 s. Only the first 2,000 Morse characters play. There is no flashing light. Each direction takes up to 20,000 characters, and a link such as ?text=hello fills the input in Text to Morse mode.

Related Tools

View all tools