Morse Code Translator

Text to Morse and back. Letters separated by spaces, words by slashes, which is the convention most people expect.

Output
—

Worked example

SOS is ... --- ... — three dots, three dashes, three dots. The spaces between letters matter; the slashes between words are a convention added for readability, not part of the original code.

Morse encodes each character as a sequence of short and long signals. It was designed for a single wire and a human ear, which is why the timing ratios matter as much as the symbols: a dash is three units, the gap between symbols one unit, between letters three, between words seven.

Why the spacing matters

Without separators, ... could be S, or the start of many other characters. This translator uses a single space between letters and a slash between words, which is the convention used in written Morse and the one radio operators read.

What it cannot represent

Accented characters, CJK, and most symbols are dropped rather than transliterated. Morse has no standard encoding for them, and inventing one produces output that no other implementation can read.

Practical uses

Puzzles, teaching signal encoding, and generating decorative text. It is not encryption — anyone with the table decodes it in seconds, and it has been public since 1844.