Morse code translator: text to Morse and back
Translate text into International Morse code with letters, numbers and punctuation, or decode dots and dashes back into text. Letters are separated by spaces and words by a slash.
Input
Tip: press Ctrl + Enter to run
Saved settings
About this tool
Morse code writes each letter, digit and some punctuation marks as a short sequence of dots and dashes. This translator converts text into International Morse code and decodes Morse back into text, for puzzles, scouting and amateur radio practice, escape rooms or just writing a message in dots and dashes.
How to use it
- Choose Text → Morse or Morse → text.
- Type or paste your text, or Morse code with one space between letters and a slash between words.
- Run it and copy or download the result.
- Check the list of characters with no Morse code, which are left out of the translation.
How the calculation works
Letters A to Z, digits 0 to 9 and common punctuation are looked up in the International Morse code table (ITU-R M.1677-1). Letters are case-insensitive, accented letters are written without their accent, and anything without a code, such as emoji, is reported. When decoding, a slash, a vertical bar or three or more spaces start a new word, and the middle dot and long dashes are accepted as dots and dashes.
International Morse code (ITU-R M.1677-1); letters separated by a space, words by /Worked example
The distress signal SOS is ... --- ..., and the phrase SOS Help becomes ... --- ... / .... . .-.. .--. with a slash between the words. Pasting that line back in with Morse → text gives SOS HELP.
Sample input and result
SOS = ... --- ...; HELP = .... . .-.. .--.
Limitations
- International Morse only; American (railroad) Morse and non-Latin alphabets are not supported.
- Prosigns such as SK and AR are not handled as single signals.
- Up to 5,000 characters of text.
Last updated:
Frequently asked questions
How are letters and words separated?
Put one space between letters and a slash between words, as in .... .. / - .... . .-. . for HI THERE. When decoding, three or more spaces also mark a new word.
Why does SOS have no gaps in real use?
In radio use SOS is sent as one continuous signal, but written out letter by letter it is ... --- ..., which is what this translator shows.
Is Morse code case-sensitive?
No. Upper and lower case letters have the same code, so decoded text is shown in capitals.
Can it play the code as sound?
No. The translator writes the code as text only.
Which punctuation is supported?
Period, comma, question mark, apostrophe, exclamation mark, slash, brackets, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign and at sign.
Troubleshooting
It says Morse code can only contain dots and dashes.
Remove letters and other symbols from Morse input, and use spaces between letters and / between words.
Some letters decode as ?.
A sequence of dots and dashes did not match any character, often because two letters ran together without a space.
Privacy & Free to use
Are my inputs stored?
Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.
Is this tool free?
Yes. No signup or payment is required.
See also
Useful next steps
Word & character counter
Count words, visible characters, paragraphs and lines locally, using language-aware segmentation.
Text & writingText case converter
Switch between uppercase, lowercase, title case and sentence case in one tool.
Text & writingRemove duplicate lines
Keep the first occurrence of every exact line and preserve the original order.
Text & writing