Morse Code Translator

Translate text to Morse code (dots and dashes) or decode Morse back to text. Words are separated by ' / ' in encoded output.

Runs locallyInstantPrivate
Input
Output
Morse output appears here.

Quick Morse code reference

Morse code assigns each letter a unique sequence of dots (short signals) and dashes (long signals). Letter frequency drives code length — the most common English letters have the shortest codes:

  • E = .   T = -   A = .-   N = -.   I = ..
  • S = ...   O = ---   SOS = ... --- ...
  • Numbers: 1 = .----, 5 = ....., 0 = -----

How encoding and decoding work

Text → Morse: Each character is looked up in the Morse alphabet and replaced by its dot-dash code. Letters within a word are separated by single spaces. Words are separated by / .

Morse → Text: Switch to "Morse → Text" mode. Paste encoded Morse with single spaces between letters and / between words. Each code sequence is looked up and replaced by its letter.

Frequently asked questions

How are spaces between words shown?

Word boundaries are represented as " / " (space-slash-space) in the encoded output. Single spaces separate individual letter codes within a word.

What is SOS in Morse code?

SOS = ... --- ... (three dots, three dashes, three dots). Chosen as the international distress signal for its unmistakable pattern — adopted at the 1906 Berlin Radiotelegraphic Convention.

What characters are supported?

All 26 letters (A–Z), digits 0–9, and common punctuation including period, comma, question mark, exclamation mark, colon, slash, parentheses, hyphen, equals sign, @ and more.

Can I use this to learn Morse code?

Yes. Start with E (.) and T (-) — the shortest codes. Encode familiar words and try to memorise the patterns. The most frequent English letters have the shortest codes by design.

Related tools