Text & Writing
Free Morse Code Translator Online
Translate text to Morse code or decode Morse code back to plain text.
What is Morse code and who invented it?
Morse code is a method of encoding text as sequences of two symbols — a short signal called a dot and a long signal called a dash. It was developed in the early 1840s by Samuel Morse, an American artist and inventor, together with his assistant Alfred Vail. The system was designed specifically for the electric telegraph, a technology that could transmit electrical pulses over long copper wire lines between distant cities. Before Morse code, there was no practical way to encode the letters of the alphabet as distinct electrical signals, making long-distance text communication impossible.
Morse and Vail solved the problem with an elegantly simple principle: assign each letter a unique sequence of short and long pulses. They made a crucial optimization that makes Morse code efficient for English text: letters that appear most frequently in the language received the shortest codes. The letter E, the most common letter in English, is a single dot. The letter T is a single dash. Common letters like A, I, N, and S have two-symbol codes. Rare letters like Q and Z have four-symbol codes. This frequency-based variable-length encoding was one of the first practical applications of information theory — the same mathematical principle that underlies modern data compression formats like ZIP and MP3.
The first official long-distance Morse code message was transmitted on May 24, 1844, from Washington D.C. to Baltimore, Maryland. The message was "What hath God wrought" — a biblical phrase chosen by the daughter of the Patent Commissioner who had supported Morse's work. The telegraph network built on this technology transformed commerce, journalism, and military communication throughout the second half of the nineteenth century. Morse code itself outlasted the telegraph, remaining in active use for maritime communication, aviation, and amateur radio well into the twenty-first century.
How to use the Morse code translator
- 1Choose the direction
The tool can translate in both directions. Select Text to Morse to encode plain text into Morse code dots and dashes. Select Morse to Text to decode a Morse code string back into plain text. The direction toggle is at the top of the tool.
- 2Type or paste your input
For Text to Morse: type or paste any text. Letters, digits, and common punctuation are all supported. Characters without a Morse equivalent are shown as a question mark in the output. For Morse to Text: paste a Morse code string using dots and hyphens, with a single space between characters and a forward slash surrounded by spaces between words.
- 3Read the output
The translation appears instantly. Each character becomes its Morse code sequence, separated from the next character by a space. Words are separated by a space-slash-space. For example, "HI THERE" encodes as ".... .. / - .... . .-. .".
- 4Copy the result
Click Copy to send the translated output to your clipboard. The button shows the output character count so you can confirm the length before pasting into another application.
Complete Morse code reference table
The table below shows the International Morse code (ITU-R M.1677-1) for all 26 letters and all 10 digits. This is the globally standardized version used in amateur radio, aviation, and maritime communication worldwide.
Morse code timing rules and written format
Written Morse code and transmitted Morse code follow different conventions. Written Morse uses dots and dashes as visual symbols with spaces to separate units. Transmitted Morse is based on precise timing ratios between signal and silence. Understanding both conventions is important for using this tool correctly.
| Unit | Written form | Audio duration | Example |
|---|---|---|---|
| Dot | . | 1 unit | E = . |
| Dash | - | 3 units | T = - |
| Space within letter | (none) | 1 unit | A = . - |
| Space between letters | space | 3 units | . / .. = E I |
| Space between words | / | 7 units | HI THERE = .... .. / - .... . .-. . |
The timing ratios — 1:3:7 for dot, inter-character space, and inter-word space — are not arbitrary. They were chosen so that an experienced operator can distinguish letters from words purely by listening, even at high transmission speeds. At 20 words per minute, a dot lasts about 60 milliseconds. A skilled operator handles this timing intuitively after extensive practice, much like a musician reads rhythm without consciously counting beats.
Where Morse code is used today
The amateur radio community, known as ham radio operators, maintains Morse code as an active skill and tradition. In this context Morse code is called CW — short for continuous wave — referring to the constant-frequency carrier signal that is keyed on and off. Many operators consider CW mastery a point of pride and technical achievement. Morse code has a practical advantage in amateur radio: a CW signal is narrower in bandwidth than a voice signal and can be copied by ear even when signal-to-noise ratio is too poor for voice communication. Emergency operators on distant expeditions and maritime vessels in distress still rely on this property.
Every VOR (VHF omnidirectional range) and NDB (non-directional beacon) navigation aid used by aircraft transmits a three-letter Morse code identifier at regular intervals. Pilots tuning a navigation radio hear the Morse identifier as an audio tone overlay on the navigation signal. This allows them to confirm they have tuned the correct beacon and that the beacon is operating normally. The Morse identifiers for major airports and waypoints are published in aeronautical charts and pilots are expected to recognize them by ear during instrument flight.
Morse code is a recognized accessibility input method for people who have limited motor control and can only operate a single switch or button. Single-switch Morse keyboards allow users to input text by tapping — one short tap for a dot, one long tap for a dash, a pause to confirm a letter, a longer pause for a space. This makes full text input possible for people with conditions such as ALS, cerebral palsy, or severe motor injury. Google's Gboard keyboard for Android includes a Morse code input mode specifically for this purpose. Eye-tracking systems can also accept Morse input through intentional blinks.
The SOS distress signal — three dots, three dashes, three dots — is internationally recognized as a call for help. It can be transmitted with any device capable of producing a signal: a radio, a flashlight, a mirror reflecting sunlight, a whistle, or even tapping on a solid surface. SOS was chosen for exactly these properties: it is short, symmetrical, and distinct from any letter or common word pattern, making it immediately recognizable even by someone with no Morse training. Knowing how to signal SOS in multiple forms is a fundamental survival skill.
Morse code appears frequently in escape rooms, treasure hunts, competitive programming challenges, and capture-the-flag security competitions. It is ideal for puzzle design because it has a well-defined, publicly available encoding that contestants can look up, but decoding a long message still requires careful attention. Combined with other encodings or embedded in audio files and images, Morse provides a satisfying layer of complexity for puzzle designers. Familiarity with Morse code is a useful skill for anyone who participates in these activities regularly.
American Morse vs. International Morse
There are two historical variants of Morse code. American Morse code — also called Railroad Morse — was the original system developed by Morse and Vail for landline telegraph in the United States. It introduced a third element type: a medium-length pause that occurred within certain letters, making some codes more efficient for experienced operators but significantly harder to learn. American Morse also assigned different codes to some letters compared to International Morse.
International Morse code — also called Continental Morse — was standardized at international telegraph conferences in the 1850s to enable communication across borders and between telegraph systems operated by different countries. It eliminated the internal pause, used only dots and dashes, and became the global standard. Today "Morse code" universally refers to International Morse as specified by ITU-R M.1677-1. This tool implements International Morse code.
Tips for using the Morse code translator
FAQ
Common questions
Who invented Morse code and why was it created?
Morse code was developed in the early 1840s by Samuel Morse, an American artist and inventor, together with his assistant Alfred Vail. The system was designed for use with the electric telegraph — a technology that could send electrical pulses over long wire lines. Before Morse code, there was no practical way to encode the letters of the alphabet as distinct electrical signals. Morse and Vail's solution was elegantly simple: assign each letter a unique sequence of short pulses called dots and long pulses called dashes. Letters that appear most frequently in English — E, T, A, O — received the shortest codes to speed up transmission, while rare letters like Q and Z received longer ones. This frequency-based assignment was one of the first examples of variable-length encoding, the same principle that underlies modern compression algorithms. The first official long-distance telegraph message in Morse code was transmitted on May 24, 1844 from Washington D.C. to Baltimore, Maryland.
How does Morse code encoding work — what are dots and dashes?
Morse code encodes each letter and digit as a specific sequence of two symbols: a short signal called a dot, written as a period, and a long signal called a dash, written as a hyphen. The duration of a dot is the base unit of time; a dash is three times the length of a dot. The space between elements within a character is one dot-length. The space between separate characters within a word is three dot-lengths. The space between words is seven dot-lengths. In written Morse, spaces within a character are implicit, characters are separated by a single space, and words are separated by a forward slash with spaces around it. For example, the letter H is four dots, the letter E is one dot, and the letter O is three dashes. The famous SOS distress signal is three dots, three dashes, three dots — with no inter-character spacing it is treated as one continuous symbol rather than three separate letters.
What characters are supported by the Morse code translator?
The standard International Morse code defines codes for all 26 letters of the Latin alphabet, digits 0 through 9, and a set of punctuation marks. This tool supports all of these: letters, all ten digits, and common punctuation including period, comma, question mark, apostrophe, exclamation mark, forward slash, parentheses, ampersand, colon, semicolon, equals sign, plus, hyphen, underscore, double quote, dollar sign, and the at sign. Characters not in the Morse alphabet — accented letters, Cyrillic, Arabic, CJK characters, and most symbols — are represented as a question mark in the output to indicate they have no standard Morse equivalent. The space character is encoded as a forward slash to separate words. If you see many question marks in your output, it means your input contains characters that do not have standard Morse code assignments.
How do I decode Morse code back to text?
To decode Morse code with this tool, switch the direction toggle to Morse to Text and paste your Morse code into the input. The decoder expects a specific format: individual Morse code elements for one letter separated by a single space, and words separated by a space-slash-space. For example, four dots, space, one dot, space-slash-space, two dots decodes to "HI". This is the standard written Morse format. Common mistakes when manually entering Morse for decoding include using incorrect dash characters instead of a standard hyphen, forgetting spaces between letters, or using the wrong word separator. If you receive Morse code from another source, verify it follows the space-separated format before pasting. Unknown codes that do not match any letter in the table are shown as a question mark in the decoded output.
Is Morse code still used today?
Yes, Morse code remains in active use in several contexts despite being over 180 years old. Amateur radio operators worldwide still use Morse code — known in that community as CW, short for continuous wave — and proficiency in Morse is a point of pride and technical skill. Many national amateur radio licensing bodies still include Morse code in their exams. Aviation uses Morse code identifiers for radio navigation beacons — the three-letter identifiers for VORs and NDBs are transmitted in Morse at regular intervals so pilots can confirm they have tuned the correct beacon. Military units in some countries retain Morse as a fallback communication method that works under conditions where voice communication is compromised. Accessibility technology uses Morse as an input method for people with motor disabilities who can only operate a single switch, with each dot and dash triggering a letter.
What is the difference between American Morse and International Morse?
There are two major historical variants of Morse code. American Morse code, also called Railroad Morse, was the original system developed by Morse and Vail for landline telegraph in the United States. It used a third signal type: a medium-length pause within certain letters, in addition to dots and dashes, which made it more efficient for experienced operators but harder to learn. International Morse code, also called Continental Morse, was standardized in the 1850s at international telegraph conferences to facilitate communication across borders. It eliminated the pause-within-character concept, used only dots and dashes, and became the global standard. Today, "Morse code" universally refers to International Morse code as specified by ITU-R M.1677-1. American Morse is no longer in practical use except as a historical curiosity. This tool implements International Morse code.
How is Morse code used in emergency situations?
The most famous emergency use of Morse code is the SOS signal: three dots, three dashes, three dots. This sequence was standardized at the 1906 International Radio Telegraphic Convention as the universal maritime distress signal because it is easy to remember, simple to transmit even by an untrained person, and distinct enough to be recognized even through noise and interference. SOS can be transmitted with any device capable of producing a signal: a radio, a flashlight, a mirror, a whistle, or even tapping on a surface. The Titanic famously used both the older CQD distress signal and the newer SOS in its distress transmissions in 1912. Beyond SOS, Morse code allows people to communicate without voice in situations where speaking is dangerous or impossible — for example, hostages have communicated their location by blinking in Morse during televised broadcasts.
What is transmission speed measured in and how fast can Morse be sent?
Morse code transmission speed is measured in words per minute, calibrated using the five-letter word PARIS as the standard test word. PARIS takes exactly 50 dot-lengths to transmit, making it a consistent benchmark. A trained beginner can copy Morse at about 5 words per minute. Comfortable conversational speed is typically 13 to 20 words per minute. Proficient amateur operators work at 20 to 30 words per minute. The world record for hand-keying Morse code is over 60 words per minute, achieved by highly experienced operators using a special paddle key that generates dots and dashes semi-automatically. Machine-generated Morse has no practical speed limit — computers can transmit arbitrarily fast. In practice, shortwave propagation conditions set the upper limit of reliable machine-to-machine communication.
Can Morse code be used as an accessibility input method?
Yes. Morse code is a recognized accessibility input method for people who have limited motor control and can only operate a single switch or button. Devices called single-switch Morse keyboards allow users to input text by tapping a button — one tap for a dot, holding for a dash, a pause to confirm a letter, a longer pause for a space. This makes full text input possible for people with conditions such as ALS, cerebral palsy, or severe arthritis who cannot use a conventional keyboard. Google's Gboard keyboard for Android includes a Morse code input mode for exactly this purpose. Eye-tracking systems can also be configured to accept Morse input via intentional blinks. The historical resonance of a 180-year-old encoding system finding new life in accessibility technology is a remarkable example of technology longevity.
More in Text & Writing