Morse Code Translator

Type text to turn it into Morse code, or paste dots and dashes to read them. Press Play to hear it at the speed and pitch you choose.

Example:Morse code

.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Play it

A dot lasts 67 ms. Plays in 7.4 s.

Morse code chart (ITU-R M.1677-1)

Tap any sign to hear it at your current speed and tone.

Signals with no character

Characters outside this chart, such as ! & ;, have no international signal. Accented letters other than é are sent as the plain letter (ü as U). % is sent as 0/0 and × as X, as the ITU specifies.

Last reviewed:

The International Morse code alphabet

This translator follows Recommendation ITU-R M.1677-1, the International Telecommunication Union's definition of International Morse code, last revised in 2009. It covers the 26 letters plus an accented é, the ten figures, and a short list of punctuation marks and service signals. On this page, signals are written the way the ITU prints them: · for a dot and − for a dash.

Punctuation in ITU-R M.1677-1 (· is a dot, − is a dash)
SignCharacterSignal
Full stop.·−·−·−
Comma,−−··−−
Colon:−−−···
Question mark?··−−··
Apostrophe'·−−−−·
Hyphen or minus-−····−
Fraction bar/−··−·
Brackets( and )−·−−· and −·−−·−
Quotation marks"·−··−·
Double hyphen=−···−
Cross or plus+·−·−·
Commercial at@·−−·−·

Exclamation marks, ampersands, semicolons, dollar signs and underscores aren't in the recommendation. Some operators use unofficial signals for a few of them, but there's no international agreement, so the translator flags those characters instead of quietly inventing a code. Accented letters other than é, such as ü, ñ and ç, have no ITU signal either. The translator sends those as the plain letter (ü as U), which is what operators usually do, and says which letters it changed.

Dots, dashes and the gaps between them

The ITU defines Morse timing in dot lengths, often called units. A dash lasts three units. The silence between the dots and dashes inside one letter is one unit, the gap between letters is three, and the gap between words is seven. The gaps carry meaning: ·− is the letter A, but put a letter gap in the middle and it becomes E followed by T.

Speed is given in words per minute (WPM), and the convention is to measure it with the word PARIS, because it comes to exactly 50 units once you count the gap before the next word. Send PARIS 20 times in a minute and you're keying at 20 WPM.

Why PARIS is 50 units long
PartSignalUnits
P·−−·11 (1 + 1 + 3 + 1 + 3 + 1 + 1)
A·−5
R·−·7
I··3
S···5
Four gaps between letters12
Gap before the next word7
Total50
Dot length in ms = 1,200 ÷ WPM
WPM = speed in words per minute
1,200 = 60,000 ms in a minute ÷ 50 units per word
SpeedDotDash and letter gapWord gap
5 WPM240 ms720 ms1,680 ms
12 WPM100 ms300 ms700 ms
20 WPM60 ms180 ms420 ms
30 WPM40 ms120 ms280 ms

Decoding Morse that someone else wrote

When you paste Morse to decode, a space ends a letter, and a slash, a vertical bar or a run of two or more spaces ends a word. Line breaks are kept. Dots typed as · or • and dashes typed as underscores or long dashes are read correctly, which helps with code copied from books and web pages.

A group that matches nothing in the ITU table shows up in square brackets, so a mistyped run of six dots stays visible instead of vanishing. Five service signals have no written character at all, and they're shown by name in angle brackets: understood, error (eight dots), wait, end of work and the starting signal. The invitation to transmit shares its signal with K, so it decodes as K.

Morse without gaps can't be decoded with certainty. Run together, ··· could be S, IE, EI or EEE. If a message arrives with no spaces, add them where the rhythm pauses, or ask the sender.

Percent signs, fractions and other special cases

The recommendation also says how to send signs that have no signal of their own, and the translator follows those rules when it encodes text.

  • Multiplication: × is sent as the letter X.
  • Percent and per mille: % becomes 0/0 and ‰ becomes 0/00. After a number they're joined with a hyphen, so 2% goes out as 2-0/0. The ITU's own example warns against sending 20/0.
  • Minutes and seconds: in 1′15″ the minute sign is one apostrophe and the second sign is two. The quotation mark signal isn't used for seconds.
  • Mixed numbers: the ITU links a fraction to its whole number with a hyphen, so 1 3/4 is sent as 1-3/4. The translator can't tell a mixed number from two separate numbers, so type that hyphen yourself.
  • Letters and ordinals: Morse has no lowercase, so everything decodes as capitals, and 25th is sent as 25TH.

Curly quotes and apostrophes from word processors are treated as the plain ones, so text pasted from a document doesn't come back covered in warnings.

Listening, speed and the flashing light

Browsers don't let a page start making sound on its own, so audio begins only when you press Play. The tone is a plain sine wave, and each dot and dash fades in and out over a few milliseconds, which stops the clicks a hard on and off would make. Changing the speed or pitch stops playback, so press Play again to hear the new settings.

The lamp sends the same timing as light, the way ships' signal lamps do. It's off by default for a good reason: at most speeds Morse flashes several times a second, and the W3C's accessibility guidelines warn that anything flashing more than three times in one second can trigger seizures. The lamp is kept small, but leave it off if flashing light bothers you.

Morse is far from dead. The ITU recommendation notes it is still used in the amateur and amateur-satellite services. In the United States, the FCC removed the 5 WPM Morse code exam from amateur radio licensing in an order adopted on December 15, 2006, so it's now a skill people learn by choice. If you're making practice sheets, the Case Converter puts notes into capitals the way Morse sends them, and the Stopwatch helps you check your own sending against the speeds above.

Sources and further reading

How to use it

  1. 1Choose Text to Morse or Morse to text.
  2. 2Type or paste in the box. The translation updates as you type.
  3. 3Press Play to hear it, and set the speed and tone to suit you.

Questions

How do I type Morse code to translate it?

Use a full stop for a dot and a hyphen for a dash, with a space between letters and a slash between words. SOS is three dots, three dashes and three dots. Bullets, middle dots and underscores work too.

Why are some characters left out?

Only characters in the ITU's International Morse code have a signal: the letters, é, the figures and 13 punctuation signs. Characters such as !, & and ; have none, so they're flagged instead of guessed. Accented letters other than é, such as ü or ç, are sent as the plain letter.

What does WPM mean in Morse code?

Words per minute, measured with the word PARIS, which is exactly 50 dot lengths long including the gap after it. So one dot lasts 1,200 divided by the WPM in milliseconds: 60 ms at 20 WPM.

Is my text uploaded anywhere?

No. Everything happens in your browser; your text never leaves your device.

Also handy: Online Stopwatch, Text to QR Code, Shuffle a List