Morse Code Converter
Convert text to Morse code and Morse code back to text instantly. Play audio, download WAV files, and more — all processing stays in your browser.
How to Use the Morse Code Converter
- Select Text → Morse Code to convert plain text into Morse code, or Morse Code → Text to decode Morse code back into readable text.
- Type or paste your content into the input area. For Morse input, use dots (.) and dashes (-), separate letters with spaces, and words with
/or spaces (depending on settings). - Turn on Auto-convert to see results instantly as you type.
- Click Play Audio to hear the Morse code, or Download WAV to save it as an audio file.
- Copy the result to your clipboard or download it as a .txt file.
What Is Morse Code?
Morse code is a communication method that encodes text characters as sequences of dots (.) and dashes (-). It was widely used in telegraphy and is still used in aviation, amateur radio, and assistive technologies.[reference:0]
The timing follows a standard ratio: a dash is three times the duration of a dot, and the gap between characters is one dot duration. Words are separated by a gap of seven dot durations.[reference:1]
Morse Code Reference (International)
Letters: A:.-, B:-..., C:-.-., D:-.., E:., F:..-., G:--., H:...., I:.., J:.---, K:-.-, L:.-.., M:--, N:-., O:---, P:.--., Q:--.-, R:.-., S:..., T:-, U:..-, V:...-, W:.--, X:-..-, Y:-.--, Z:--..
Numbers: 0:-----, 1:.----, 2:..---, 3:...--, 4:....-, 5:....., 6:-...., 7:--..., 8:---.., 9:----.
Punctuation: .:.-.-.-, ,:--..--, ?:..--.., /:-..-., (:-.--., ):-.--.-, &:.-..., ::---..., ;:-.-.-., =:-...-, +:.-.-., -:-....-, _:..--.-, ":.-..-., @:.--.-.
Numbers: 0:-----, 1:.----, 2:..---, 3:...--, 4:....-, 5:....., 6:-...., 7:--..., 8:---.., 9:----.
Punctuation: .:.-.-.-, ,:--..--, ?:..--.., /:-..-., (:-.--., ):-.--.-, &:.-..., ::---..., ;:-.-.-., =:-...-, +:.-.-., -:-....-, _:..--.-, ":.-..-., @:.--.-.
💡 Pro tip: Enable Auto-convert to watch your text transform into Morse code as you type — perfect for learning or quick conversions.
Frequently Asked Questions
Does this tool support all characters?
The converter supports all letters (A-Z), numbers (0-9), common punctuation (.,?!- etc.), and spaces. Unsupported characters are silently ignored. The full international Morse code set is supported.
Can I play the Morse code as sound?
Yes! Click the Play Audio button to hear the Morse code using your browser's Web Audio API. You can also adjust the speed (WPM) and download the sound as a WAV file.[reference:2]
Is my text private?
Absolutely. All encoding, decoding, and audio generation happens locally in your browser. No data is ever sent to any server.
What does the "Use period (.) as space" option do?
When enabled, the converter treats a single period (.) as a space separator between Morse code words. This is useful for some Morse notations where spaces are ambiguous.
Does it work offline?
Yes! Once the page loads, you can disconnect from the internet — all functionality works offline.