← Home

📡 Morse Code Translator

Convert text to Morse code and Morse code back to readable text instantly.

What is this tool?

Morse code is a method of encoding text characters as sequences of dots and dashes, originally developed in the 1830s by Samuel Morse and Alfred Vail for use with the electric telegraph. Each letter of the alphabet and each digit is represented by a unique combination of short signals called dots and long signals called dashes. For example, the letter A is dot-dash, the letter B is dash-dot-dot-dot, and the distress signal SOS is dot-dot-dot dash-dash-dash dot-dot-dot. Morse code was the primary method of long-distance electronic communication for over a century, used extensively in telegraphy, maritime communication, aviation, and military operations. Although it has been largely replaced by digital communication systems, Morse code remains in use among amateur radio operators, in aviation navigational aids, and as an accessibility tool for people with disabilities who can communicate through simple on-off signaling. Morse code also holds a special place in popular culture, appearing in spy movies, escape room puzzles, and educational contexts as an introduction to the concept of encoding information. Learning Morse code develops an appreciation for how information can be transmitted over minimal channels, and it remains a useful skill for emergency situations where voice communication is not possible.

How it works

The translator uses a lookup table that maps each letter from A to Z and each digit from 0 to 9 to its standard International Morse Code representation. When you enter text and press the Text to Morse button, the tool processes each character individually, looking up its Morse equivalent. Letters within a word are separated by a single space, and words are separated by a slash or double space for clarity. When you enter Morse code using dots, dashes, and spaces and press the Morse to Text button, the tool parses the input by splitting on word separators first, then splitting each word into individual letter codes, and looking up each code in a reverse mapping table. Characters that are not letters or digits are ignored or passed through as-is, ensuring smooth translation of common punctuation. The tool handles both uppercase and lowercase input, converting everything to uppercase since Morse code does not distinguish case.
Ad

How to use

  1. Enter your text into the input area for text-to-Morse translation. You can type letters, numbers, and spaces.
  2. Press the Text to Morse button to convert your text. The Morse code will appear in the output area with dots and dashes.
  3. To translate in the other direction, enter Morse code into the input area using dots, dashes, and spaces between letters. Use a slash for word breaks.
  4. Press the Morse to Text button to decode your Morse input back into readable text.
  5. Copy the result for use elsewhere. Experiment with different messages to see how the encoding works.

Frequently Asked Questions

Frequently Asked Questions

How do I write spaces between words in Morse code?
In standard Morse code, letters within a word are separated by a short pause, and words are separated by a longer pause. In written form, a single space typically separates letters and a slash or double space separates words. For example, "HELLO WORLD" in Morse is ".... . .-.. .-.. --- / .-- --- .-. .-.. -..".

Does Morse code include numbers?
Yes, International Morse Code includes representations for the digits 0 through 9. Each number is encoded as five signals. Zero is five dashes, one is dot followed by four dashes, and the pattern continues predictably. For example, 1 is ".----", 2 is "..---", and 5 is ".....".

What is the difference between American and International Morse Code?
American Morse Code was the original version developed by Samuel Morse and used a different encoding with varying dash lengths. International Morse Code, developed later in the 1850s in Europe, standardized the system with consistent dot and dash lengths and is the version still used today. Our translator uses International Morse Code, which is the universal standard.

Is Morse code still used today?
Yes. Morse code is still used by amateur radio operators worldwide, in aviation for non-directional radio beacon identifiers, and as an emergency signaling method. It is also used as an accessibility tool for people with severe motor disabilities who can communicate through simple switch devices. The international distress signal SOS remains the most recognized Morse code sequence.

Tips & Advice

When translating text to Morse, remember that Morse code does not distinguish between uppercase and lowercase letters, so everything converts to uppercase. For word spacing in your Morse output, use a slash between words to make the boundaries clear. When translating Morse to text, make sure you use single spaces between letter codes and double spaces or slashes between words for accurate parsing. The characters that can be translated are letters A through Z and digits 0 through 9; other characters like punctuation marks may not have a Morse equivalent in this tool. Learning a few key Morse codes like SOS, CQ, and common letters can be a fun party trick and a useful skill in emergencies. The rhythm of Morse code is easier to learn by sound than by sight, so try tapping out the dots and dashes to internalize the patterns.

Related Fun & Misc Tools

Ad