Morse code translator

Type in either box and the other one updates: text becomes International Morse code, and Morse code becomes text. In Morse, put a space between letters and a / between words; a character that has no Morse code shows as #. It runs in your browser; nothing you enter is uploaded.
On a phone, type / between words rather than two spaces, which the keyboard can turn into a period.
If you hear nothing on an iPhone or iPad, check that silent mode is off and the volume is up.
How to write Morse code for the translator
Write dots as . and dashes as -. Lookalikes pasted from elsewhere work too, such as ·,
•, _, and –. Put one space between letters and a / between words, so "SOS HELP" is
... --- ... / .... . .-.. .--.. Two or more spaces, or a |, also end a word.
The spaces matter. Without them, ...---... is one long signal rather than three letters. That run happens to be the distress
signal, which radio operators send with no gaps, so the translator shows it as <SOS>. To write such a signal in the text
box, put its letters in angle brackets, like <SOS> or <SK> (end of contact). A run of dots and dashes
that matches no character or signal shows as #, and the line under the Morse box lists it.
Which characters have a code
The standard is ITU-R M.1677-1, from the International Telecommunication Union. Morse code has no capital or small letters, so the translator writes text back in capitals. The 26 letters and 10 digits:
- 0
----- - 1
.---- - 2
..--- - 3
...-- - 4
....- - 5
..... - 6
-.... - 7
--... - 8
---.. - 9
----. - 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
--..
É is the only accented letter in the standard (..-..). These are the punctuation marks the translator knows, with the five
the standard leaves out marked:
| Mark | Name | Code |
|---|---|---|
| . | Period | .-.-.- |
| , | Comma | --..-- |
| : | Colon | ---... |
| ? | Question mark | ..--.. |
| ' | Apostrophe | .----. |
| - | Hyphen | -....- |
| / | Slash | -..-. |
| ( | Left parenthesis | -.--. |
| ) | Right parenthesis | -.--.- |
| " | Quotation mark | .-..-. |
| = | Equals sign | -...- |
| + | Plus sign | .-.-. |
| × | Multiplication sign | -..- |
| @ | At sign | .--.-. |
| ! | Exclamation mark (not in the standard) | -.-.-- |
| & | Ampersand (not in the standard) | .-... |
| ; | Semicolon (not in the standard) | -.-.-. |
| $ | Dollar sign (not in the standard) | ...-..- |
| _ | Underscore (not in the standard) | ..--.- |
Amateur radio operators use the codes for the exclamation mark, ampersand, semicolon, dollar sign, and underscore, and most translators
know them. A decoder that sticks to the standard may not, and .-... is also the standard's signal for "wait", which this
translator reads as &. For a message that has to get through to anyone, write the word instead, such as AND. Accented
letters other than É, such as ä and ñ, have no code here and show as #.
Speed and timing
Morse timing is counted in units. A dot lasts 1 unit and a dash 3, with 1 unit of silence between the parts of a letter, 3 between letters, and 7 between words. Speed in words per minute (WPM) counts the word PARIS, which takes 50 units including the gap after it. One unit is therefore 1,200 milliseconds divided by the speed: at 20 WPM a dot lasts 60 ms, a dash 180 ms, and PARIS takes 3 seconds.
The translator plays a 600 Hz tone, a common pitch for listening to Morse on the radio. Choose Light to see the message flash instead, which helps when you're practicing reading a signal lamp or can't play sound.
Questions
Does SOS stand for "save our souls"?
No. SOS was agreed as the international distress signal in 1906 because its pattern of three dots, three dashes, and three dots is easy to send and hard to mistake. "Save our souls" was fitted to the letters afterward.
Is Morse code still used?
Yes, mostly by amateur radio operators, who send it because it gets through on weak signals and low power. Aviation radio beacons also identify themselves with a few letters of Morse. Ships stopped using it for distress calls in 1999, when satellite and digital systems replaced it.
Do you need Morse code for a ham radio license?
Not in the United States, where the FCC dropped the Morse test for every license class in 2007. Most other countries have dropped it too, but check your own country's rules.