About the Morse Code Translator
The Morse Code Translator converts plain text into dots and dashes and decodes Morse back into readable text. It can also play the code as a 600 Hz tone, which is useful for learning to recognize letters by ear as well as by sight.
How it works
In Text to Morse mode, the text is converted to uppercase and each character is looked up in a table of International Morse code. Letters within a word are separated by a single space, and words are separated by " / ". Characters that are not in the table, such as @, &, or accented letters, are skipped. In Morse to Text mode the process is reversed: the input is split into words at " / " and into letters at spaces, and each code is looked up; unknown codes are dropped.
Playback uses the browser's Web Audio API with a time unit of 80 milliseconds, which is roughly 15 words per minute. A dot sounds for one unit and a dash for three, with one unit of silence after each symbol and extra silence between letters and words.
How to use
- 1
Choose Text to Morse or Morse to Text. The message is kept in the page link, so you can share it.
- 2
Type or paste your input. For Morse, put a space between letters and " / " between words.
- 3
Read the translation in the Result box and click Copy result to copy it.
- 4
Pick a speed from 5 to 25 WPM and click Play sound to hear it. Swap moves the result to the other side.
Worked examples
Encoding a distress call
You want to see how the classic SOS signal is written.
S is three dots and O is three dashes.
Encoding two words
You type a short greeting in Text to Morse mode.
Decoding a message
A puzzle gives you a line of dots and dashes.
Frequently asked questions
How do I separate letters and words when typing Morse code?+
Put a single space between letters and a slash with spaces on both sides, " / ", between words. This is the format the translator reads and produces.
What characters are supported besides letters and numbers?+
Period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, quotation mark, dollar and at sign. Any other character is skipped, and the tool lists which ones.
What is SOS in Morse code?+
SOS is ... --- ... (three dots, three dashes, three dots). In real distress use it is sent as one continuous signal without letter gaps.
How fast is the audio playback?+
Choose 5, 10, 15, 20 or 25 words per minute. At the default 15 WPM each dot lasts 80 milliseconds, using the standard PARIS timing.
Why is some of my decoded text missing?+
Codes that don't match a known character show as �. Check for extra dots or dashes, and make sure letters are separated by spaces.