Morse Code Translator

Translate text to Morse code and back — and play it as sound in your browser.

How to use

  1. Type your text and click "To Morse" — or paste dots and dashes and click "From Morse" to translate back.
  2. Read the result: letters are separated by spaces and words by " / ", the standard written convention.
  3. Click "Play" to hear the message as authentic beeps, and copy or download the translation. Everything runs in your browser.

About this tool

Morse code, developed in the 1830s and 1840s by Samuel Morse and Alfred Vail for the electric telegraph, encodes every letter and digit as a unique sequence of short signals (dits, written as dots) and long signals (dahs, written as dashes). The international version standardized in 1865 is still in use today by amateur radio operators, in aviation navigation beacons, and in accessibility devices — and the distress signal SOS (··· ––– ···) remains the most famous message in the world.

This translator uses the full international table: the 26 letters, the ten digits and common punctuation marks. Accented characters are normalized before encoding, so é becomes E and ç becomes C, matching how Morse is actually transmitted. In the output, a single space separates letters and " / " separates words. Translating in the other direction, the tool splits your dots and dashes on those same separators and looks each token up in the reverse table; anything it cannot recognize comes out as "?" so you can spot typos immediately.

The "Play" button turns the written code into sound using your browser's own audio engine — a 600 Hz tone where a dit lasts 80 ms, a dah three times that, with the standard silent gaps between symbols, letters and words. Hearing the rhythm is by far the best way to learn Morse, because operators memorize the sound patterns, not the printed dots. Use the tool to practice, decode a puzzle from a game or geocache, prepare a ham-radio exam, or just sign a birthday card in dits and dahs.

Frequently asked questions

How do I write Morse code so the translator understands it?

Use a dot (.) for dit and a hyphen (-) for dah, put a space between letters and a slash (/) between words. Example: .... .. / -- --- -- translates to "HI MOM".

What is SOS in Morse code?

SOS is ··· ––– ··· — three dits, three dahs, three dits, sent as one continuous sequence. It was chosen in 1906 precisely because the pattern is unmistakable, not as an abbreviation of any phrase.

Does the translator support accented letters like é and ç?

Yes, by normalizing them first: é becomes E, ç becomes C, ã becomes A. That matches real practice, since the international Morse table only defines the 26 unaccented letters.

Why does the audio playback sound so precise?

Because it follows the official timing rules: a dah lasts three dits, the gap inside a letter is one dit, between letters three dits, and between words seven. The tool schedules a 600 Hz tone with exactly those proportions.

Does my text leave my browser?

No. Translation and audio playback run 100% in JavaScript on your device — the sound is synthesized locally with the Web Audio API. Nothing is transmitted or stored.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.