Skip to content
Jellykit

Morse Code Translator

Turn text into International Morse code and back, then listen to it as tones at a speed and pitch you choose.

  • Runs on your device
Loading tool

About Morse Code Translator

Type a message and its Morse code appears as you go, with a space between letters and a slash between words. Switch the direction to read Morse back into text: dots and dashes typed with middle dots, bullets or long dashes are understood too.

Press Play to hear the code as a tone, timed by the standard rules, from a slow 5 words per minute for learning up to 40 for practice at speed. The sound is generated in your browser, so it works with no connection.

How it works

  1. Letters A to Z, digits 0 to 9 and the punctuation marks of International Morse code (ITU-R M.1677) are translated, along with the widely used extra codes for ! & ; _ and $. Accented letters are sent as their plain letter, and anything else with no code is left out and listed under the result.
  2. Reading Morse, letters are split at spaces and words at a slash, a vertical bar or two or more spaces. A code that matches no character is shown as � and listed.
  3. Playback follows the standard timing: a dash lasts three dots, with gaps of one dot inside a letter, three between letters and seven between words. Speed is measured with the word PARIS, so at 20 words per minute a dot lasts 60 milliseconds.
  4. The tone is a sine wave made with the Web Audio API, faded in and out over a few milliseconds so each beep starts and ends without a click.

Questions

Why are some of my characters missing from the Morse code?

International Morse code has no codes for emoji, most symbols or letters of other scripts. They are left out, and a note under the result lists each one so nothing disappears silently. Accented letters such as é are sent as their plain letter.

How should I write Morse code so it can be read back?

Use a dot and a hyphen for each symbol, one space between letters and a slash between words, for example ".... .. / - .... . .-. .". Two or more spaces or a vertical bar also work as word breaks, and line breaks are kept.

How long a message can it play?

Translation takes text up to 1 MB. One press of Play schedules up to 20,000 dots and dashes, which is well over half an hour of sound at 20 words per minute; for a longer text, play it a part at a time.

Are prosigns such as SK or AR supported?

Not as single symbols. Prosigns are run-together letters, so they come out as the separate letters they are made of.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.