Morse Code Translator

This Morse code translator turns text into dots and dashes and decodes Morse back to text. It detects the direction for you, and it can play the code as sound or a flashing light.

Updated
Runs in your browser. Your text is not uploaded.
Direction
Output

    
Play the Morse code

How to use the Morse Code Translator

  1. Type text, or paste Morse code such as ... --- ....
  2. The output appears at once. Letters are separated by spaces and words by a slash.
  3. Press Play to hear it. Set the speed in words per minute and the tone in hertz, or turn on the flashing light.

How it works

Each character maps to a fixed pattern from ITU-R recommendation M.1677-1. Timing is measured in dot lengths:

  • Dot: 1 unit. Dash: 3 units.
  • Gap between dots and dashes in a letter: 1 unit.
  • Gap between letters: 3 units. Gap between words: 7 units.

Speed uses the PARIS standard: one dot lasts 1.2 ÷ WPM seconds, so at 20 WPM a dot is 60 ms.

Examples

  • SOS = ... --- ....
  • HELLO = .... . .-.. .-.. ---.
  • .... .. / - .... . .-. . = HI THERE.
  • 73 (best regards) = --... ...--.

Morse code alphabet

CharacterCode
A.-
B-...
C-.-.
D-..
E.
F..-.
G--.
H....
I..
J.---
K-.-
L.-..
M--
N-.
O---
P.--.
Q--.-
R.-.
S...
T-
U..-
V...-
W.--
X-..-
Y-.--
Z--..
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.

Where Morse code is still used

Amateur radio operators still use Morse (called CW) because it gets through when voice can't. Aircraft navigation beacons send their identifiers in Morse, and SOS remains the best-known distress signal. The code is also used as an accessible input method, typed with one or two switches.

Limitations

  • Accented letters are sent without their accents. Characters with no Morse code are skipped and listed.
  • Prosigns (such as AR or SK) are not decoded as special signals.
  • Audio needs a browser with Web Audio support.

Frequently asked questions

What is SOS in Morse code?

... --- ... (three dots, three dashes, three dots), sent without gaps between the letters in a real distress call.

How are words separated in Morse code?

By a gap of seven dot lengths. In writing, a slash (/) or several spaces is used.

What speed should I practise at?

Many learners start at 15 to 20 WPM with wider gaps between letters (Farnsworth timing) and slowly close the gaps.

Often used together with the Morse Code Translator.