Morse code translator
Type text to turn it into Morse code, or paste dots and dashes to read them. Press Play to hear it.
This free Morse code translator works in your browser, even offline once loaded. All inputs and calculations run locally on your device without server uploads; details on browser processing and storage are set out in the privacy policy.
The Morse alphabet
| 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 | ––·· |
How Morse code is written
Each letter is a pattern of short signals (dots) and long signals (dashes). In writing, letters are separated by a space and words by a slash, which is what this translator produces and expects. When played, a dash lasts three times as long as a dot, the gap between letters is three dots long and the gap between words is seven.
The most famous sequence, SOS (... --- ...), was chosen as a distress signal in 1906 because it is easy to send and recognise, not because the letters stand for anything.
Worked example: Translating 'CQ DX 73' to International Morse and calculating timing at 20 WPM
In International ITU Morse code, timing is measured in base dit units derived from the reference word PARIS (which equals exactly 50 dit units):
- Text input:
CQ DX 73(Amateur radio general call, long distance, best regards). - Letter-by-letter encoding (space between letters,
/between words):C=-.-.,Q=--.-→-.-. --.-D=-..,X=-..-→-.. -..-7=--...,3=...--→--... ...--- Full Morse output:
-.-. --.- / -.. -..- / --... ...--
- Audio timing at 20 WPM (
T_dit = 1200 / WPMmilliseconds): At 20 WPM, 1 dit =1200 ÷ 20 = 60 ms; 1 dah (3 units) =180 ms; gap between dits/dahs inside a letter (1 unit) =60 ms; gap between letters (3 units) =180 ms; word gap/(7 units) =420 ms.
Limits and what this tool cannot do
- ITU-R M.1677-1 Latin alphabet, digits
0–9, and standard punctuation only: Characters outside the International Morse table (such as non-Latin scripts or emoji) are skipped during translation. - No uppercase vs lowercase distinction in Morse code: International Morse has only one code per letter (
Aandaare both.-), so decoding Morse back to text outputs uppercase letters (CQ DX 73). - Does not decode live microphone audio or CW radio recordings: This tool translates between text and dot/dash strings and plays synthesized Web Audio API sine tones (
600–700 Hz); it does not decode.wavradio audio.
Questions
Does it detect which way to translate?
Yes. If you type only dots, dashes, spaces and slashes it reads Morse; anything else is treated as text.
Which characters are supported?
Letters A–Z, digits 0–9 and common punctuation such as . , ? ! / ( ) & : ; = + - _ " $ and @.
Why does the sound not play?
Some phones mute web audio in silent mode. Turn the ringer on, or try headphones.
How do I format dots, dashes, and word spaces when pasting Morse code to decode?
Put a single space between each letter's code (like ... --- ... for SOS), and put either a forward slash surrounded by spaces ( / ) or three spaces between separate words.
Why is SOS written ...---... without letter spaces?
The distress signal SOS is a single procedural signal (prosign) sent as one continuous 9-element sequence (...---...) rather than three separate letters, chosen because three dots, three dashes, and three dots are unmistakable even through heavy radio static.
Why is the word PARIS used to define Words Per Minute (WPM) in Morse code?
Counting every dit (1 unit), dah (3 units), intra-character gap (1 unit), and inter-character gap (3 units) plus the trailing word gap (7 units), the word PARIS totals exactly 50 time units—making 1.2 / WPM seconds the exact length of one dit.
Related converters and guides
- Case converterChange text to UPPERCASE, lowercase, Title Case, camelCase and more.
- Word counterCount words, characters, sentences and reading time as you type.
- Text cleanerStrip extra spaces, HTML, emoji and invisible characters.
- Email and link extractorPull emails, URLs, phone numbers or hashtags out of any text.