Morse Code Translator

Translate text to Morse code and Morse code back to text, instantly.

This tool runs entirely in your browser. Your files are never uploaded to a server.

What this tool does

Translates plain text into International Morse Code, or Morse code back into plain text, automatically detecting which direction to go based on whether your input contains dots and dashes or ordinary letters.

How to use it

Type or paste text or Morse code into the input box; the translation appears automatically below it. Letters are matched case-insensitively, so it doesn't matter whether you type in uppercase or lowercase.

Worked example

Translating `SOS` produces `... --- ...` — three dots, three dashes, three dots, the sequence most associated with the international distress signal. Feeding that Morse back into the tool returns `SOS`.

Morse code spacing rules

Dots and dashes within a single letter have no space between them; letters are separated by one space, and words are separated by a slash (`/`) or a longer gap, matching the standard convention used in written Morse code.

What's covered

The translator covers the 26 Latin letters, digits 0–9, and common punctuation such as `. , ? ' ! / ( ) & : ; = + - _ " $ @`; characters outside the International Morse Code table are left out of the Morse output or ignored when decoding.

Limitations

This produces and reads the dot/dash text representation of Morse code, not actual audio tones or timing — it's a translation reference, not a code-practice trainer that teaches you to send or receive Morse by ear.

Privacy

Translation runs entirely in your browser via client-side JavaScript; the text you enter is never uploaded to a server or stored.

Frequently Asked Questions

Does this tool translate both ways?
Yes — enter plain text to get Morse code, or enter Morse code (dots and dashes) to get plain text back, in the same tool.
What symbols does it use for Morse code?
Standard International Morse Code: a dot (.) for a short signal, a dash (-) for a long one, a space between letters, and a slash or extra space between words.
Is my text stored or sent anywhere?
No — the translation happens entirely in your browser using JavaScript. Nothing you type is uploaded, logged, or stored.