What is Morse Code?
Morse code encodes letters, digits and punctuation as sequences of short and long signals: dots (also called “dits”) and dashes (“dahs”). It was developed in the 1830s and 1840s by Samuel Morse and Alfred Vail for the electric telegraph and became one of the earliest forms of digital communication. Each character is a pattern of one to seven signals. The letter A is .-, B is -..., and the distress signal SOS is ...---....
Written Morse uses a period for a dot and a hyphen for a dash. A single space separates letters and a slash separates words: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. reads HELLO WORLD. Because the encoding is variable-length, with the most common English letters (E and T) getting the shortest codes, it is an early example of the same idea used by Huffman coding.
How to Use the Morse Code Translator
- Type or paste text or Morse code into the input box.
- Press Translate or
Ctrl+Enter. The tool detects the direction for you. Input made only of dots, dashes, spaces,/and|is decoded to text, and anything else is encoded to Morse. A note under the buttons says which way it went. - Force a direction with To Morse or To Text if the guess is wrong. A bare
...is decoded as the letter S, for example, but you may have meant three periods. - Press Play to hear the result. Set the speed, Farnsworth spacing and tone pitch in the settings row.
- Copy the output with the Copy button or
Ctrl+Shift+C, and clear everything withCtrl+L.
Line breaks are kept in both directions, so a multi-line message keeps its shape. Notes under the buttons list anything that didn’t translate cleanly: skipped characters, letters sent without their accent, prosigns, and unrecognized codes.
Morse Code Alphabet
| Letter | Code | Letter | Code | Digit | Code |
|---|---|---|---|---|---|
| A | .- | N | -. | 0 | ----- |
| B | -... | O | --- | 1 | .---- |
| C | -.-. | P | .--. | 2 | ..--- |
| D | -.. | Q | --.- | 3 | ...-- |
| E | . | R | .-. | 4 | ....- |
| F | ..-. | S | ... | 5 | ..... |
| G | --. | T | - | 6 | -.... |
| H | .... | U | ..- | 7 | --... |
| I | .. | V | ...- | 8 | ---.. |
| J | .--- | W | .-- | 9 | ----. |
| K | -.- | X | -..- | ||
| L | .-.. | Y | -.-- | ||
| M | -- | Z | --.. |
Digits follow a simple rule: 1 to 5 start with that many dots, and 6 to 0 start with dashes. That makes them easy to learn and hard to confuse with letters.
Punctuation and Accented Letters
| Character | Code | Character | Code | Character | Code |
|---|---|---|---|---|---|
. | .-.-.- | / | -..-. | @ | .--.-. |
, | --..-- | ( | -.--. | ! | -.-.-- |
? | ..--.. | ) | -.--.- | & | .-... |
' | .----. | : | ---... | ; | -.-.-. |
" | .-..-. | = | -...- | _ | ..--.- |
- | -....- | + | .-.-. | $ | ...-..- |
| É | ..-.. | Ä | .-.- | Ñ | --.-- |
| À | .--.- | Ö | ---. | Ü | ..-- |
The current standard, ITU-R M.1677-1, defines the letters, digits, É and the punctuation in the first two columns, plus @, which was added in 2004. !, &, ;, _, $ and the other accented letters are common extensions used by radio amateurs and other countries’ telegraph codes, and most decoders understand them.
Prosigns: SOS, AR, SK and Friends
A prosign (procedural sign) is a group of letters sent as one character, with no letter gap between them. They control the flow of a conversation rather than carry text. In writing they are shown with angle brackets or an overbar.
| Prosign | Code | Meaning |
|---|---|---|
<SOS> | ...---... | Distress signal |
<AR> | .-.-. | End of message (same code as +) |
<SK> | ...-.- | End of contact |
<BT> | -...- | Break, new paragraph (same code as =) |
<KN> | -.--. | Go ahead, named station only (same code as () |
<AS> | .-... | Wait (same code as &) |
<KA> | -.-.- | Start of message |
<SN> | ...-. | Understood (also written VE) |
<HH> | ........ | Error, eight dots |
SOS is the best-known example. It isn’t the letters S, O and S with gaps between them. It is one unbroken nine-signal pattern, chosen at the 1906 Berlin Radiotelegraph Convention because it is easy to send and hard to mistake. “Save Our Souls” is a backronym added later. To encode a prosign here, type it in angle brackets, such as <SOS> or <AR>. The plain word SOS is encoded as three separate letters.
Morse Code Timing, WPM and Farnsworth Spacing
Spoken or radio Morse is defined by timing, not symbols. Everything is measured in units:
- A dot is 1 unit and a dash is 3 units.
- The gap between signals inside a letter is 1 unit.
- The gap between letters is 3 units, and the gap between words is 7 units.
Speed is quoted in words per minute (WPM) using the standard word PARIS, which is exactly 50 units long including its word gap. One unit therefore lasts 1.2 / WPM seconds: 60 ms at 20 WPM and 100 ms at 12 WPM. The Speed setting uses this formula.
Farnsworth timing sends each letter at full character speed but stretches the gaps between letters and words, so the overall (effective) speed is lower. Learners hear each letter as a fixed rhythm instead of counting dots, which prevents a plateau around 10 WPM. To use it, set Speed to 18–20 WPM and Farnsworth to your comfortable speed, such as 8 or 10. The player follows the ARRL Farnsworth formula, which spreads the extra delay over letter and word gaps in a 3:7 ratio. The Koch method pairs well with it: start with two letters at full speed, and add one more each time you reach 90% copy accuracy.
Word Separators and Pasting Morse from Other Sites
Different translators, books and puzzles write word gaps differently. This decoder accepts all the common styles:
- Slash —
... --- ... / .... . .-.. .--.is the most common style. Spaces around the slash are optional, and a trailing/(which many translators append) is ignored instead of producing a stray character. - Vertical bar —
|between words. - Three or more spaces — the written equivalent of the 7-unit gap.
- New line — each line is decoded separately and line breaks are kept.
Typographic symbols are normalized first. Middle dots ·, bullets • and the katakana middle dot become dots. The minus sign −, en dash –, em dash —, hyphen variants and underscores become dashes, and an ellipsis … becomes three dots.
Common Errors When Decoding Morse
- Missing letter spaces. Without a space,
.-+...becomes.-..., which decodes as&. A run like.-.-.-.-matches nothing and is shown as[.-.-.-.-]. Unrecognized codes are always shown in square brackets, never as?, because?is itself the code..--... - O versus 0. O is three dashes and zero is five. Count carefully when transcribing by ear.
- Autocorrect damage. Word processors may turn
--into an em dash and...into an ellipsis. Both are repaired automatically here, but other tools may reject them. - Mixed input. If the input contains letters as well as dots and dashes, Translate treats it as text and encodes everything, including the dots. Remove the stray text or press To Text.
- Unsupported characters. Morse has no code for €, ©, emoji or most symbols. They are skipped and listed in the note, so you know exactly what was left out.
International vs American Morse
The code Samuel Morse and Alfred Vail first used is now called American Morse. It had spaces inside some letters (C was .. .) and three dash lengths. In 1848 Friedrich Gerke simplified it into the code that became International Morse. It was adopted across German and Austrian telegraph lines in 1851 and standardized at the 1865 International Telegraph Conference in Paris. American Morse survived on US railroad and landline telegraphs well into the 20th century, but radio used International Morse from the start. This translator uses International Morse only.
Where Morse Code Is Still Used
Ships stopped relying on Morse in 1999, when the GMDSS satellite and digital system replaced it. Since 2007, the US no longer requires a Morse test for an amateur radio licence. Morse (often called CW, for continuous wave) is still popular with radio amateurs. A Morse signal is very narrow and can be copied by ear through noise that would drown out a voice. Aviation navigation beacons (VOR and NDB) identify themselves with two- or three-letter Morse idents that pilots check by ear. Morse is also an accessibility method: one switch, a puff of breath or an eye blink is enough to type, and phone keyboards such as Gboard offer a Morse input mode. Puzzle hunts, escape rooms and CTF challenges still hide clues in dots and dashes, which is why this tool decodes the messy formats people actually paste.
Radio operators also use short codes such as CQ (-.-. --.-), a general call to any station, 73 (--... ...--), meaning best regards, and Q codes like QTH (location) and QRS (please send more slowly).