Skip to content

Morse Code Translator

Bidirectional text-to-Morse and Morse-to-text conversion with audio playback via Web Audio API.

Morse Code Translator tool

Loading...

Example

Input: SOS HELP

Result: ... --- ... / .... . .-.. .--.

Letters are separated by a space and words by a slash. SOS is three dots, three dashes and three dots.

Morse Code Alphabet A to Z

LetterCodeLetterCode
A.-N-.
B-...O---
C-.-.P.--.
D-..Q--.-
E.R.-.
F..-.S...
G--.T-
H....U..-
I..V...-
J.---W.--
K-.-X-..-
L.-..Y-.--
M--Z--..

Digits and punctuation are in the reference chart inside the tool.

  1. Type or paste text into the Text panel to see it in Morse code.
  2. To decode, type into the Morse Code panel instead, using . and - with a space between letters and / between words.
  3. Set the playback speed in words per minute with the slider.
  4. Click Play Morse to hear the message as tones.
  5. Use the reference chart to look up any letter, number or punctuation mark.
  6. Click the copy button to copy the Morse code or the decoded text.

Morse Code Letters, Timing and Sound

This translator turns text into Morse code and Morse code back into text, and it can play the code as sound. Type in either panel and the other updates at once. "SOS" becomes ... --- ..., with a space between letters and a slash between words.

Morse code spells each character with short signals, called dots or dits, and long signals, called dashes or dahs. The tool covers the 26 letters, the digits 0 to 9 and 18 punctuation marks, from the period to the @ sign. Accents are removed before encoding, so é is sent as E. Anything with no Morse code, such as an emoji, is skipped. When you decode, any code the tool does not know shows as #.

Press Play Morse to hear the message as a 600 Hz tone. The speed runs from 5 to 30 words per minute, with 15 as the default. The timing follows the standard ratios. A dash lasts as long as three dots. The gap inside a letter is one dot, the gap between letters is three dots and the gap between words is seven. At 20 words per minute, one dot lasts 60 milliseconds.

To learn by ear, start slow and raise the speed as the rhythm of each letter sinks in. The reference chart below the player lists every supported character. To spell words aloud instead, use the NATO Phonetic Alphabet converter. For 1s and 0s rather than dots and dashes, try Text to Binary.

Sources

Frequently Asked Questions

SOS is ... --- ...: three dots, three dashes, three dots. The tool shows it with spaces between the letters. In a real distress call it is sent as one unbroken signal with no letter gaps, which is why it is known as a procedural signal rather than a word. The letters were chosen because the pattern is easy to send and recognize.
Use a dot (.) and a hyphen (-). Put one space between letters and a slash (/) between words. A vertical bar, a new line or three spaces also mark a word break. If your phone keyboard turns -- into a long dash or ... into an ellipsis, the tool changes them back.
It is based on the word PARIS, which takes exactly 50 dot-lengths to send, including the gap after it. At 15 words per minute you could send PARIS 15 times in a minute, so one dot lasts 1200 divided by 15, or 80 milliseconds. At 5 words per minute a dot lasts 240 milliseconds.
Yes. Amateur radio operators still use it, because a Morse signal gets through when voice is too weak to understand. Radio navigation beacons for aircraft identify themselves with a short Morse code. It is also used as an input method by some people with limited movement, through a switch or a single button.

Related Tools

Text to Binary Converter

Convert text to binary and binary back to text. Supports ASCII and UTF-8 encoding with space-separated bytes.

Text and Writing

Text to NATO Alphabet

Convert text to the NATO phonetic alphabet. Each letter becomes its phonetic code word like Alpha, Bravo, Charlie.

Text and Writing

Text to Unicode Converter

Convert text to Unicode code points and back. Supports U+XXXX, HTML hex, HTML decimal, and 0x hex formats.

Text and Writing

Case Converter

Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE, and PascalCase.

Text and Writing

String Reverse

Reverse any string of text instantly. Flip every character so the last one comes first, with emoji kept intact.

Text and Writing

Text Encoder and Decoder

Encode and decode text using ROT13, Caesar cipher with adjustable shift, Atbash, and text reversal.

Text and Writing