Morse Code Generator

A free morse code translator and decoder: turn English to morse code, or decode dots and dashes back to text. Instant, and it can play the result as sound.

Your text stays in your browser.0 words
 

How to use this morse code generator

This is a text to morse code converter and a morse code decoder in one, and it works in both directions. Type a message, and the morse code appears as you type. Paste dots and dashes instead, switch the direction, and the tool turns them back into readable text.

  1. Pick the direction: Text to Morse to encode, or Morse to text to decode.
  2. Type or paste your text, or open a text file with Upload file.
  3. Choose how words are separated (slash, vertical bar or wide spaces) and whether you want plain dots and dashes or the • and − symbols.
  4. Copy the result, download it as a .txt file, press Play sound to hear it as beeps at 10, 15 or 20 words per minute, or use Download sound to save it as a .wav audio file.

English to morse code: how it works

Morse code is an old way of sending text using only two signals: a short one called a dot and a long one called a dash. To turn English to morse code, every letter and number is replaced by its own pattern. The most common letters get the shortest patterns, which is why E is a single dot and T is a single dash.

Take the word HELLO. H is ...., E is ., L is .-.. and O is ---, so the full word is:

.... . .-.. .-.. ---

A space separates letters, and a slash separates words, so “Hello world” becomes .... . .-.. .-.. --- / .-- --- .-. .-.. -... Upper and lower case make no difference, because morse code has no capital letters.

Morse code alphabet and numbers chart

Use this chart to read or write morse code by hand. Every pattern here is exactly what the generator produces.

Letters

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--..

Numbers

0-----1.----2..---3...--4....-5.....6-....7--...8---..9----.

Common punctuation

..-.-.-,--..--?..--..

I love you in morse code

The most searched message is also one of the shortest to send. I love you in morse code is:

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

That is I (..), then L-O-V-E (.-.. --- ...- .), then Y-O-U (-.-- --- ..-). It works well on a card, a bracelet, a tattoo or a message in a gift, and you can press Play sound to hear it. Here are a few more phrases people like to encode:

PhraseMorse code
I love you.. / .-.. --- ...- . / -.-- --- ..-
SOS... --- ...
Hello.... . .-.. .-.. ---
Thank you- .... .- -. -.- / -.-- --- ..-
Happy birthday.... .- .--. .--. -.-- / -... .. .-. - .... -.. .- -.--
Good morning--. --- --- -.. / -- --- .-. -. .. -. --.
I miss you.. / -- .. ... ... / -.-- --- ..-
Merry Christmas-- . .-. .-. -.-- / -.-. .... .-. .. ... - -- .- ...

Morse code decoder and translator: decode morse to text

To use the page as a morse code decoder or translator, switch the direction to Morse to text and paste your code. Separate the letters in a word with a single space, and separate the words with a slash (/), a vertical bar (|) or three spaces. Each new line stays a new line in the result.

The decoder also accepts the • and − symbols, so code copied from a puzzle or a web page usually works as it is. If a group of dots and dashes is not a valid character, it is shown as a question mark and the note under the output tells you how many there were. That usually means a space is missing between two letters.

Morse code timing and the Play sound button

Morse code is a rhythm as much as a code. All lengths are measured in one basic unit, the length of a dot:

PartLength
Dot1 unit
Dash3 units
Gap between dots and dashes in a letter1 unit
Gap between letters3 units
Gap between words7 units

The Play sound button follows these lengths, using a steady 600 Hz tone. Choose a slower speed to learn the patterns by ear, then speed up as you get used to them.

A short history of morse code

Morse code was developed for the electric telegraph in the 1830s and 1840s by Samuel Morse and his assistant Alfred Vail, so that messages could travel along a single wire as short and long pulses. A later version, called International Morse Code, became the standard for radio and ships. Its best-known signal is ... --- ..., used as a call for help. Today it is still used by amateur radio operators and pilots, and by people learning it as a hobby or an accessibility tool.

Morse code generator questions

How do I write I love you in morse code?

I love you in morse code is .. / .-.. --- ...- . / -.-- --- ..-. Type “I love you” into the tool and it appears instantly, or press Play sound to hear it.

How do I convert English to morse code?

Choose Text to Morse, then type or paste your English text. Each letter and number becomes a pattern of dots and dashes, letters are separated by a space and words by a slash.

How do I convert text to morse code?

The steps are the same for any text: pick Text to Morse, enter your words and copy the result. Accented letters are converted to their plain letters first, so é becomes E.

Can I use this as a morse code decoder?

Yes. Switch to Morse to text and paste dots and dashes. Separate letters with a space and words with a slash, a vertical bar or three spaces.

What is the difference between a morse code translator, decoder and converter?

They are different names for the same kind of tool. A morse code converter or translator turns text into dots and dashes, and a morse code decoder turns dots and dashes back into text. This page does both, so you can switch the direction at any time.

What is SOS in morse code?

SOS is ... --- ...: three dots, three dashes, three dots. It is sent as one continuous signal with no gaps between the letters.

Does it support numbers and punctuation?

Yes. All ten digits are supported, along with common punctuation such as the full stop, comma, question mark, apostrophe, exclamation mark, slash, brackets, colon, equals sign, plus, hyphen, quotation mark and @. Characters with no morse code, such as emoji, are skipped and counted in the note under the output.

Is this morse code generator free and private?

Yes. It is free, needs no account and works in your browser, so the text you type is not sent to a server.

Other ways to transform text

If you like encoding messages, try text to binary to see the same words as 0s and 1s, or the text reverser for simple puzzles. Use the case converter to change capitalisation before you encode, and the character counter to check the length of a message.