How the Morse code translator works
Morse code represents each letter, digit, and punctuation mark as a short sequence of two symbols: the dot (a short signal, written .) and the dash (a long signal, written -). This tool works in both directions. Switch the toggle to Text to Morse to encode what you type, or Morse to Text to decode a string of dots and dashes back into readable text. The output updates live as you type, and you can copy it or play it as audio.
Dots, dashes, and timing
Real Morse code is all about timing. Everything is measured in one base unit, the length of a single dot:
- A dot is 1 unit long.
- A dash is 3 units long.
- The gap between the dots and dashes inside one letter is 1 unit.
- The gap between letters is 3 units.
- The gap between words is 7 units.
So the rhythm, not just the pattern, carries the meaning. When you press Play, this translator sounds out the code using those exact ratios: a dash beeps three times as long as a dot, letters are spaced clearly apart, and words get a longer pause.
Letter spacing versus word spacing
On screen we cannot show timing directly, so the convention is to use spacing instead:
- Put one space between letters. For example, HELLO is
.... . .-.. .-.. ---. - Put a forward slash ( / ) between words. For example, HI MOM is
.... .. / -- --- --.
When decoding, the tool reads a single space as the break between letters and a / as the break between words. If it sees a group of dots and dashes it does not recognize, it outputs a ? in that spot so you can find the mistake quickly.
A worked example: SOS
The most famous Morse sequence is the distress call SOS:
- S is
...(three dots) - O is
---(three dashes) - S is
...(three dots)
Written with letter spacing that is ... --- .... In practice the distress signal is sent as one continuous run, ...---..., with no gaps, so it reads as a single unmistakable pattern. SOS was picked precisely because it is so easy to send and recognize, even for someone with no training. It does not actually abbreviate “save our ship” or “save our souls”; those are later backronyms.
Encoding rules this tool follows
When you convert Text to Morse:
- Letters are case-insensitive, so
abcandABCgive the same result. - Digits 0 through 9 and common punctuation are supported.
- Runs of spaces between words collapse to a single
/word break. - Any character with no standard Morse mapping is skipped, and the tool reports how many characters it dropped so nothing disappears silently.
Where Morse code is still used
Morse is far from dead. Amateur radio operators favor it because a narrow Morse signal punches through noise and travels a long way on very little power, which matters when conditions are poor. Aviation and marine navigation beacons broadcast their identifier in Morse so pilots and sailors can confirm which station they are hearing. It is also a reliable fallback for signaling by flashing light, a horn, or even tapping, in situations where speaking is impossible. Because it needs almost no equipment, Morse remains a genuine survival and emergency skill, which is exactly why SOS is still worth knowing by heart.