Skip to content
ToolPlankDEV
Encoders & Decoders
100% In-Browser Execution

Updated:

Morse Code Translator

Type text to get Morse code, or paste dots and dashes to read them. This morse code translator works out the direction by itself, accepts / | or wide spaces between words, handles prosigns like <SOS>, and estimates how long the message takes to send at your chosen speed.

Options:

Custom dot and dash is used only when Symbols is set to Custom.

Text or Morse code

Input
0 chars · 0 lines

Translation

Ready
Processing in browser...
0 chars · 0 linesUpdates as you type

Translation details

Counts, Morse length in units, sending time and any characters with no Morse code appear here.

Processed on your device. Your text is not sent to our servers.

More free tools you may need next.

Quick Guide

How to use Morse Code Translator

Simple step-by-step instructions to get the exact output you need.

  1. 01

    Type text or paste Morse code

    Type in the left box, press Paste, or open a text file. Sample loads a short message, Messy Morse loads dots and dashes in two different styles, and Timing bars loads SOS drawn to scale.

  2. 02

    Check the direction

    Auto-detect reads input made of dots, dashes, / and | as Morse and anything else as text. The status line says which way it went. Set Direction by hand if a short input is read the wrong way.

  3. 03

    Pick symbols, word gaps and speed

    Choose how dots and dashes are written, what goes between words, how characters without a Morse code are handled, and the sending speed in words per minute.

  4. 04

    Read the details, then copy or download

    The details panel shows the character count, the length in Morse units, the sending time and any characters that could not be translated. Press Copy or Download to keep the result.

How this Morse code translator works

Morse code writes each letter, digit and punctuation mark as a short pattern of dots and dashes. This morse code translator looks up every character in the International Morse code table and joins the patterns with one space between letters and a slash between words. Type Hello world and you get:

Text
.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Paste that line back in and the tool reads it as Morse, because it contains only dots, dashes, spaces and a slash, and returns HELLO WORLD. There is no separate decode button: the direction is detected each time the input changes, and the status line tells you what was detected.

Morse has no upper or lower case, so Hello and HELLO give the same code. When decoding, the Text case option decides whether the result is shown in capitals, small letters or sentence case.

International Morse code alphabet and numbers

These are the 26 letters and 10 digits of International Morse code, taken from the same table the tool uses. Digits always have five elements, which makes them easy to spot.

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

The most common English letters got the shortest codes. E is a single dot and T is a single dash, while rarer letters such as Q, Y and J take four elements.

Punctuation and accented letters in Morse

The current international standard, ITU-R M.1677-1, defines codes for the full stop, comma, colon, question mark, apostrophe, hyphen, slash, brackets, quotation marks, equals sign, plus sign and the @ sign. The tool also supports a few signs that are widely used but not in that standard: !, &, ;, _ and $.

Text
.  .-.-.-     ,  --..--     ?  ..--..     '  .----.
:  ---...     -  -....-     /  -..-.      "  .-..-.
=  -...-      +  .-.-.      @  .--.-.     (  -.--.
)  -.--.-     !  -.-.--     &  .-...      ;  -.-.-.
_  ..--.-     $  ...-..-

Accented letters are handled by the Accented letters option, and it works the same way in both directions. Plain letters, the default, writes é as E and Ç as C, which any operator can read, and shows a received accented code such as ..-.. or .--.- as the plain letter E or A. Extended codes writes and shows À Ä Å Ç É È Ñ Ö Ü with their own codes. É (..-..) is listed in the ITU recommendation; the other accented codes come from national use and are not known to every operator. À and Å share one code, .--.-, so it is shown as À and the notes mention Å. Curly quotes, long dashes and the ellipsis are written with their plain equivalents, and the details panel says how many characters were changed this way.

Morse code timing and the PARIS standard

Morse timing is measured in units, where one unit is the length of a dot. The rules are fixed:

  • A dot is 1 unit and a dash is 3 units.
  • The gap between the dots and dashes inside one letter is 1 unit.
  • The gap between letters is 3 units.
  • The gap between words is 7 units.

Speed is given in words per minute, using the word PARIS as the standard word. PARIS plus the gap after it is exactly 50 units, so at 20 WPM one unit lasts 1200 / 20 = 60 milliseconds. The tool counts the units of your message, leaves out the gap after the final word, and multiplies by the dot length. For PARIS on its own the details panel shows:

Text
Morse length: 43 units
Duration: 2.6 s at 20 WPM, 60 ms per dot

At 13 WPM the same word takes 4.0 s, because each dot lasts 92.3 ms. The estimate assumes standard timing. Learners often use Farnsworth timing, where letters are sent at a higher speed with longer gaps between them, so a real recording at Farnsworth spacing will run longer than this figure.

Prosigns and SOS

A prosign is two or more letters sent as one signal with no letter gap inside it. They are written with a bar over the letters on paper, and online usually in angle brackets. With the Prosigns option on, type the letters inside < and > and the tool runs their codes together:

