Text to Morse Code

Encode text into Morse code.

Output appears here.

Long before digital text existed, messages traveled as patterns of short and long signals — dots and dashes — over telegraph wires. This tool converts ordinary text into Morse code, translating letters into that historic signaling system.

A code designed around genuine signal efficiency, not arbitrary pattern

Morse code was developed in the 1830s and 40s by Samuel Morse and Alfred Vail for use with the electric telegraph, and its design contains a genuinely clever piece of information theory decades before that field formally existed — Vail assigned shorter dot-and-dash sequences to the most frequently used letters in English (like E, a single dot, and T, a single dash) based on analyzing letter frequency in a printer's type case, meaning the most commonly transmitted letters could be sent fastest, an early, practical application of the same information-efficiency principle that modern data compression algorithms formalize mathematically over a century later.

How this tool converts text to Morse

The tool looks up each letter, number and common punctuation mark in your input against the standard International Morse Code table, converting each character into its corresponding sequence of dots and dashes, with spaces conventionally separating individual letters and a longer pause (or slash) separating distinct words.

Where converting text to Morse code is genuinely useful

  • Amateur radio and emergency communication — Morse code remains a recognized, licensed mode of communication in amateur radio, valued particularly for its ability to be understood through weak or noisy signals where voice communication would fail entirely.
  • Historical education and maritime history — understanding Morse code provides genuine insight into how global communication functioned for over a century before digital telecommunications, including its critical historical role in maritime distress signaling (the famous "SOS" pattern).
  • Puzzles, games and recreational cryptography — Morse code remains a popular format for puzzles, escape rooms and creative projects wanting a recognizable but non-obvious way to encode a hidden message.
  • Accessibility technology — Morse code-based input systems have historically been, and in some specialized contexts remain, a genuinely useful assistive communication method for individuals with certain physical disabilities.

Frequently asked questions

Why does "SOS" specifically use the pattern it does? SOS (three dots, three dashes, three dots) was chosen as an internationally standardized distress signal specifically because it's simple, unmistakable, and easy to recognize even under poor signal conditions — adopted formally by international agreement in 1906, it isn't actually an abbreviation for any specific phrase (contrary to popular belief in phrases like "Save Our Ship"), but was chosen purely for its clear, distinctive Morse pattern.

Is Morse code still actually used today, or is it purely historical? It remains in limited but genuine active use, particularly within amateur radio communities (where it's valued for working under difficult signal conditions) and in some aviation and maritime contexts for specific identification signals, though it has been almost entirely superseded by voice and digital communication for most practical, everyday purposes.

How did Samuel Morse decide which letters got the shortest codes? According to historical accounts, Alfred Vail, Morse's key collaborator, based the assignment on counting the quantity of each letter type in a local printer's typesetting case — a practical, empirical proxy for how frequently each letter actually appeared in written English, letting the most common letters receive the shortest, fastest-to-transmit codes.

Further reading

  • Wikipedia — Morse codeFull history of Morse code's development and its letter-frequency-based design.
  • Wikipedia — SOSThe history and standardization of the internationally recognized Morse distress signal.