Morse Code Translator

Type text to get International Morse code, or paste Morse (dots, dashes and spaces) to decode it back to letters. You can even play the result as audio beeps. Everything runs in your browser.

Enter text or Morse code to translate.

How Morse code works

Morse code represents each letter and digit as a sequence of short signals (dots, written .) and long signals (dashes, written -). It was designed so the most common letters have the shortest codes — E is a single dot, T a single dash.

letter dots & dashes  |  space between letters, / between words

This translator uses the International Morse Code standard. Encoding maps each character to its code separated by spaces; decoding splits on spaces for letters and / (or a wider gap) for word breaks.

Worked example

The distress signal SOS:

S = ... (three dots).
O = --- (three dashes).
Result: SOS = ... --- ... — famously easy to recognize.

Timing and spacing

Real Morse timing is relative to the dot length: a dash is three dots long, the gap between symbols is one dot, between letters three dots, and between words seven. In text we show one space between letters and a slash (or wider space) between words. The optional audio uses the Web Audio API to beep the dots and dashes at those proportions so you can hear the rhythm.

Tip: exploring other encodings? Try the binary to text converter.

Frequently asked questions

Which characters are supported?

Letters A–Z, digits 0–9 and common punctuation (period, comma, question mark and a few others) in the International Morse Code standard. Case is ignored since Morse has no upper/lowercase.

How do I write spaces between words?

When encoding, words are separated by a slash (/). When decoding, separate letters with a single space and words with a slash or a wider gap so the tool knows where words break.

Can I hear the Morse code?

Yes. Click 'Play sound' and the tool beeps the dots and dashes using the Web Audio API, with realistic relative timing — a dash three times a dot, with proper gaps.

Is my text uploaded?

No. Encoding, decoding and audio all run in your browser. Nothing you type is sent to a server.

MB
Mustafa Bilgic · Editor, Calcool
Uses the International Morse Code standard (ITU-R M.1677). Audio playback uses the Web Audio API at standard relative timing. Everything runs in your browser — nothing you enter is uploaded, logged or stored.

Related calculators