Morse Code Translator
  1. Translator
  2. Without spaces

Decode Morse code without spaces

Without spaces, one run of dots and dashes can be read many ways, and nobody can tell which one was sent from the marks alone. The solver below counts every valid reading, lists them with their letter splits, and lets you filter by what you know until one makes sense.

Find every reading of a message without spaces

Paste dots and dashes, with or without gaps. Any space you keep is treated as a fixed letter gap, and a slash as a gap between words. The tool counts every way the rest can be split into letters and lists the readings, so you can check each one.

Everything runs in this browser. What you paste is never uploaded or sent anywhere.

This solver needs JavaScript. Without it, split the marks by hand with the steps below.

The tool cannot know which reading was meant: every reading it lists is valid Morse code. Context has to decide, and the filters help you use it. It reads letters and digits only, no punctuation or procedure signals, and up to 10,000 marks at a time.

In short, you cannot decode Morse code without spaces for certain, because the spaces are the only thing that separates one letter from the next. What you can do is list every valid reading, then keep the ones that make sense:

  • keep every gap you do know: each one is fixed, and removes whole families of readings;
  • use what you know about the message: a word it contains, how many letters it has, whether it can hold digits;
  • read the survivors and let the context choose.

Why the spaces decide everything

The silences do the separating. The international standard sets the space inside a letter at one dot, the space between two letters at three dots and the space between two words at seven (ITU-R M.1677-1, section 2). At standard timing, a dot lasts 1.2 divided by the speed in words per minute, in seconds (ARRL, QEX, April 1990), so the three gaps come to this:

Length of the three gaps at three speeds
GapUnits10 WPM15 WPM20 WPM
Inside a letter1120 ms80 ms60 ms
Between letters3360 ms240 ms180 ms
Between words7840 ms560 ms420 ms

Everything else about a letter is in its marks, so once the gaps are gone the marks alone fit many splits. Take , the letter S. Run together, the same three dots can also be read as IE, EI, EEE, so the solver finds 4 readings for those three marks. The timing guide shows the same effect from the listener's side.

For a coding exercise with joined letter patterns, try Unique Morse Code Words.

Gaps get lost when a chat trims spaces, a puzzle is copied without them or a recording has no clear pauses. If you can still hear or see the pauses, measure them instead; Decode Morse code from audio explains how. Once they are gone for good, you have a counting problem, and the solver above handles it.

A worked example: HELLO

Here is HELLO with every gap removed: . It has 16 marks, and the solver finds 19,796 readings of them. The first five in its order are HFFJ, HFFWT, HFFAM, HFFATT, HFFEO. HELLO is reading number 691 in that order.

That order is only how the search runs, longest letters first. It is not a ranking, and it says nothing about which reading the sender meant. Even SOS, run together, has 192 readings.

HELLO at 15 WPM with its letter gaps: the version a listener could read with certainty.

How each thing you know narrows the list

Two words make a bigger problem: HELLO WORLD has 10 letters but only 32 marks to split. The table adds what you know one step at a time. Every row comes from the solver's own count.

How many readings the same marks have as you add what you know
What you know about 32 marksReadings
Nothing: every gap is missing602,102,696
Only the word gap kept (a slash between HELLO and WORLD)359,534,952
Word gap kept, plus spaces after HE and LL117,689,760
Nothing kept, but you know HELLO is in it (must contain)18,162
Word gap kept, and you know WORLD is in it19,796
Word gap kept, HELLO in it, and at most 10 letters47
Word gap kept, and you know both words, HELLO WORLD1

A known gap cuts the marks into pieces that are solved on their own, so the counts multiply instead of growing with the whole message. A space marks a boundary and nothing more: the tool does not assume that a group between two spaces is a single letter, because it cannot tell complete spacing from partial. A known word removes every reading that never spells it, and a letter limit removes the readings that are long strings of E and T.

How to pick the right reading

  1. Fix what you are sure of. Put a space at every letter gap you trust and a slash at every word gap. Even two or three fixed gaps shrink a long message.
  2. Search for words you expect. If you know a name, a greeting or a call sign is in the message, type it under Must contain. Readings without it drop out.
  3. Set a letter limit. Readings full of E and T have many letters. If the message is a short word or a known number of letters, a limit removes them.
  4. Choose letters only or letters and digits. Digits are five marks long and add readings. If the message has no numbers, leave them out.
  5. Read the survivors aloud. A real message tends to form words in the language you expect. Check each letter against the code drawn under the reading, and compare unclear ones with the Morse code alphabet.
  6. Let the source decide. Who sent it, in what language and for what purpose settles what several readings cannot. The tool cannot.

When one reading looks right, hear a reading in the translator to check it with the proper gaps, or use the icon with the Open this reading in the translator label beside any reading. How to read Morse code covers the habits that stop you losing the gaps in the first place, and What dot dot dot dash means looks at one run of marks and its many meanings.

What the tool cannot do

It knows no language, so it cannot rank readings by how much they look like words, and it does not repair mistakes: if a dot or a dash was lost or added, no reading is right. It leaves out punctuation and procedure signals such as SOS sent as one character, so a message that uses them will not appear in the list.

If your puzzle names fractionated Morse, use the fractionated Morse cipher guide to follow its decoding steps.

For plain text in the other direction, the translator turns letters into Morse code with the correct gaps. For a photo of a code, Decode Morse code from a picture reads the marks first.

Sources

  1. Recommendation ITU-R M.1677-1, International Morse code. ITU Radiocommunication Sector, October 2009.
  2. A Standard for Morse Timing Using the Farnsworth Technique, Jon Bloom, KE3Z. ARRL, QEX, April 1990.