Skip to content
ToolZone

Morse Code Translator

Translate text to Morse code or Morse code back to text instantly, with optional audio playback of the dots and dashes.

Runs in your browser. Nothing you enter or upload leaves your device.

Text

Result

.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Speed

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

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. 1

    Choose Text to Morse or Morse to Text. The message is kept in the page link, so you can share it.

  2. 2

    Type or paste your input. For Morse, put a space between letters and " / " between words.

  3. 3

    Read the translation in the Result box and click Copy result to copy it.

  4. 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.

Input
SOS
Result
... --- ...

S is three dots and O is three dashes.

Encoding two words

You type a short greeting in Text to Morse mode.

Input
HELLO WORLD
Result
.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Decoding a message

A puzzle gives you a line of dots and dashes.

Input
-- --- .-. ... . / -.-. --- -.. .
Result
MORSE CODE
Limitations
Only letters A to Z, digits 0 to 9, and . , ? ' ! / ( ) & : ; = + - " $ @ are supported; other characters are skipped and listed below the input. Pitch is fixed at 600 Hz, and Farnsworth spacing (slow gaps with fast letters) isn't available. Prosigns such as AR or SK and non-Latin Morse alphabets are not supported.
Assumptions
Morse input uses a single space between letters and " / " between words. Text is treated case-insensitively because Morse code has no lowercase.
Privacy
Translation and audio playback run in your browser, and the text you enter is not sent or stored.

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.

Related tools