Morse Code Converter

Converts text into Morse code and Morse code back into text. It is useful for learning the code, making puzzles and messages for friends, or decoding a string of dots and dashes you have come across.

Up to 1 MiB.

Options

How to use the Morse Code Converter

  1. Choose Text to Morse code or Morse code to text, then type or paste.
  2. The result appears as you type.

Rules applied

  • International Morse code: letters A–Z, digits 0–9 and the punctuation . , ? ' ! / ( ) & : ; = + - _ " $ @. Accented letters are sent without accents.
  • Letters are separated by a space and words by /. When decoding, | or three or more spaces also separate words, and • or – are accepted as dots and dashes.

Limitations

  • Characters without a Morse code are shown as # (or left out) and listed in a note. Prosigns such as SOS as one signal are not supported.

Worked examples

Encode

Input

SOS help

Result

... --- ... / .... . .-.. .--.
Decode

Input

.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Result

HELLO WORLD

Practical uses

  • Making a puzzle for a scout group

    A scout leader writes a short message and encodes it in Morse code. They hand out the dots and dashes for the group to decode. It makes a simple puzzle with no need to work out each letter by hand.

  • Learning the alphabet

    A student practising Morse types words and checks the encoded result against their own attempt. Letters are separated by a space and words by a slash, which makes the pattern easy to read. Regular checking helps the alphabet stick.

  • Decoding a message from a book

    A hobbyist finds a line of dots and dashes in an old book. They switch to Morse code to text and paste it in. The decoded message appears as they type, and any characters that cannot be decoded are listed in a note.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.