Text to Morse Code
Convert your message into standard international Morse code signals
Convert a message into Morse dots and dashes
Morse code represents each letter and digit as a pattern of short and long signals. This translator does the lookup for you: type a sentence and get back the full sequence of dots and dashes, ready to copy into a puzzle, a greeting card, a game or a school assignment. A built-in player can also beep the result so you can hear how it sounds.
Translating step by step
- Type your text in the Your Message box, or use the Paste button. Clear empties the box.
- Click Encode to Morse.
- The Morse Code Signal panel shows the result in large monospace type on a dark background.
- Choose Play Sound to hear it, Copy Morse to copy the code, or Download Text to save the result as a file.
Underneath, three counters give you the number of dots, the number of dashes and a dot to dash ratio, which is a fun way to compare how heavy different words are. SOS, for instance, has six dots and three dashes.
Format of the output
Letters are separated by spaces and words by a forward slash, which is the usual written convention. Because the tool joins its pieces with spaces, you will see a couple of extra spaces on each side of the slash. That is harmless for reading, but if you want to paste the result into the Morse to Text decoder, replace the double spaces with single ones first.
Handy applications
- Writing a hidden message for a treasure hunt or an escape-room prop.
- Creating a short secret greeting for a friend, a birthday card or a gift tag.
- Checking your own hand translation when practising for an amateur radio licence.
- Preparing a phrase to tap out on a torch or a light for a demonstration.
Limitations to remember
The dictionary covers the letters A to Z and the digits 0 to 9 only. Punctuation, symbols, accented letters and any non-Latin characters are dropped from the result without a warning, so check that important characters made it through. Case does not matter. The Play Sound button plays the current code at a fixed speed and a 600 Hz tone, and there is no speed control here; use the Morse Audio Generator for adjustable playback. Everything runs locally in your browser through JavaScript.
Related Articles
Related Tools