Morse Code Translator
Bidirectional text-to-Morse and Morse-to-text conversion with audio playback via Web Audio API.
Morse Code Translator tool
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
| Letter | Code | Letter | Code |
|---|---|---|---|
| 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.
- Type or paste text into the Text panel to see it in Morse code.
- To decode, type into the Morse Code panel instead, using . and - with a space between letters and / between words.
- Set the playback speed in words per minute with the slider.
- Click Play Morse to hear the message as tones.
- Use the reference chart to look up any letter, number or punctuation mark.
- 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
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 WritingText to NATO Alphabet
Convert text to the NATO phonetic alphabet. Each letter becomes its phonetic code word like Alpha, Bravo, Charlie.
Text and WritingText to Unicode Converter
Convert text to Unicode code points and back. Supports U+XXXX, HTML hex, HTML decimal, and 0x hex formats.
Text and WritingCase Converter
Convert text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case, CONSTANT_CASE, and PascalCase.
Text and Writing