Morse Code Translator: Text to Morse and Back
Translate text into International Morse code, decode dots and dashes back into text, and play the encoded message as a 700 Hz tone at about 20 words per minute.
Runs in your browser: your files and text are not uploaded. Free, no account needed.
Last updated: · Reviewed by the QuickTooly Team
Morse Code Translator Guide
How the Output Is Written
- A dot is
.and a dash is-. - Letters inside a word are separated by one space; words are separated by
/. "SOS HELP" becomes... --- ... / .... . .-.. .--.. - Morse has no case, so lowercase letters are encoded as capitals and decoded text comes back in capitals.
- Any character not in the table below, such as an accented letter, an emoji or a line break, is written as a literal
?. That is not the Morse code for a question mark (..--..), and it plays as silence.
Supported Characters
The table covers the 26 Latin letters, the digits 0 to 9 and 18 punctuation marks. It is generated from the same map the translator uses, so anything missing here is unsupported.
| Char | Code | Char | Code | Char | Code | Char | Code |
|---|---|---|---|---|---|---|---|
| 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 | --.. |
| . | .-.-.- | , | --..-- | ? | ..--.. | ' | .----. |
| ! | -.-.-- | / | -..-. | ( | -.--. | ) | -.--.- |
| & | .-... | : | ---... | ; | -.-.-. | = | -...- |
| + | .-.-. | - | -....- | _ | ..--.- | " | .-..-. |
| $ | ...-..- | @ | .--.-. |
Audio Timing
Play Audio sends a 700 Hz sine tone through the Web Audio API. The timing follows the standard ratios, with a 60 ms dot as the unit:
- dot 1 unit (60 ms), dash 3 units (180 ms)
- gap between dots and dashes in a letter: 1 unit
- gap between letters: 3 units; gap between words: 7 units (420 ms)
With the usual PARIS reference word, a 60 ms unit works out to 1200 / 60 = 20 words per minute. Speed and pitch are fixed. Audio is only available in Text → Morse mode.
Frequently Asked Questions
Why does my decoded text contain question marks?
A group of dots and dashes did not match any code in the table. Check that letters are separated by spaces and words by a slash, and that no two letters run together.
Can I use other symbols for dots and dashes?
No. The decoder only reads the period and the hyphen-minus. Replace characters such as ·, • or – before decoding.
Does Stop end the audio immediately?
Yes. Stop cancels every tone that is still scheduled, so playback ends at once.
Related Tools
- Binary Converter: encode the same text as binary, hex or octal character codes.
- Text Cleaner: turn line breaks into spaces and collapse double spaces first; a line break becomes ? and each extra space adds an empty word gap.