Morse Code Translator
Convert text to Morse code and back, with audio playback.
Morse Code Reference
About This Morse Code Translator
Morse code is a method of encoding text characters using sequences of dots (short signals) and dashes (long signals). Invented in the 1830s by Samuel Morse, it was used extensively in telegraph communication and is still recognized as a universal signaling method today. This tool lets you convert between English text and Morse code instantly, complete with audio playback using the Web Audio API.
How to Use
- Enter text or Morse code in the input area.
- Click "Text to Morse" to convert English text to Morse code.
- Click "Morse to Text" to convert Morse code back to English (use spaces between characters, / between words).
- View the visual dot-and-dash representation below the output.
- Adjust the speed slider and click "Play Audio" to hear the Morse code as beeps.
- Click "Copy" to copy the output to your clipboard.
Frequently Asked Questions
How does Morse code audio work?
The audio is generated using the Web Audio API directly in your browser. A dot is a short beep, a dash is a beep three times longer. Gaps between elements, characters, and words follow standard Morse timing conventions.
What does WPM mean?
WPM stands for "Words Per Minute" and controls the speed of Morse code playback. Standard speed is around 15-20 WPM. Beginners often start at 5-10 WPM while experienced operators can handle 25+ WPM.
What characters are supported?
This translator supports all 26 English letters (A-Z) and digits 0-9. Special characters and punctuation are not included in this basic implementation. Letters are case-insensitive.
How do I write Morse code input?
Use a period (.) for a dot and a hyphen (-) for a dash. Separate individual letters with a space and separate words with a forward slash (/). For example: ".... . .-.. .-.. --- / .-- --- .-. .-.. -.." spells "HELLO WORLD".