Translate between plain text and Morse code in both directions. Type a word to see its dots and dashes, paste a Morse string to decode it, then play it as audio or flash SOS. Everything runs locally in your browser.
Output appears here
Morse code assigns each character a unique sequence of dots and dashes. Common letters get the shortest patterns — E is a single dot and T is a single dash — which made the code efficient for telegraph and radio. The generator uses the international Morse alphabet, so A is .-, B is -..., and digits run from ----- for 0 to ----. for 9. Letters are separated by spaces and words by a slash, which keeps a message unambiguous when decoded back.
Most people only need one of two jobs: turn a phrase into Morse, or decode a Morse string someone sent them. The text-to-Morse direction is straightforward — every supported character becomes its dots and dashes. The Morse-to-text direction normalizes common typing quirks first, like Unicode dashes, middle dots, and pipes, then matches each token against the code table. Unsupported characters are skipped in one direction and shown as a question mark in the other, so nothing is silently dropped.
Morse code survives because it works across very low bandwidth — a tone, a light, or a tapped signal. SOS (... --- ...) remains a recognized universal distress pattern even in an era of smartphones. The built-in audio player synthesizes a clean sine tone at your chosen words-per-minute, and the SOS button flashes the screen in the standard rhythm as a visual beacon. It is a simple tool, but it is the same encoding used by amateur radio operators and emergency signaling today.