Morse Code Translator

Convert text to Morse code dots and dashes or decode Morse code back to readable text — the universal telegraph language. Want to hear it? Use our Morse Code Audio tool.

8 characters
International Morse. Letters separated by a space, words by / . Use Morse → Text to turn dots and dashes back into text.Client-side · no upload

What is Morse Code?

Morse code is a character encoding system that represents letters, numbers, and punctuation as sequences of short signals (dots) and long signals (dashes). Invented by Samuel Morse and Alfred Vail between 1837 and 1838, it was developed for use with the electric telegraph, which could only transmit on-off electrical pulses over copper wire. Morse code became the first widely adopted system for near-instantaneous long-distance communication, forever changing commerce, military strategy, journalism, and personal correspondence.

The genius of Morse code lies in its efficiency. The shortest codes went to the most common letters (a widely told account, usually credited to Alfred Vail, says the counts came from a printer's type cases): E is a single dot, T is a single dash, and A is dot-dash. Less common letters received longer patterns: Q is dash-dash-dot-dash, and Z is dash-dash-dot-dot. This variable-length encoding minimized the time required to send typical English text, a principle that prefigured modern data compression algorithms like Huffman coding.

The International Morse Code standard, finalized in 1865, differs from Morse's original American Morse Code. The international version eliminated the intra-character spaces that made American Morse ambiguous and standardized the timing ratios: a dash is exactly three times the length of a dot, the gap between elements within a letter equals one dot length, the gap between letters equals three dot lengths, and the gap between words equals seven dot lengths. This mathematical precision made Morse code reliable for both human operators and early machine decoders.

Despite being over 180 years old, Morse code persists in modern technology. Amateur radio operators worldwide use it for weak-signal communication where voice transmission would be unintelligible. Aviation navigation beacons (VOR and NDB) identify themselves using Morse code signals. Military and maritime services maintain Morse capability as a redundant communication fallback. Perhaps most remarkably, Morse code serves as an accessibility tool: people with limited mobility can communicate through any system that distinguishes two states, from eye blinks to sip-and-puff devices to a single button press.

How Morse Code Translation Works

Translating between text and Morse code follows a lookup-based process:

  1. Text to Morse (encoding): Each character in your message is looked up in the International Morse Code table and replaced with its dot-dash pattern. The letter S becomes "..." (three dots), O becomes "---" (three dashes), so SOS becomes "... --- ...".
  2. Morse to text (decoding): Each dot-dash pattern separated by spaces is looked up in the reverse Morse table and replaced with its corresponding character. The pattern ".-" maps to A, "-..." maps to B, and so on.
  3. Word separation: In Morse code, words are separated by a forward slash (/) or a longer pause. When decoding, the converter recognizes / as a word boundary and inserts a space in the output text.
  4. Audio playback: To hear a message as audible beeps — short tones for dots, longer tones for dashes, with pauses between characters and words — use our companion Morse Code Audio tool, which generates and plays the sound (and lets you download it as an audio file).

Text to Morse encodes the 26 letters (any case), the digits 0-9, the punctuation marks defined by the ITU (. , : ? ' - / ( ) " = + @), the accented é, and four common informal marks (! & ; _). Any other character, such as an emoji or ß, is skipped and the page tells you how many were skipped. The next section shows exactly what that looks like.

Worked examples: what the translator actually does

These results come straight from this page's own translation functions, so they show real behavior, including the cases that catch people out. Try any of them in the tool above.

CaseInputOutputWhat happens
Typical: text to MorseSOS HELP... --- ... / .... . .-.. .--.Letters are separated by a space and words by a slash.
Typical: Morse to text... --- ... / .... . .-.. .--.SOS HELPDecoded text is always uppercase.
Edge: punctuation and digitsHello, World 2026!.... . .-.. .-.. --- --..-- / .-- --- .-. .-.. -.. / ..--- ----- ..--- -.... -.-.--The comma and the exclamation mark are encoded (! is a common mark, not part of the ITU standard).
Edge: accented letterCafé-.-. .- ..-. ..-..The accented é has its own ITU code (..-..).
Edge: no Morse code existsStraße... - .-. .- .ß has no Morse code, so it is skipped rather than sent as SS; the page shows a note saying how many characters were skipped.
Failure: letters not separated...---..."...---..." is not valid Morse code. Use dots (.) and dashes (-), separate letters with spaces and words with a forward slash (/).No spaces between letters, so the run is not a known letter.
Mistake: no slash between words... --- ... .... . .-.. .--.SOSHELPSpaces only separate letters, so the two words run together.

What this translator does and does not do

  • Does: translate text to International Morse and back, entirely in your browser, and reject Morse it cannot read with a clear message.
  • Encodes letters A-Z (any case), digits 0-9, the ITU-R M.1677-1 punctuation marks (. , : ? ' - / ( ) " = + @) and é. Four widely used marks that are not in the ITU standard are also encoded: ! & ; _.
  • Skips, and tells you, when a character has no Morse code (emoji, ß, most accented letters): a note under the box shows how many were skipped instead of leaving the Morse silently shorter.
  • Decodes every code above back to text, and rejects any group it cannot read with a clear error.
  • Does not play sound. For beeps and a downloadable audio file use the Morse Code Audio tool; for a lookup table see the Morse code chart; to practice, print the Morse code practice worksheet.
  • Does not read timing. It works on written dots and dashes, not on the length of real signals, and it does not decode prosigns sent as one unbroken run.

Common Use Cases

  • Amateur radio (ham radio): CW (continuous wave) Morse code remains one of the most effective modes for long-distance communication on shortwave bands. Morse signals can be decoded at signal strengths far below what voice or digital modes require, making it the mode of choice for weak-signal DX contacts spanning thousands of miles with minimal power.
  • Education and scouting: Learning Morse code develops pattern recognition, concentration, and listening skills. Scout organizations, school STEM programs, and coding clubs use Morse code exercises to introduce students to the concepts of encoding, transmission, and protocol that underpin all digital communication.
  • Escape rooms and puzzle games: Morse code is a favorite cipher for escape room designers because it can be presented visually (flashing lights), audibly (beeping sounds), or tactilely (vibration patterns). Players who recognize Morse code gain a significant advantage in solving time-limited challenges.
  • Accessibility and assistive technology: For individuals with severe motor disabilities, Morse code input using one or two switches provides a practical text entry method. Modern smartphones include Morse code keyboard options, and specialized devices translate Morse input into speech output for daily communication.

Morse Code Alphabet Reference

LetterMorseLetterMorse
A.-N-.
B-...O---
C-.-.P.--.
D-..Q--.-
E.R.-.
F..-.S...
G--.T-
H....U..-
I..V...-
J.---W.--
K-.-X-..-
L.-..Y-.--
M--Z--..

Frequently Asked Questions

Morse code is a method of encoding text characters as sequences of dots (short signals) and dashes (long signals). Developed in the 1830s by Samuel Morse and Alfred Vail for use with the electric telegraph, it was the first practical system for long-distance electronic communication. Each letter, number, and some punctuation marks have unique dot-dash patterns.
Type your text in the input field with the Text → Morse direction selected. Each letter and digit is translated to its Morse pattern. For example, HELLO becomes .... . .-.. .-.. ---. Letters are separated by spaces and words are separated by a forward slash (/).