Morse code turns letters into dots and dashes โ and back again. It is one of the oldest ways of sending a written message, and it still shows up in puzzles, films, amateur radio, escape rooms, and the most famous distress signal in the world, SOS.
Translating it by hand is slow โ you have to remember every letter's code and keep the gaps straight. This guide explains how Morse code works, gives you the full alphabet table, and shows how to translate it in seconds with a free online tool.
What is Morse code?
Morse code is a way of writing letters and numbers with just two signals: a short one (a dot, .) and a long one (a dash, -). Each letter has its own pattern. A is dot-dash (.โ), B is dash-dot-dot-dot (โ...), and so on through the whole alphabet.
It was developed in the 1830s and 1840s for the electric telegraph, when the only thing a wire could carry was a current switched on and off. A short burst was a dot, a longer burst was a dash, and a skilled operator could send whole messages that way. The system was later standardised as International Morse Code, which is the version still used today.
You do not need a telegraph to use it now. The same dots and dashes can be written down, flashed with a torch, tapped on a table, or played as beeps.
The Morse code alphabet
Here is the full International Morse Code alphabet, with the numbers:
| 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 | โโ.. |
| Number | Code | Number | Code | |---|---|---|---| | 1 | .โโโโ | 6 | โ.... | | 2 | ..โโโ | 7 | โโ... | | 3 | ...โโ | 8 | โโโ.. | | 4 | ....โ | 9 | โโโโ. | | 5 | ..... | 0 | โโโโโ |
A few patterns are worth memorising because they come up constantly: E is a single dot, T is a single dash, and S-O-S โ the international distress signal โ is ... โโโ ..., three dots, three dashes, three dots. Punctuation exists too, but most everyday messages only need the letters and numbers above.
How the spacing works
The dots and dashes are only half the code. The gaps matter just as much:
- Inside a letter: the dots and dashes run together with no gap.
.โis A. - Between letters: leave a gap of one dash-length. In writing, letters are separated by a space:
.โ โ...is AB. - Between words: leave a longer gap. In writing, words are separated by a slash or a double space:
.โ โ... / โ.โ.is AB C.
... --- ... with the right gaps is SOS. Run the same dots and dashes together without gaps and the message disappears into one long meaningless string.
Method 1: Translate it yourself
If the message is short, you can do it with the table above.
Text to Morse: take each letter, look up its pattern, and write the patterns with a space between letters and a slash between words. "HI" becomes .... ... "SOS" becomes ... โโโ ....
Morse to text: split the message into groups at the spaces, look each group up in the table, and write the letters down. .... . .-.. .-.. --- becomes HELLO.
This works for a word or two. For a sentence it is slow and error-prone โ one missed dot changes a letter. That is why most people use a translator for anything longer than a few words.
Method 2: Use a free online Morse code translator
For anything longer than a word, use a tool. Paste your text into the free Morse Code Translator and it converts it to Morse instantly โ or paste Morse code in and it decodes it back to text. It also plays the code as audio, so you can hear what the message sounds like as beeps.
The tool is free, needs no sign-up, and works on your phone as well as your computer. Nothing is uploaded; the translation happens in your browser.
Two tips for the best result: keep the message short, and check the gaps. If you are decoding Morse that someone else wrote, make sure there is a clear space between letters and a slash or double space between words โ if the letters are wrong, the gaps are usually the reason. And if you are writing a message to send, keep it short: our guide to counting characters online explains why short messages get read โ the same is true in Morse, only more so, because every extra letter costs time to send.
Common Morse code words and signals
A few codes are worth knowing on sight:
- SOS (
... โโโ ...) โ the international distress signal. Three dots, three dashes, three dots, sent as one continuous group. - 73 (
--... ...--) โ "best regards", used by amateur radio operators to end a contact. - 88 (
---.. ---..) โ "love and kisses", also from amateur radio. - CQ (
โ.โ. โโ.โ) โ a general call: "is anyone there?" - OK (
โโโ โ.โ) โ sometimes sent as a quick acknowledgement.
You will also see Morse code in films and games as a puzzle device, on jewellery and tattoos as a hidden message, and in escape rooms as a clue. In all of those, the message is usually short โ a name, a word, a number.
Where Morse code is still used today
Morse code stopped being a commercial skill decades ago, but it has not disappeared:
Amateur radio. Morse (called "CW" by radio amateurs) is still popular on the radio. It gets through with very weak signals, in conditions where voice would be unreadable, and it needs almost no equipment.
Aviation and shipping. Some navigation beacons still identify themselves in Morse, and the code is still part of pilot and sailor training in many countries.
Assistive technology. Because it only needs two signals โ on and off โ Morse code is used by people who cannot use a keyboard, with switches or eye blinks.
Puzzles and games. From crosswords to video games to escape rooms, Morse code is the classic "hidden message" โ which is why so many people look it up.
Common mistakes to avoid
1. Mixing up the gaps. A space between letters and a slash between words are different things. If your decoded message comes out as gibberish, check the gaps first.
2. Forgetting that E and T are one signal each. A single dot is E and a single dash is T. A stray dot at the start or end of a group changes the whole letter.
3. Using the wrong alphabet. American Morse Code (used on early US telegraphs) is different from International Morse Code. If a code looks wrong, check which version the source uses โ almost everything today is International.
4. Translating letter by letter in your head for long messages. It is slow and you will make mistakes. For anything over a few words, use the translator and check the result.
5. Writing Morse without testing it. Before you put a Morse message on a poster, a card or a tattoo, decode it back with the tool and read it. One wrong dot is easy to miss and hard to fix later.
FAQ
How do I translate text to Morse code online? Paste your text into a free translator, such as the Morse Code Translator, and the Morse code appears instantly. You can also hear it played as audio.
How do I read Morse code back into text? Split the code into letter groups at the spaces and look each group up in the alphabet table. Or paste the code into a translator, which decodes it automatically โ remember that words are separated by a slash or a double space.
What is SOS in Morse code? SOS is ... โโโ ... โ three dots, three dashes, three dots. It is the international distress signal, chosen because it is simple, unmistakable, and easy to send even by someone who knows no other Morse code.
Can I translate Morse code on my phone? Yes. An online translator works in any mobile browser: paste the text or the code, tap translate, and copy the result. There is nothing to install.
The bottom line
Morse code is simple โ dots, dashes and gaps โ but translating it by hand is slow and easy to get wrong. Memorise SOS because it might matter, and use a translator for everything else.
Try it now: type a message into the free Morse Code Translator and see it in dots and dashes โ or paste in some code and hear what it says.
Related: "How to Count Characters Online (Free Character Counter)" (blog), for the Morse Code Translator tool.