🔊 Morse Code Translator
Encode text to Morse code and decode Morse back to text. Play as audio. Supports international ITU standard.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| -. | --- | .--. | --.- | .-. | ... | - | ..- | ...- | .-- | -..- | -.-- | --.. |
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|
| ----- | .---- | ..--- | ...-- | ....- | ..... | -.... | --... | ---.. | ----. |
📖 How to Use the Morse Code Translator
- Type or paste your text into the input box in the "Text → Morse" tab. The Morse code translation appears instantly as you type with dots (.) and dashes (-).
- View the live translation in the output area below. Letters are separated by spaces, words by forward slashes (/). The character count is displayed beneath the output.
- Use the Play button to hear the Morse code as audio tones. A dot produces a short beep, a dash produces a beep three times longer. Adjust the playback speed with the WPM slider (5–40 WPM).
- Click Copy to copy the Morse code output to your clipboard for use in other applications or messages.
- To decode Morse code back to text, switch to the "Morse → Text" tab. Paste Morse code using dots (.) and dashes (-), separate letters with spaces, and words with forward slashes (/). Click Decode to see the result.
⚙️ How the Morse Code Translator Works
The Morse Code Translator uses a lookup table based on the international ITU-R M.1677-1 Morse code standard, which defines unique dot-dash sequences for every letter (A–Z), digit (0–9), and common punctuation mark. When you type in the Text → Morse tab, each character is converted to its Morse equivalent in real time using JavaScript string replacement. Letters are separated by single spaces and words by forward slashes.
For Morse → Text decoding, the tool splits the input by spaces and looks up each dot-dash sequence in a reverse dictionary. Unknown sequences are rendered as question marks (?). The decoder handles extra whitespace gracefully so you can paste raw Morse code without worrying about formatting.
The audio playback uses the Web Audio API to generate precise tone sequences. A dot produces a tone at 700 Hz for one time unit, while a dash produces the same tone for three time units. The WPM (Words Per Minute) slider adjusts the timing — 15 WPM uses a dot duration of approximately 60 milliseconds, while 5 WPM slows it to about 180 milliseconds. All processing happens entirely in your browser — no data is ever sent to a server.
🎯 When to Use the Morse Code Translator
- Learning Morse code — Practice by typing words and seeing (and hearing!) their Morse equivalents. A great study aid for amateur radio license exams.
- Creating secret messages — Encode messages in Morse code for puzzles, escape rooms, geocaching clues, or just for fun with friends.
- Emergency preparedness — Morse code can be transmitted by light, sound, or radio when other communication methods fail. Familiarize yourself with the basic alphabet.
- Decoding received Morse — If you have a recording or transcript of Morse code (from a radio transmission, movie, or puzzle), paste it into the decoder to reveal the hidden message.
- Accessibility and alternative communication — Morse code can serve as an alternative input method for people with limited mobility. Knowing the code opens up assistive technology options.
❓ Frequently Asked Questions
How do I translate text to Morse code online?
Type or paste your text into the input field on this page. The Morse code translation appears instantly in real time below. Each letter, number, and punctuation mark is converted using the international ITU Morse code standard.
Can I decode Morse code back to English text?
Yes. Switch to the Decode tab and paste Morse code using dots (.) for short signals and dashes (-) for long signals. Separate letters with spaces and words with forward slashes (/). The tool decodes it back to text instantly.
Is this Morse code translator free to use?
Yes, this Morse code translator is completely free with no sign-up, no downloads, and no usage limits. All translation happens in your browser — nothing is sent to any server.
What is the international Morse code standard?
International Morse Code (ITU-R M.1677-1) is the global standard used for radio communication. It encodes letters A-Z, digits 0-9, and common punctuation as sequences of dots (short signals) and dashes (long signals). This tool follows the ITU standard exactly.
How does the Morse code audio playback work?
Click the Play button and the tool uses the Web Audio API to generate tone sequences. A dot produces a short beep, a dash produces a beep three times longer. The frequency is set to 700 Hz for comfortable listening, with adjustable speed from 5 to 40 WPM.
Does this tool work on mobile phones and tablets?
Yes. The Morse Code Translator is fully responsive and works on all devices — phones, tablets, laptops, and desktops. The Web Audio API for Morse playback is supported across all modern mobile browsers including Safari iOS and Chrome Android.
What is the difference between American and International Morse code?
American Morse code (also called Railroad Morse) was used for early telegraph systems in the US and has different dot/dash patterns for some letters. International Morse code (ITU standard) is the modern global standard used by this tool and all amateur radio operators worldwide.
Why does my Morse code decoding show question marks?
Question marks (?) appear when the Morse code sequence does not match any known character. Make sure you use dots (.) and dashes (-) only, separate letters with a single space, and separate words with a forward slash (/). Unsupported characters like accented letters are converted to their base ASCII equivalents.