Morse Code Translator

Translate text to Morse code and back, with audio playback at a 600 Hz tone. All conversion runs in-browser.

About Morse Translator

Convert plain text to International Morse and decode dots and dashes back to text. Supports A-Z, 0-9, and common punctuation. Built-in audio playback uses a Web Audio sine wave so you can hear the message at standard timing.

International Morse encodes each letter and digit as a pattern of dots and dashes. A dot is one time unit, a dash is three, gaps between elements inside a letter are one unit, gaps between letters are three, and word gaps are seven. The translator covers the full English alphabet, the ten digits, and the standard punctuation set (period, comma, question mark, slash, hyphen, colon, semicolon, parentheses, dollar sign, ampersand, apostrophe, quote, exclamation, at-sign).

Text-to-Morse separates letters with single spaces and words with ' / ', which is the common convention used by amateur radio training material and online decoders. Morse-to-text tolerates any whitespace between letters and either a slash or a long gap between words. Audio playback schedules tones through the Web Audio API at 600 Hz with 100ms dot, 300ms dash, and matching inter-element, inter-letter, and inter-word gaps, so output matches the timing used in real CW transmissions.

How to use the Morse Translator
  1. 1

    Pick a direction

    Switch between Text to Morse and Morse to Text with the tabs. The input label and placeholder update to match the selected mode.

  2. 2

    Type or paste your message

    Text mode accepts anything in the supported character set. Morse mode accepts dots, dashes, spaces between letters, and slashes between words.

  3. 3

    Copy or play the output

    Copy the translation to your clipboard, or hit Play audio when converting text to Morse to hear the message at standard timing.

Common use cases

Amateur radio practice

Generate Morse audio for call-sign drills and listening practice at a controlled tempo.

Puzzle and escape-room design

Build puzzle clues that encode names, coordinates, or passcodes into dots and dashes for players to decode.

Classroom demos

Show students how letters map to signals and let them hear their own name in Morse.

Decode captured signals

Paste a Morse transcript from a film, game, or exercise and read the plain-text message.

Frequently asked questions
Which character set is supported?

International Morse: A-Z, 0-9, and the punctuation . , ? / - : ; ( ) $ & ' " ! @. Unsupported characters are ignored during encoding.

How is the audio timed?

A dot plays for 100 ms, a dash for 300 ms, the gap between elements inside a letter is 100 ms, the gap between letters is 300 ms, and the gap between words is 700 ms. The tone is a 600 Hz sine wave.

Does text-to-Morse preserve case?

Morse has no case, so text is folded to uppercase before encoding. Decoded output is plain uppercase text.

Why did my decoded text come out blank?

Morse-to-text expects letters separated by spaces and words separated by ' / '. If your input uses dashes of the wrong length or missing separators, groups fail to resolve and drop out.

Is anything sent over the network?

No. Translation and audio playback both run locally in your browser. Messages are never transmitted.

text