How morse code translator works
Morse code encodes each letter, digit, and some punctuation marks as a unique sequence of dots and dashes. It was invented for early telegraphy and is still used in aviation, amateur radio, and as an assistive communication aid. Letters in a word are separated by a single space; words are separated by a slash or a larger gap.
This translator uses the standard ITU (International Telecommunication Union) Morse code set. When converting text to Morse it uppercases the input, maps each supported character to its dot-dash sequence, and separates letters by spaces and words by " / ". When converting Morse to text it reverses the mapping, splitting on spaces for letters and slashes for words.
Type your text or Morse code and pick a direction. Unsupported characters are skipped on encode (or shown as "?" on decode). The tool is useful for learning Morse, encoding messages for radio practice, or decoding Morse you have received โ the API mirrors the same logic for programmatic use.