T

Text Machine

Powerful text tools, in your browser

Morse Code Translator

Translate text into International Morse code and decode Morse back to text right in your browser. Letters, numbers, and punctuation are all supported, with a space between letters and a slash between words.

Text input
Morse output

Enter data above to see the translated result here.

How to use Morse Code Translator

  1. 1

    Choose a direction

    Use the toggle to pick Text to Morse or Morse to Text. The swap button moves your result into the input so you can translate it back the other way.

  2. 2

    Enter your data

    Type or paste text, or paste Morse code written with dots and dashes. The translation runs automatically as you type.

  3. 3

    Read the translation

    Morse output uses a space between letters and a slash between words. When decoding, the reader also accepts a pipe for word breaks and tidies up uneven spacing.

  4. 4

    Copy the result

    Review the translated output and copy it to your clipboard, ready to paste wherever you need it.

The Complete Guide to International Morse Code

What Morse code actually is

Morse code is a method of encoding text as a series of two signal elements: a short signal called a dot (or dit) and a long signal called a dash (or dah). By stringing dots and dashes together in fixed patterns, you can spell out any letter, digit, or common punctuation mark using nothing more than a sound, a light, a flag, or a tap. Because it needs only an on-off channel, Morse works over media that cannot carry voice at all.

The version this translator uses is International Morse code, standardized in the late 1800s and still defined today by the ITU. It is the variant used worldwide in amateur radio and aviation. An older American (or 'railroad') Morse with different patterns and internal spaces existed in the United States, but it is essentially obsolete, so when people say 'Morse code' today they almost always mean the international standard.

Dots, dashes, and the timing that holds it together

Morse is built on one unit of time. A dot is one unit long. A dash is three units. The gap between the dots and dashes inside a single letter is one unit. The gap between two letters is three units, and the gap between two words is seven units. That ratio is what makes Morse readable by ear: a trained operator hears the rhythm, not individual beeps.

On screen, timing becomes spacing. This tool writes a single space between letters and a forward slash between words, so 'HELLO WORLD' encodes with slashes marking each word boundary. When you paste Morse back in to decode, the reader is forgiving: it accepts a pipe character as a word separator too, and it normalizes look-alike characters such as a bullet for a dot or a long em dash for a dash, which is handy when you copy code from a web page or PDF.

A worked example: spelling SOS

The most famous Morse sequence is SOS, written as three dots, three dashes, three dots: ... --- ... The letter S is three dots and the letter O is three dashes, so SOS reads dot-dot-dot dash-dash-dash dot-dot-dot. In practice it is sent as one continuous nine-element signal with no letter gaps, which is why it is so recognizable and hard to mistake for anything else.

Try a friendlier example. The word HI is H (....) followed by I (..), giving '.... ..' with a single space between the two letters. Notice how short common letters are: E is a single dot and T is a single dash. That is not an accident. Samuel Morse and Alfred Vail assigned the shortest codes to the most frequent English letters, an early and remarkably effective piece of data compression.

The full alphabet and the logic behind it

Every letter from A to Z and every digit from 0 to 9 has a fixed pattern. A is dot-dash, B is dash-dot-dot-dot, C is dash-dot-dash-dot, and so on through Z, which is dash-dash-dot-dot. The digits follow a clean pattern of five elements each: 1 is dot-dash-dash-dash-dash, 5 is five dots, 0 is five dashes, and the numbers in between shift the boundary between dots and dashes one step at a time.

Punctuation is longer because it has to stay unambiguous. A period is dot-dash-dot-dash-dot-dash, a comma is dash-dash-dot-dot-dash-dash, and a question mark is dot-dot-dash-dash-dot-dot. This translator also handles the apostrophe, slash, parentheses, and the at sign (dot-dash-dash-dot-dash-dot), which was the most recent character officially added to the standard, for spelling email addresses aloud.

Translating both directions with this tool

Use the direction toggle to switch between Text to Morse and Morse to Text. When encoding, letter case is ignored because Morse has no concept of capitals, and any character outside the supported set is simply skipped rather than producing an error. When decoding, separate each letter with one space and each word with a slash, and the reader rebuilds your plain text.

The swap button is the quickest way to check your work: translate text to Morse, swap the output into the input, and decode it back to confirm you get the original phrase. Decoding only fails when a group of dots and dashes matches no valid character, which usually means a typo such as an extra dot, so trimming stray symbols almost always fixes it.

Where Morse code is still used

Amateur (ham) radio keeps Morse very much alive. Sent by hand as continuous-wave (CW) signals, it punches through noise and weak conditions that would swamp a voice transmission, and it can be generated with the simplest possible equipment. Many countries dropped the Morse requirement for a license years ago, yet CW remains one of the most popular modes on the air.

Aviation still uses Morse to identify navigation beacons: a VOR or NDB continuously transmits its two- or three-letter identifier in Morse so pilots can confirm they have tuned the right station. Morse also serves as an accessibility channel, letting people communicate by blinking, tapping, or any single on-off muscle movement, and as a fallback signalling method when nothing else is available.

A short history

Morse code grew out of the electric telegraph in the 1830s and 1840s. The painter and inventor Samuel F. B. Morse, working with Alfred Vail, developed both the telegraph hardware and a code to send messages over it. The famous first formal telegraph message in 1844, 'What hath God wrought,' marked the start of near-instant long-distance communication and reshaped news, finance, and railroads.

Over the following century the code was refined into the international standard, carried across oceans by submarine cables, and adopted as the backbone of maritime and military communication. Even after voice radio and digital modes took over, Morse never fully disappeared, a testament to how robust and elegant the original design was.

Fun facts and common misconceptions

SOS does not officially stand for 'Save Our Souls' or 'Save Our Ship'. It was chosen purely because its rhythm is short, distinctive, and impossible to misread, and the backronyms came later. Maritime use of SOS was largely retired in 1999 in favor of satellite distress systems, but it lives on as a cultural shorthand for an emergency.

A few other tidbits: the shortest codes (E and T) reflect English letter frequency, the word 'paris' is the standard yardstick for measuring sending speed in words per minute, and Morse can be transmitted by almost anything that turns on and off. People have signaled in Morse by flashing lights, honking horns, and even, in one famous case, by blinking on camera.

Frequently asked questions

What is Morse code?
Morse code represents each letter, number, and punctuation mark as a short sequence of dots and dashes. It was created for telegraph communication in the 1830s and is still used today in aviation, amateur radio, and as an accessible signalling method. This tool uses the International Morse code standard.
How should I format Morse code for decoding?
Write each letter as dots and dashes, put a single space between letters, and a slash between words — for example, “.... ..” for the word “HI”. The decoder is forgiving: it also accepts a pipe as a word separator and normalises common look-alike characters such as bullet dots and long dashes.
Which characters are supported?
The translator handles the letters A to Z, the digits 0 to 9, and common punctuation including period, comma, question mark, apostrophe, slash, parentheses, and the at sign. Letter case does not matter, and any character outside the supported set is skipped during encoding.
Why did I get a translation error?
Decoding fails when a sequence of dots and dashes does not match any Morse character — for example, a typo with too many dots. Check that letters are separated by single spaces and words by slashes, then the translation will succeed.
Is my data uploaded to a server?
No. All translation happens entirely in your browser. Your text is never uploaded, logged, or stored, so it stays completely private and the tool keeps working even when you are offline.

Related tools

Keep going with these handy tools

Fractionated Morse Cipher

Morbit Cipher

Pollux Cipher

Text to Binary Converter

Text to Hex Converter

NATO Phonetic Alphabet Translator