↑↓ to move ↵ to open Esc to close Browse all tools

Morse Code Translator

Type text to get Morse code, or paste dots and dashes to decode them. Play it, follow along, send it yourself on the key, or practice until you can read it by ear.

Embed

Translate Morse code

Direction

Signal color
Signal fills the screen and lights it up with every tone. Tap the screen or press Esc to stop.

Morse key

Morse key: send it yourself

Press and hold the key to send. Short for a dot, long for a dash. Pause to end a letter, pause longer to end a word. The tone and the lamp follow your hand.

Speed: from the Speed slider

Listening practice

Practice listening

The tool plays one item at the speed and tone set above. Type what you heard and press Enter. Replay plays it again. Nothing is shown until you answer.

What to practice

Correct 0 of 0. Streak 0. Best streak 0.

Runs on your device. Nothing you enter is sent to a server.

Free printableFree Resume TemplateThree clean one-page designs as an editable Word file, with a PDF example. Hand-checked listFree Grammar CheckersFree grammar and style checkers with their free limits, languages and platforms, open source and on-device checkers marked.

Morse Code Translator by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

Morse code alphabet chart

Every letter, number and punctuation mark the translator knows. A dot is written as . and a dash as -. Press any letter to play its sound with your current speed and tone.

Letters

Numbers

Punctuation

The marks labeled "not ITU" appear in other Morse code lists but are not part of the international standard, Recommendation ITU-R M.1677. This translator sends accented letters as their plain letter, so é becomes E, even though the ITU list has its own code for é (..-..).

Morse code timing rules

Morse code is a rhythm, and everything is measured in units, the length of one dot:

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

Speed is given in words per minute (WPM), measured with the word PARIS, which is exactly 50 units long including the gap after it. At 1 WPM you send PARIS once a minute, so one unit lasts 1.2 seconds. That gives the rule the player uses: one dot lasts 1200 divided by the WPM in milliseconds. At 20 WPM a dot is 60 ms and a dash 180 ms.

Farnsworth spacing keeps the letters fast and makes only the gaps longer. You hear each letter as one sound pattern at, say, 20 WPM, while the text as a whole goes by at a slower 5 or 10 WPM. The ARRL, the US national association for amateur radio, lists it as a learning method in which characters are sent at a faster speed than the words.

Send Morse code with the key

The Morse key lets you send code by hand. Press and hold the pad with the mouse, with a finger, or with the Space bar while the pad has focus. A short press is a dot, a long press is a dash. The tone sounds and the lamp lights for as long as you hold it. Pause after a letter and it appears in the decoded text. Pause longer and the next letter starts a new word.

The decoder measures every press and every gap in units, the length of one dot. Each cutoff sits halfway between the two lengths it has to tell apart. A press shorter than 2 units is a dot, anything longer is a dash. A gap of 2 units or more ends the letter, since the gap inside a letter is 1 unit and the gap between letters is 3. A gap of 5 units or more ends the word, since the gap between words is 7 units. Halfway cutoffs give you the same margin for error on both sides.

With Auto speed on, the unit comes from your own hand instead of the Speed slider. After four presses the tool takes the shortest third of your presses, which are your dots, and uses their median as the unit. It then reads everything you sent again with that unit, so the first letters are corrected once your speed is known. The estimated speed shows above the key. Turn Auto speed off to be measured against the slider, which is good practice for holding a steady speed. The strip under the key shows your last 30 dots and dashes, and the letter you are still building is marked in black.

Signal with light or vibration

Signal turns the whole screen into a lamp. The page goes black and fullscreen, lights up white or green with every tone, and shows the letter being sent underneath. Tap the screen or press Esc to stop. If the browser refuses fullscreen, the stage fills the browser window instead. It is a simple way to show a class what the code looks like as light, or to signal across a dark room.

On phones that offer it, the Phone flashlight toggle uses the camera flash, the torch, as the lamp. Browsers that support this expose the flash as the torch setting of a camera track, which is why the browser asks for camera access once when you turn the toggle on. No picture is taken, shown or stored, and nothing leaves your phone. The toggle appears only when your browser reports a torch it can control. If you do not see it, your browser does not offer the flashlight to web pages.

Vibrate sends the same rhythm to the vibration motor of a phone: a short buzz for a dot, a long one for a dash. The toggle appears when the browser supports the Vibration API. According to the browser support data on MDN, Safari does not support it and Firefox for Android has it switched off, so in practice it is for Chrome on Android and browsers built on it. A phone in silent or do-not-disturb mode may not vibrate at all.

Download the audio

Download audio (WAV) saves the code as a sound file with the speed, tone and Farnsworth setting you chose, so you can play it on any device or put it in a presentation. The file is a plain WAV, 16-bit mono at 44.1 kHz. The tone is the same sine wave the player uses, with a 5 ms fade at each edge so there are no clicks. WAV is uncompressed: one minute is about 5 MB, and the limit is ten minutes, about 50 MB. For a longer message, raise the speed or split the text. The file is built in your browser and never uploaded.

