A Morse code translator converts regular text into Morse code and can decode Morse code back into readable text. International Morse code uses short signals called dots (.) and longer signals called dashes (-) to represent letters, numbers, and common punctuation.
For a quick conversion, try the free W3Schools Morse code translator, which can translate text in both directions and play the code as audio. This guide explains how translation works, shows the Morse alphabet and number chart, and helps you avoid common spacing mistakes.
Table of Contents
How to Use a Morse Code Translator
Most online translators let you switch between text-to-Morse and Morse-to-text. Some detect the direction automatically; others ask you to choose a mode.
Convert text to Morse code
- Open a Morse code translator.
- Choose Text to Morse if the tool does not detect the direction automatically.
- Type or paste your message, such as
HELLO. - Read or copy the dots-and-dashes result.
- If audio is available, play the signal to hear the rhythm.
Example: HELLO becomes .... . .-.. .-.. ---.
Decode Morse code to text
- Choose Morse to Text or Decoder.
- Enter dots and dashes with a space between each letter.
- Use a slash (
/) between words if the translator uses that format. - Run the translation and check the output against the original message.
Example: .... . .-.. .-.. --- decodes to HELLO.

Common Morse Code Translator Examples
These examples use International Morse code. The slash marks a gap between words; it is a written separator, not a signal you must send.
| Text | Morse code |
|---|---|
| SOS | ... --- ... |
| HELLO | .... . .-.. .-.. --- |
| HELP | .... . .-.. .--. |
| I LOVE YOU | .. / .-.. --- ...- . / -.-- --- ..- |
| GOOD NIGHT | --. --- --- -.. / -. .. --. .... - |
| 123 | .---- ..--- ...-- |
International Morse Code Alphabet Chart
Use this chart to look up a letter when you are translating by hand or checking a translator’s result.
| Letter | Morse | Letter | Morse |
|---|---|---|---|
| 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 | --.. |
Morse Code Numbers Chart
| Number | Morse code | Number | Morse code |
|---|---|---|---|
| 0 | ----- |
5 | ..... |
| 1 | .---- |
6 | -.... |
| 2 | ..--- |
7 | --... |
| 3 | ...-- |
8 | ---.. |
| 4 | ....- |
9 | ----. |
Common Punctuation in Morse Code
Translators may support different sets of punctuation, so check the selected tool if a symbol is not converted.
| Character | Morse code |
|---|---|
| Period (.) | .-.-.- |
| Comma (,) | --..-- |
| Question mark (?) | ..--.. |
| Apostrophe (‘) | .----. |
| Hyphen (-) | -....- |
| Slash (/) | -..-. |
| Parentheses ( ) | -.--. and -.--.- |
| Colon (:) | ---... |
| Semicolon (;) | -.-.-. |
The International Telecommunication Union publishes the International Morse code recommendation. See the official ITU International Morse code standard for the formal reference.
Why Spacing Matters When Decoding Morse Code
Spacing is one of the most common reasons a Morse message fails to decode correctly. Letters are made from a connected pattern of dots and dashes, so you must separate each character clearly when writing the code down.
- Inside one letter: do not add spaces between its dots and dashes. For example, A is
.-, not. -. - Between letters: put one space between character patterns in written Morse.
- Between words: use a slash (
/) if the translator expects it, or follow the tool’s instructions.
For example, .... . / .... .. means HE HI. If you remove the letter spaces or word separator, a text decoder may split the signal incorrectly or return an unexpected result.
How Morse Code Timing Works
Morse code is a rhythm as well as a written pattern. Under standard timing, a dot lasts one time unit, a dash lasts three units, the gap between parts of the same letter is one unit, the gap between letters is three units, and the gap between words is seven units. Audio tools use this timing to play short and long beeps.
Many translators let you adjust playback speed, often measured in words per minute (WPM), and may let you change the tone. If you are learning, start at a comfortable speed and focus on recognizing the sound pattern rather than counting every dot and dash.
What to Look for in a Morse Code Translator
- Two-way conversion: it should translate plain text to Morse and decode Morse back to text.
- Correct spacing: it should make letter and word boundaries easy to read.
- Alphabet and number support: check that it covers the characters you need.
- Audio playback: useful if you want to hear how the code sounds.
- Copy and download options: helpful for saving or sharing a message.
- Privacy information: check whether your text is processed in your browser or sent to a server, especially if your message is private.
If you need to spell names or words aloud over the phone or radio rather than convert them into dots and dashes, our guide to the military phonetic alphabet covers a different way to make letters easier to understand.
What Is SOS in Morse Code?
SOS is written as ... --- ...: three dots, three dashes, and three dots. It is an internationally recognized distress signal. It is not officially an abbreviation for “Save Our Ship”; the signal was chosen for its clear, distinctive pattern.
Common Morse Code Translator Problems
The result looks like one long string
Check that there is a space between each letter and a slash or other supported separator between words.
Some characters disappear
Your translator may not support every punctuation mark, emoji, or accented letter. Replace unsupported symbols or consult the tool’s supported-character list.
The decoded phrase does not make sense
Check for a missing dot, dash, or letter separator. If the code was heard as audio, you may also need to confirm where each letter starts and ends.
The audio plays too fast
Lower the WPM setting and listen again. Learn with short words before attempting longer messages.
Frequently Asked Questions
How do I translate text into Morse code?
Enter your text in a translator and choose Text to Morse if needed. The tool replaces each supported character with its International Morse pattern.
How do I translate Morse code back to English?
Enter the dots and dashes with spaces between letters and a slash or supported separator between words, then choose Morse to Text.
What is HELLO in Morse code?
HELLO is .... . .-.. .-.. ---.
What is I LOVE YOU in Morse code?
I LOVE YOU is .. / .-.. --- ...- . / -.-- --- ..-.
Can Morse code translate every language?
International Morse code directly covers the Latin alphabet, digits, and defined punctuation. Other languages may need a separate code standard, transliteration, or a tool that supports extended characters.
Is an online Morse code translator accurate?
A translator can convert supported symbols consistently, but the result depends on correct input, proper spacing, and the code table selected. Verify critical messages instead of relying on an unclear transcription.
Final Thoughts
A Morse code translator makes it easy to convert messages into dots and dashes or decode them back into text. For the best result, use a tool that supports both directions, separate letters and words correctly, and verify punctuation and unusual characters. The chart and examples above can also help you check a translation or learn the basic patterns by hand.
