Morse Code Converter
Convert text to Morse code and Morse code to text with audio playback.
About This Tool
The Morse Code Converter is a free browser-based utility that translates text into International Morse Code and decodes Morse code back into readable text. It supports the full ITU standard character set including the 26 English letters (A–Z), digits (0–9), and common punctuation marks such as period, comma, question mark, and more.
Morse code is one of the earliest forms of electrical communication, developed by Samuel Morse and Alfred Vail in the 1830s and 1840s. Each character is represented by a unique sequence of short signals (dots) and long signals (dashes). The dot and dash patterns were originally transmitted as electrical pulses over telegraph wires, and later adapted for radio communication. Despite being nearly 200 years old, Morse code remains in active use today in amateur (ham) radio, aviation, and emergency signaling.
This tool includes a Web Audio API–powered audio playback feature that lets you hear the Morse code at adjustable speed (5–35 words per minute). The visual dot–dash display shows each character’s pattern graphically, making it easy to learn and verify the encoding. You can use the bidirectional conversion: type plain text to get Morse code, or paste Morse code (using dots, dashes, spaces, and slashes) to decode it back to text.
All processing runs entirely in your browser using client-side JavaScript. No data is transmitted to any server, no cookies are set, and no input is logged. For other encoding tools, try our ROT13 / Caesar Cipher for letter-substitution encoding, our Base64 Encode/Decode tool for binary-safe encoding, or our Text to Binary converter for binary representations of text.
How to Use
- Select Text to Morse or Morse to Text mode using the toggle at the top.
- Type or paste your input into the Input textarea on the left.
- The converted result appears instantly in the Output panel on the right.
- View the Visual Morse Code display to see dots and dashes rendered graphically.
- Adjust the Playback Speed slider (5–35 WPM) and click Play to hear the Morse code audio.
- Click Copy to copy the output to your clipboard, or use Ctrl+Shift+C.
- Use Swap to move the output back into the input, or Clear to reset.
Popular Morse Code Examples
FAQ
Is my data safe when using this tool?
Yes. All conversion and audio playback is performed entirely in your browser using client-side JavaScript and the Web Audio API. No data is sent to any server, and nothing is stored or logged. It is safe to use with any text content.
What Morse code standard does this tool use?
This tool uses the International Morse Code standard (ITU) which is the most widely recognized system. It supports all 26 English letters, digits 0–9, and common punctuation marks including period, comma, question mark, exclamation mark, slash, parentheses, and more.
How does the audio playback work?
Audio playback uses the Web Audio API built into modern browsers. A 700 Hz sine wave tone plays for a short duration for dots and a longer duration for dashes, with appropriate gaps between symbols, characters, and words. The speed is adjustable from 5 to 35 words per minute.
What is the format for Morse code input?
When decoding Morse to text, use dots (.) and dashes (-) for each character, spaces between characters, and a forward slash (/) between words. For example: '.... . .-.. .-.. --- / .-- --- .-. .-.. -..' decodes to 'HELLO WORLD'.
What does WPM mean in Morse code?
WPM stands for Words Per Minute and measures Morse code transmission speed. The standard reference word is 'PARIS' which contains 50 dot-units. At 15 WPM (a common standard speed), the word PARIS takes 4 seconds to transmit.
Can I convert non-English characters?
This tool supports the standard ITU International Morse Code character set: English letters A–Z (case-insensitive), digits 0–9, and common punctuation. Characters not in the ITU standard (such as accented letters or CJK characters) are skipped during encoding.
What is the SOS signal in Morse code?
SOS in Morse code is '... --- ...' (three dots, three dashes, three dots). It is the international distress signal, chosen because of its distinctive rhythm and ease of recognition. SOS does not actually stand for any words — it was selected purely for its unmistakable pattern.
Related Tools
ROT13 / Caesar Cipher
Encode and decode text using ROT13 or custom Caesar cipher rotation.
NATO Phonetic Alphabet
Convert text to NATO phonetic alphabet representation and vice versa.
Text to Binary Converter
Convert text to binary, octal, decimal, and hex representations. Visualize individual bits with 8-bit grouping.
Base64 Encode/Decode
Encode and decode Base64 strings and files with drag-and-drop support.
Braille Converter
Convert text to Braille Unicode characters and Braille back to text.