Free exact browser converter
Morse Code Translator
Translate text to Morse code or dots and dashes back to text. Use spaces between letters and / between words, with clear unsupported-character errors.
Interactive tool
Morse Code Translator
Ready
Choose a clear output representation.
Detailed conversion guide
How Morse Code Translator Works
Each supported character maps to an International Morse symbol. In the text representation, spaces separate letters and a slash separates words. SOS becomes ... --- ... .
Decode mode reads those symbol groups and returns uppercase letters. Word whitespace is normalized to one space. The tool does not infer timing from audio.
| Input | Output | Meaning |
|---|---|---|
SOS | ... --- ... | Default example |
123 | .---- ..--- ...-- | Boundary example |
JavaScript Example
Runnable example for the default sample. The tool also validates its full input contract.
const symbols={S:"...",O:"---"};
const morse=Array.from(input,c=>symbols[c]).join(" ");Formats, Boundaries and Limitations
Accented letters, unsupported punctuation, unknown Morse symbols and empty word groups produce an error instead of being dropped.
This is a text translator. It does not record a microphone, generate sound or decode an audio recording. Morse timing and procedural signals are outside this interface.
Related converters
More Text and Encoding Tools
Choose the tool that matches your text or byte workflow.