Practice listening

The practice panel plays one item at a time and waits for your answer. Start with "Two letters, then more": the pool holds K and M, two letters that sound nothing alike, and after three right answers in a row you can add the next letter. The other sets play single letters, letters and numbers, or one of 50 short English words. Pick a character speed fast enough to hear each letter as one sound and turn on Farnsworth spacing for longer gaps, the approach the ARRL describes, so you learn each letter as a rhythm instead of counting dots and dashes. Replay plays the item again before you answer. The score shows correct answers, your streak and your best streak, which is remembered on this device.

A short history of Morse code

Samuel Morse and Alfred Vail developed the code in the 1830s and 1840s for the electric telegraph, which could only send pulses of current. In May 1844 Morse sent "What hath God wrought" over a new 40-mile line from Washington to Vail in Baltimore. The version used today, International Morse code, is set out by the ITU in Recommendation ITU-R M.1677. It became the language of ships at sea, where SOS, ... --- ..., was adopted as the international distress signal in 1906. Since 1999, when the satellite-based GMDSS took over, ships no longer rely on it, but radio amateurs still use it, and it remains a simple way to send a message with nothing but a light, a sound or a tap.

How to use the Morse code translator

  1. 1Type text to translate it to Morse code, or paste dots and dashes to decode them. Auto detect picks the direction; choose one yourself if you prefer.
  2. 2Set the speed and tone and press Play sound to hear the result. The strip under the buttons and the big letter follow along. Signal flashes the whole screen; on a phone that offers it, turn on Phone flashlight or Vibrate as well.
  3. 3Copy the result, download it as a text file or as a WAV sound file, or copy a link that opens the same text with your speed and tone. Swap moves the result into the input box so you can check the translation back.
  4. 4Send code yourself on the Morse key: press and hold for dots and dashes, pause between letters. Use as input moves what you sent into the translator.
  5. 5Practice listening: pick a set, press Play one, type what you heard and press Enter. Add a letter when you get three in a row.

Frequently asked questions

How do I translate Morse code to text?

Paste the Morse code into the box. The translator recognizes dots and dashes and switches to Morse to text by itself. Separate letters with a space and words with a slash or three spaces. Dots written as · or • and dashes written as _ or a long dash are understood too.

What does the # in my result mean?

It marks something the translator could not convert. In text to Morse it stands for a character that has no Morse code, such as an emoji or a symbol like *. In Morse to text it stands for a group of dots and dashes that is not a valid letter, which usually means a missing space between two letters.

What is SOS in Morse code?

SOS is ... --- ..., three dots, three dashes, three dots. It became the international distress signal at the 1906 Radiotelegraph Conference in Berlin, and the ITU describes it as one continuous group of dots and dashes rather than three letters, chosen because the pattern is simple and unmistakable. The letters do not stand for words like "save our souls"; reading it as SOS is just a handy way to remember it.

What speed should I use to learn Morse code?

The ARRL, the US national association for amateur radio, points learners to the Farnsworth method: letters are sent at a faster speed than the words. Pick a letter speed fast enough that you hear each letter as one sound, turn on Farnsworth spacing so the gaps between letters are longer, and speed up later by shortening the gaps. That way you learn the rhythm of each letter instead of counting dots and dashes.

Why is there no sound when I press Play?

Check that your device is not muted and that the browser tab is not muted. On iPhones and iPads, silent mode can mute sound from web pages, so turn silent mode off. The sound is made in your browser with the Web Audio API, so nothing has to load.

Does the phone flashlight work on my phone?

Only when your browser offers the camera flash to web pages. Browsers that do expose it as the torch setting of a camera track, and the Phone flashlight toggle appears when your browser reports that setting. If you do not see the toggle, your browser does not offer it. When you turn it on, the browser asks for camera access, because the flash belongs to the camera. No picture is taken, shown or stored.

Why does the Morse key hear the wrong letters?

Usually because of the gaps. A pause inside a letter that is longer than 2 units splits the letter in two, and a pause between letters that is shorter than 2 units merges them. Keep the dots short and the gaps even. With Auto speed the unit comes from your shortest presses, so if you send only dashes at first, the tool takes them for dots until a real dot arrives. Send a few letters with dots in them, like E, I or S, and the estimate settles. Turn Auto speed off to be measured against the Speed slider instead.

How big is the WAV file?

WAV stores the sound uncompressed, here as 16-bit mono at 44,100 samples per second, which is about 5 MB per minute. A short message at 20 WPM is a few hundred kilobytes. The download stops at ten minutes, about 50 MB. For anything longer, shorten the text or raise the speed.

Can I practice without seeing the code?

Yes. The practice panel plays an item without showing it, and the follow-along strip and the big letter stay hidden until you answer. Type what you heard and press Enter. Replay plays the same item again before you answer.