Text
<SOS>  ...---...
<SK>   ...-.-
  • <SOS> distress signal. It is not short for any phrase; it was chosen because three dots, three dashes and three dots are easy to send and hard to mistake.
  • <AR> end of message, the same signal as +.
  • <SK> end of contact.
  • <BT> break or new paragraph, the same signal as =.
  • <KN> go ahead, only the station called should answer, the same signal as (.
  • <AS> wait, the same signal as &.
  • <HH> error, eight dots.
  • <CT> starting signal, also written <KA>. <VE> understood, also written <SN>.

When decoding, signals that are only prosigns, such as ...---... or ...-.-, are shown as <SOS> or <SK>. A signal that is both a character and a prosign, like .-.-., is shown as the character, and the notes tell you which prosign it can also mean.

Examples of text to Morse and Morse to text

A radio-style message with prosigns, using the default options:

Text
QTH Lahore <BT> 73 <SK>
--.- - .... / .-.. .- .... --- .-. . / -...- / --... ...-- / ...-.-

Characters with no Morse code, such as # and emoji, are shown as ? by default and listed in the details panel with their Unicode code points:

Text
Price: #5 😀
.--. .-. .. -.-. . ---... / ? ..... / ?

Decoding works the other way. The Messy Morse sample mixes plain dots and hyphens on the first line with bullets, minus signs and triple spaces on the second, and still reads cleanly:

Text
HELLO WORLD!
SEND HELP <SOS>

With Text case set to Sentence case, the decoded words .-- . / .- .-. . / .... . .-. . .-.-.- / -.-. --- -- . / ... --- --- -. .-.-.- become We are here. Come soon.

Options explained

  • Symbols: dot and hyphen (. -), bullet and minus (• −), timing bars, or your own pair. Timing bars draw a dot as ▄ and a dash as ▄▄▄ with 1, 3 and 7 spaces between parts, letters and words, so the line is a picture of the real rhythm. Hi becomes ▄ ▄ ▄ ▄ ▄ ▄.
  • Custom dot and dash: any two different symbols, such as * _ or 0 1, or whole words separated by a space, such as di dah. The same pair is read back when decoding.
  • Word gap: a slash, a vertical bar or three spaces between words. Letters are always split by one space.
  • No Morse code: show such characters as ?, leave them out, or keep them as typed.
  • Accented letters: plain letters or the extended national codes.
  • Text case: capitals, small letters or sentence case for decoded text.
  • Speed: 5 to 40 words per minute for the sending time.
  • Prosigns: on to write and read <SOS> style signals, off to treat < and > as ordinary characters.
  • Keep lines: on to translate each line on its own, off to join every line into one message.

When decoding, the tool accepts every symbol style at once. Dots can be . · or •, dashes can be - – — − or _, and word gaps can be /, | or three or more spaces. To count which letters appear most in your decoded text, paste it into the Letter Frequency Counter.

Common mistakes when writing Morse code

  • Leaving out letter gaps. .... .. is HI, but ...... with no space is not a letter at all. Inside a word, every letter needs a space after it.
  • Using one space between words. Two spaces still count as a letter gap, so .... .. .. ... reads as HIIS. Use /, | or at least three spaces to end a word.
  • Typing a word processor's long dash. Many editors turn -- into —. This tool reads it as a dash, but other decoders may not.
  • Expecting case or extra spaces to survive. Morse has no capital letters and no way to send two spaces, so they are lost in a round trip.
  • Sending digits as words. Writing 73 as SEVEN THREE is legal but much longer. The digit codes are faster to send.
  • Typing a prosign with spaces. <S O S> is three separate letters; <SOS> is the single distress signal.

A short history of Morse code

Samuel Morse and Alfred Vail developed the code for the electric telegraph in the late 1830s, and the first public message on the line between Washington and Baltimore, What hath God wrought, was sent in May 1844. Their American code used gaps of different lengths inside some letters, which made it hard to use on radio and undersea cables. In 1848 Friedrich Clemens Gerke simplified it, and a version of his code was adopted in Europe in 1865. That is the International Morse code still in use today, now maintained by the International Telecommunication Union.

SOS was agreed as the international distress signal at the 1906 radiotelegraph conference in Berlin and came into force in 1908. Ships moved to the Global Maritime Distress and Safety System, which uses satellites and digital radio, in 1999, but Morse remains in daily use by amateur radio operators, in aviation and navigation beacons that send their identifier in Morse, and as an accessible input method for people who can operate only one or two switches.

The translation runs in your browser. Your text is not uploaded or stored, as described in the Privacy Policy. If you work with other encodings, the Text to Hex converter shows the bytes behind each character, Hex to Text reads them back, and Number to Words spells out figures before you send them.

Frequently Asked Questions

Technical Q&A for Morse Code Translator

Common questions about edge cases, character encoding, and privacy guarantees.

Paste the dots and dashes into the box and the translation appears on the right. Put one space between letters and a slash, a vertical bar or three spaces between words.

SOS is ... --- ... when sent as three letters, or ...---... with no gaps when sent as the distress prosign. Type <SOS> to get the run-together version.

The words are separated by fewer than three spaces. Two spaces count as a letter gap, so add a slash, a vertical bar or at least three spaces between words.

It marks a character that has no Morse code, such as # or an emoji. The details panel lists each one, and the No Morse code option lets you leave them out or keep them as typed instead.

It depends on the speed. At 20 words per minute a dot lasts 60 ms, and the word PARIS takes 2.6 seconds. The details panel shows the estimate for your text at the speed you pick.

Yes. Choose bullet and minus, timing bars, or Custom with any two symbols such as * _. The decoder reads all of these styles, including long dashes and middle dots.

No. Morse has one code per letter with no case. The Text case option only changes how decoded text is displayed.

Partly. The ITU recommendation lists a code for É, and other accented letters have codes from national use. Choose Extended codes to write and read À Ä Å Ç É È Ñ Ö Ü, or keep Plain letters to treat them as A, C, E, N, O and U in both directions.

A prosign is sent as one signal with no gaps between its letters, while a word has a letter gap after every letter. For example, <SK> is ...-.- but SK is ... -.-.

No. The morse code translator runs entirely in your browser and nothing you type is uploaded.