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
| Letter | Code | Letter | Code |
|---|---|---|---|
| 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
| Digit | Code | Digit | Code |
|---|---|---|---|
| 0 | ----- | 5 | ..... |
| 1 | .---- | 6 | -.... |
| 2 | ..--- | 7 | --... |
| 3 | ...-- | 8 | ---.. |
| 4 | ....- | 9 | ----. |
Punctuation
| Mark | Code | Mark | Code |
|---|---|---|---|
| . | .-.-.- | : | ---... |
| , | --..-- | ; | -.-.-. |
| ? | ..--.. | = | -...- |
| ' | .----. | + | .-.-. |
| ! | -.-.-- | - | -....- |
| / | -..-. | _ | ..--.- |
| ( | -.--. | " | .-..-. |
| ) | -.--.- | $ | ...-..- |
| & | .-... | @ | .--.-. |
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)
| Speed | Dot (1 unit) | Dash and letter gap (3 units) | Word gap (7 units) | SOS played |
|---|---|---|---|---|
| 5 WPM | 240 ms | 720 ms | 1,680 ms | 6.48 s |
| 10 WPM | 120 ms | 360 ms | 840 ms | 3.24 s |
| 13 WPM | 92.3 ms | 276.9 ms | 646.2 ms | 2.49 s |
| 15 WPM | 80 ms | 240 ms | 560 ms | 2.16 s |
| 20 WPM | 60 ms | 180 ms | 420 ms | 1.62 s |
| 25 WPM | 48 ms | 144 ms | 336 ms | 1.30 s |
| 30 WPM | 40 ms | 120 ms | 280 ms | 1.08 s |
| 40 WPM | 30 ms | 90 ms | 210 ms | 0.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
- Choose Text to Morse or Morse to Text.
- Type or paste the input. In Morse, put a space between letters and a slash between words.
- Read the output, any characters listed as left out or not Morse, and copy it.
- 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 toolsASCII Art Generator
Type text and get an ASCII art banner in standard 5 by 5, small 3 by 5 or tall 5 by 7 block letters, drawn with the letter itself, # or █.
ROT13 Cipher
ROT13 encoder and decoder, plus any Caesar shift from 1 to 25: each letter A to Z moves that many places. Digits, punctuation and accents stay as typed.
Upside Down Text
Flip text upside down and reverse it with look-alike Unicode characters for a to z, A to Z, 0 to 9 and common punctuation, then copy and paste it.
Zalgo Text Generator
Turn text into Zalgo glitch text: Unicode combining marks stacked above, through and below each letter, at a chaos level from 1 to 20.
Small Text Generator
Turn text into small caps, superscript or subscript Unicode characters, see which letters have no small form, and copy and paste the result.
Strikethrough Text
Cross out text in nine styles, from strikethrough and double to slash, wavy and underline, made of combining Unicode marks, then copy it into a bio or post.