Every dayText & Encoding

Morse Code
converter.

Turn text into dots and dashes, or read a Morse message, then hear it at your speed.

How it's worked out

International Morse code is set by ITU-R M.1677-1. It gives each letter, digit and common mark a pattern of short and long signals. Frequent letters are short: E is . and T is -. Every digit has five signals, so 0 is -----.

Timing is counted in units, where one unit is the length of a dot. The ITU sets the rest from that:

  • A dash lasts 3 units.
  • The gap between the signals inside one letter is 1 unit.
  • The gap between two letters is 3 units.
  • The gap between two words is 7 units.

Speed is in words per minute (wpm). The ARRL timing standard measures it with the word PARIS, which is 50 units long with the space after it. Sending it once a minute is 1 wpm, which gives the unit length below. At 20 wpm a dot lasts 60 ms.

u\displaystyle u=1.2c\displaystyle {}= \frac{1.2}{c}

Here u is one unit in seconds and c is the speed in wpm. The sending time is the number of units in the message times u.

Farnsworth spacing sends each letter at a fast character speed c but stretches the gaps, so the effective speed s is lower. The ARRL formula finds the extra time ta to spread over the 19 units of gaps in a PARIS word:

ta\displaystyle t_a=60c−37.2ssc\displaystyle {}= \frac{60c - 37.2s}{sc}
letter gap\displaystyle \text{letter gap}=3ta19\displaystyle {}= \frac{3t_a}{19}
word gap\displaystyle \text{word gap}=7ta19\displaystyle {}= \frac{7t_a}{19}

Worked examples

Maya sends her first CQ call

Maya has just passed her amateur radio exam and wants to call any station that can hear her. The ITU calling form is the call, the word DE, her own call sign, then K, the invitation to transmit. She types "CQ CQ DE W1AW K".

The message is 151 units long. At 20 wpm that takes 9.1 s. At 13 wpm it takes 13.9 s, because every unit is longer.

Open this example in the tool

Leo learns the code by sound at 18/5

Leo is learning, and the ARRL practice standard sends letters at 18 wpm below that speed. He sets the character speed to 18 and the effective speed to 5. Each letter keeps its 18 wpm rhythm, with dots of 67 ms.

The gaps grow to 1.57 s between letters and 3.66 s between words. PARIS takes 8.3 s. Sent as plain 5 wpm it takes 10.3 s, with every dot 240 ms long, which is slow enough to count. At a full 18 wpm it takes 2.9 s.

Open this example in the tool

Ines reads the code on a café sign

Ines finds "-.-. .- ..-. ..-.. / --- .--. . -." painted over a door. She switches to Morse to text and pastes it. A space splits the letters and the slash splits the words.

It reads "CAFÉ OPEN". The fourth letter, ..-.., is the accented e that the ITU lists with the letters, so the accent is kept. Pasting with bullets and long dashes works too: "••• ––– •••" reads "SOS".

Open this example in the tool

Reading your result

Sending time is for the whole message, gaps included. A longer message or a slower speed takes longer. Even "SOS" alone is 27 units.

Dot length and letter gap tell you the rhythm. With Farnsworth spacing on, the letter gap is longer than 3 dots, and the effective speed is what a listener copies in a minute.

Skipped and unknown list what did not convert. A mark with no code, such as "%" in "2% off", is skipped. A pattern with no letter, such as six dots, shows as a box and is listed.

Service signals are sent as one run with no letter gap. The ITU gives Wait as .-.... Type them as letters here and they are spaced as letters.

Common mistakes

  • Using one space between words when decoding. One space only splits letters, so the words run together. Put a slash between words, or three spaces.
  • Typing a percent or a times sign. The ITU has no signal for either. It says to send × as the letter X, and 2% as 2-0/0, with a hyphen and a zero over a zero. Type that form to send it.
  • Setting the effective speed above the character speed. Farnsworth only adds space, so an effective speed at or above the character speed gives normal timing.
  • Counting the signals at slow speeds. At 5 wpm each dot lasts a quarter of a second, long enough to count. Learning the sound of each letter at 18 wpm or faster avoids that habit.

Questions people ask

Put one space between letters and a slash between words, such as .... .. / - .... . .-. . for HI THERE. A bar or three spaces also mark a word break here. With only single spaces, the decoder reads the whole line as one long word.

Sources