TEXT TOOL

Morse Code Translator

Translate text to Morse code, or decode Morse back to text. Nothing is sent to a server.

About this tool

This translator converts between plain text and International Morse Code in both directions. Encoding and decoding both run as a simple lookup-table conversion, entirely in your browser.

How to use the Morse Code Translator

  1. Pick a direction — Text to Morse, or Morse to Text.
  2. Type or paste your input — plain text, or Morse using dots and dashes.
  3. Copy the result — it updates as you type.

Common use cases

How Morse code is written as text

Since Morse code is really a pattern of short and long signals rather than written characters, this tool follows the standard plain-text convention: a period (.) represents a dot (short signal) and a hyphen (-) represents a dash (long signal). A single space separates the Morse pattern for one letter from the next, and a forward slash (/) separates one word from the next. For example, "SOS" becomes ... --- ..., and "HI THERE" becomes .... .. / - .... . .-. ..

Things to watch out for

International Morse Code only defines standard patterns for the 26 basic Latin letters, digits 0-9, and a handful of punctuation marks — accented letters, symbols outside that set, and emoji have no defined Morse pattern and will be flagged rather than silently dropped or guessed at. When decoding Morse back to text, make sure letters are separated by single spaces and words by a forward slash; running dots and dashes together without separators makes the pattern ambiguous to decode correctly.

A few Morse code facts

Morse code uses short signals (dots) and long signals (dashes). The distress signal SOS is three dots, three dashes, three dots, and was chosen because it is easy to send and recognize. Letters are separated by a short pause and words by a longer one. The most common English letters have the shortest codes: E is a single dot and T is a single dash.

Morse code chart: letters and numbers

These are the letter and digit codes this translator uses, which match the International Morse Code in ITU-R Recommendation M.1677-1:

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

Digits follow a simple pattern: 1 to 5 start with dots and add dashes (.---- is 1, ..... is 5), and 6 to 0 start with dashes and add dots (-.... is 6, ----- is 0).

Timing: how long dots, dashes and gaps last

Morse code is defined by timing, not by the symbols on the page. ITU-R M.1677-1 sets every length relative to one dot:

Sending speed is usually quoted in words per minute, using the word "PARIS" as the standard word. Sent with the gap that follows it, PARIS takes exactly 50 dot lengths, so one dot lasts 60,000 ÷ (50 × wpm) milliseconds: 240 ms at 5 words per minute, and 60 ms at 20.

SOS and other tips

The distress signal SOS is sent as one continuous pattern, ...---..., without the usual gaps between letters. Typed into this translator as letters, it appears with spaces: ... --- .... When decoding, keep single spaces between letters and a slash between words. If you copy Morse from a source that uses Unicode dots (•) or long dashes (—), replace them with a period and hyphen first, or they will show as unconvertible.

Morse alphabet translator: common words and prosigns

Use the translator above to turn any text into Morse and any dots and dashes back into text. The alphabet chart on this page lists every letter and number. A few words come up again and again, so here they are in the same plain-text convention the tool uses (a period for a dot, a hyphen for a dash, a space between letters and a slash between words):

TextMorse code
SOS... --- ...
HELLO.... . .-.. .-.. ---
HELP.... . .-.. .--.
YES-.-- . ...
NO-. ---
LOVE.-.. --- ...- .
THANKS- .... .- -. -.- ...
OK--- -.-
I LOVE YOU.. / .-.. --- ...- . / -.-- --- ..-

Prosigns: operating signals

SignalMeaningMorse code
AREnd of message.-.-.
SKEnd of contact...-.-
BTBreak, new paragraph-...-
SOSInternational distress signal... --- ...

Prosigns are sent as one unbroken run with no gap between the letters, so AR is .-.-. rather than .- .-. . The tool translates letters and numbers; prosigns are shown here for reference.

How to learn the Morse alphabet

Related tools: convert text to numbers with the Binary & Hex Converter, scramble letters with the Word Scrambler, or change letter case with the Case Converter.

Frequently asked questions

What symbols does this tool use for dots and dashes?

A period (.) for a dot and a hyphen (-) for a dash, following the standard convention used to write Morse code as plain text. Letters within a word are separated by a single space, and words are separated by a forward slash (/).

Does this support numbers and punctuation, not just letters?

Yes — digits 0-9 and common punctuation (period, comma, question mark, and a few others) are included using International Morse Code's standard patterns, in addition to the full A-Z alphabet.

Why did some characters convert to a question mark or get skipped?

International Morse Code only defines patterns for a specific set of Latin letters, digits, and punctuation. A character outside that set (like an accented letter or emoji) has no standard Morse pattern, so it's shown as unconvertible rather than guessed at.

How long is a dash compared to a dot in Morse code?

A dash lasts three times as long as a dot. The International Morse Code standard also sets the gaps: one dot between the parts of a letter, three dots between letters, and seven dots between words. At 20 words per minute, one dot lasts 60 milliseconds.

What are the numbers in Morse code?

Every digit has five symbols. 1 is .----, 2 is ..---, 3 is ...--, 4 is ....- and 5 is ..... . Then 6 is -...., 7 is --..., 8 is ---.., 9 is ----. and 0 is -----. The dots move from the front to the back as the numbers rise.

How do you say hello in Morse code?

HELLO in Morse code is .... . .-.. .-.. --- with a space between letters. Type the word into the translator to get it, or paste the dots and dashes to translate back.

What is the Morse code for I love you?

I LOVE YOU is .. / .-.. --- ...- . / -.-- --- ..- with a slash between words. There is no single official Morse signal for the phrase, so it is spelled out letter by letter.