Morse Code Translator
Translate between text and Morse code. Type a message to encode it into dots and dashes, or paste Morse to decode it.
How to use it
Pick a direction, then type or paste into the box on the left. The translation appears on the right and updates on every keystroke, so there is no button to press, and you copy the result when it looks right. Everything runs in your browser, so nothing is uploaded. In the Text to Morse direction, every letter is turned into its sequence of dots and dashes. Within a word the letters are separated by a single space, and whole words are separated by a forward slash with a space on each side. Morse has no notion of upper or lower case, so your text is treated as uppercase, and any character that is not part of the supported set is simply skipped rather than turned into noise. In the Morse to Text direction, paste your dots and dashes. Put a single space between the codes for individual letters and a slash between words, and each code is looked up and converted back to its character. If a token does not match any known Morse letter it is shown as a question mark so you can see exactly where the input was off, and the decoded text comes back in uppercase. As a worked example, the classic distress signal SOS encodes to three letters — S is three dots, O is three dashes, and S is three dots again — giving the familiar pattern of dot-dot-dot dash-dash-dash dot-dot-dot. Decoding that same pattern returns SOS, and a two-word phrase like HI THERE comes back split on the slash into its original words. Translating Morse is useful for learning the code, practising for amateur radio, building signalling puzzles, or decoding a message someone sent you. The supported set covers the letters A to Z, the digits 0 to 9, and the common punctuation marks of International Morse, and because the whole translation happens on your device it is also private.
Frequently asked questions
- How are words separated?
- Letters within a word are separated by a single space, and words are separated by a forward slash with spaces around it ( / ).
- What characters are supported?
- A–Z, 0–9, and common punctuation. Unknown characters are skipped when encoding; unrecognized Morse tokens become '?' when decoding.
- Is it case-sensitive?
- No. Morse code has no case, so text is treated as uppercase. Decoding always produces uppercase letters.
- Does it support accented or non-Latin letters?
- It uses the standard International Morse set — the letters A to Z, digits 0 to 9, and common punctuation. Accented letters and non-Latin scripts are not part of that table, so they are skipped when encoding.