Free Morse Code Translator
This morse code translator turns plain text into dots and dashes and decodes Morse back into words you can read. Listen to it as beeps at your own speed or watch the lamp flash each signal. Your text never leaves your device, and nothing is uploaded.
Last updated 28 November 2026
Sound uses the Web Audio API in your browser. Nothing is uploaded, and the beeps play only when you press Play Sound.
Morse code is older than the telephone, and it still works. Samuel Morse and Alfred Vail worked it out in the 1830s and 1840s, and the international version is still the one radio operators learn today. This page lets you try it without any radio at all: type a sentence, see the dots and dashes, and hear how it sounds.
How to use this morse code translator
- Type your text: type the words you want to turn into Morse code, or paste Morse code to decode it.
- Pick a direction: use Text to Morse to encode, or Morse to Text to decode. Swap flips the result back into the input box.
- Read the result: dots and dashes appear at once. Letters are split by spaces and words by a slash.
- Play it out loud: press Play Sound to hear the beeps and watch the light flash. Change the speed slider to slow it down or speed it up.
The morse code alphabet
Each letter gets its own pattern of short dots and long dashes. A is dot dash, B is dash dot dot dot, and the numbers run from 0 to 9 the same way. The table here is the full international set, letters, numbers and common marks like the full stop and the question mark, so it works as a morse code chart you can check against while you listen. A dot lasts one unit and a dash lasts three. Letters are split by a short gap and words by a longer one, which is why this page writes a slash between words. Speed is measured in words per minute, and at 15 words per minute a dot lasts 80 milliseconds, so a whole sentence plays in a few seconds.
| 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 | --.. |
| 0 | ----- | 5 | ..... |
| 1 | .---- | 6 | -.... |
| 2 | ..--- | 7 | --... |
| 3 | ...-- | 8 | ---.. |
| 4 | ....- | 9 | ----. |
Turning text into code is a fun rabbit hole. If you enjoy it, try the text to binary converter, which turns the same sentence into 1s and 0s, or the text to ASCII converter, which shows the number your computer stores for each letter. The same letters look different in every code, and comparing them is a good way to see how computers store words.
Learning to read it
Start slow. Set the speed low, play one letter, and say it out loud before you look at the answer. Short words come first: your name, then SOS, then a whole sentence. Listening beats staring at the dots, because on the radio there is nothing to stare at. When a letter trips you up, slow the beeps down and play it again. Most people pick up the common letters in a few short sessions. You can also paste dots and dashes you copied from somewhere else and decode morse code back into plain words.
What this page cannot do
This page translates written text only. It cannot listen to a radio signal or a recording and decode the beeps for you, and it cannot send Morse code over a radio. Letters outside the standard table, such as emoji or accented letters, are skipped, and the page tells you when nothing could be translated. The sound needs a browser that supports the Web Audio API, which covers all modern browsers.
Frequently Asked Questions
Yes. Press Play Sound and the tool beeps each dot and dash through your speakers, using the Web Audio API built into your browser. The speed slider sets the pace, and the lamp flashes in time with the sound. Nothing is downloaded or uploaded, and the beeps stop when the message ends.
Paste the dots and dashes into the top box, with a space between letters and a slash between words, then press Morse to Text. The tool reads the international table and prints the words below. A pattern it does not recognise shows as a question mark, so you can spot where a signal got garbled.
Yes, the alphabet table above lists every letter and number with its dots and dashes. It matches the international Morse table, so you can learn from it or check a signal against it while you listen.
SOS is three dots, three dashes, three dots. It was picked as a distress signal because the pattern is easy to remember and easy to recognise, not because it stands for words.
Once the page has loaded, yes. The translator runs entirely in your browser, so you can use it without a connection. The only thing that needs the internet is loading the page itself the first time.
The same letters in base 16: try the text to hex converter.