Morse Code Translator
Translate text to Morse code and Morse code back to text with audio playback and visual signal display.
Related Tools
How to Use
- Enter Text or Morse Code — Type or paste plain text to encode, or enter dots and dashes to decode Morse code.
- Select Direction — Leave Direction on Auto-detect, or choose Text → Morse or Morse → Text yourself. Optionally pick an audio speed in words per minute.
- View and Copy Results — Click Translate to see the output, then copy or download the result, or play the Morse audio while the signal strip lights up each dot and dash.
About the Morse Code Translator
The Morse Code Translator turns text into International Morse code and decodes dots and dashes back into text. It can also play the code as audio at 5 to 30 words per minute while a signal strip lights up each dot and dash. Amateur radio operators use it to practice copying by ear, teachers to demonstrate how the code works, and puzzle and escape-room designers to check a clue before they print it.
How it works
- Direction. On Auto-detect, input made only of dots, dashes, slashes, vertical bars and spaces is decoded; anything else is encoded. You can also choose Text → Morse or Morse → Text yourself.
- Encoding. Each character is looked up in a table of 26 letters, 10 digits and 18 punctuation marks. Letters are separated by one space and words by
/, and line breaks are kept. Accents are removed before lookup (É → E, ñ → N), and curly quotes and apostrophes count as straight ones. Characters with no code, such as emoji, #, % or π, are skipped and listed under the result, so nothing disappears silently. - Decoding. Letters can be separated by single spaces, and words by
/,|or a gap of three or more spaces. Middle dots and bullets are read as dots, and the minus sign, en dash, em dash and underscore as dashes, so code copied from books and web pages usually decodes as it is. A sequence that matches no character appears as # and is listed, which makes typos easy to find. - Audio. Tones are 600 Hz. Timing follows the standard ratios: a dot is 1 unit, a dash 3, the gap inside a letter 1, between letters 3 and between words 7. One unit lasts 1.2 seconds divided by the speed in words per minute (the PARIS standard, in which that word plus one word gap is exactly 50 units), so a unit is 80 ms at 15 WPM and 40 ms at 30 WPM.
Worked examples
| Input | Result |
|---|---|
SOS | ... --- ... (27 units, 2.16 seconds at 15 WPM) |
Hello, World! | .... . .-.. .-.. --- --..-- / .-- --- .-. .-.. -.. -.-.-- |
Café 👋 #1 | -.-. .- ..-. . / .----, with 👋 and # listed as skipped |
.- / -... | -.-. | A B C |
.... . .-.. .-.. ---, three spaces, .-- --- .-. .-.. -.. | HELLO WORLD |
..-- | #, flagged as an unrecognized sequence |
Edge cases and limits
- Decoded text is always in capitals, because Morse code has no upper and lower case.
- Auto-detect treats punctuation-only input as Morse: an ellipsis (...) decodes to S and a lone hyphen to T. Choose Text → Morse when you want to encode text like that.
- Prosigns such as SK or AR, which are sent as one run-together character, are not in the table; type them as separate letters. Letters without a base Latin form (ß, ø, æ) and other scripts, such as Cyrillic or Greek, have no code here and are skipped.
- Letters, digits and most punctuation follow ITU-R M.1677-1, the ITU recommendation that defines International Morse code. The codes used for ! ; _ and $ are widely used extensions that are not part of that recommendation, and the code for & (.-...) is also the ITU "wait" signal.
- Audio uses standard spacing at the chosen speed; Farnsworth timing (fast characters with stretched gaps) is not offered. The signal strip shows the first 400 letters, while the audio plays everything.
When to use it
To practice listening, translate a sentence, look away, play it at 5 or 10 WPM and write down what you hear, then compare. To check code you sent or transcribed by hand, paste it in and look for # marks. To make a puzzle, geocache clue or classroom exercise, encode a short message and download it as a .txt file. Morse is still part of amateur radio, and radio navigation beacons in aviation identify themselves with short Morse codes. For the history, the full alphabet and advice on learning it, read Morse Code: Complete History, Alphabet, and Translator. To spell words aloud over a voice channel instead, use the NATO Phonetic Alphabet Translator.
Translation and audio are generated in your browser with the Web Audio API; nothing you type is uploaded.
Frequently Asked Questions
What characters does the Morse Code Translator support?
The translator supports all 26 English letters (A-Z), digits 0-9, and common punctuation marks including period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals sign, plus, hyphen, underscore, quotation mark, dollar sign, and the at symbol. Accented letters are sent as their base letter (É becomes E). Characters with no International Morse code, such as emoji, are skipped and listed below the result so nothing disappears silently.
How are spaces and word boundaries handled?
Individual letters are separated by a single space, and words are separated by a forward slash (/). Line breaks are kept. When decoding, the tool recognizes slash or vertical-bar separators and gaps of three or more spaces between words, and unrecognized sequences are shown as # so you can spot typos.
Can I hear the Morse code audio?
Yes. After translating, click Play Audio to hear the dots and dashes as 600 Hz tones, and click Stop at any time. Playback follows ITU timing: a dot is one unit, a dash is three units, the gap inside a letter is one unit, the gap between letters is three units, and the gap between words is seven units. Choose a speed from 5 to 30 words per minute; one unit lasts 1.2 seconds divided by the WPM value.
Is Morse code still used today?
Morse code remains relevant in amateur (ham) radio, aviation, naval communication, and accessibility technology. The universal distress signal SOS (... --- ...) is recognized worldwide. Many hobbyists and emergency preparedness communities continue to practice Morse as a reliable, low-bandwidth communication method.
Does this tool support International Morse Code or American Morse Code?
WritePadPro uses International Morse Code as defined in ITU-R M.1677-1, the version used in amateur radio and maritime communication. The codes for !, ;, _ and $ are common extensions that are not part of the ITU recommendation. American Morse Code, an older variant used on landline telegraphs, is not supported.