How to use the Morse Code Translator
- 1Pick Text to Morse or Morse to Text using the top mode buttons.
- 2Enter letters, digits, or punctuation on the left—or paste Morse code using dots (.), dashes (-), single spaces between letters, and slashes (/) between words.
- 3Drag the Audio Speed slider anywhere from 8 to 30 WPM and click Play Audio to listen to the synthesized tones, or Stop Audio to end playback early.
- 4Click Copy to save the translated output, or click Clear to erase both boxes.
What the Morse Code Translator does
The translator encodes and decodes International Morse patterns completely in your browser with local Web Audio synthesis:
- Maps letters A–Z (case-insensitively), numbers 0–9, and 18 common punctuation marks including period, comma, question mark, slash, hyphen, and quotes.
- Formats Morse letters separated by single spaces and separates words clearly with " / " for easy reading and reliable decoding.
- Synthesizes clean 640 Hz sine-wave beeps directly via the browser Web Audio API at any chosen speed between 8 and 30 words per minute.
- Highlights skipped unsupported characters when encoding and flags invalid Morse characters or unknown codes with a "?" placeholder instead of failing silently.
- Includes Clear and Copy buttons for quick workflow reuse without any external server calls.
Example
SOS HELP
... --- ... / .... . .-.. .--.
S encodes as three dots ("..."), O encodes as three dashes ("---"), and "/" marks the space separating SOS from HELP.
Frequently asked questions
What is International Morse code?
International Morse code is the globally standardized system that assigns specific sequences of dots (short signals) and dashes (long signals) to letters A through Z, digits 0 through 9, and common punctuation.
How are letters and words separated in Morse code?
In this translator, individual letters inside a word are separated by a single space, while separate words are divided by a forward slash surrounded by spaces ( / ).
What does SOS look like in Morse code?
SOS is written as ... --- ... (three dots for S, three dashes for O, and three dots for S). When sent as a single distress prosign, it is transmitted continuously without breaks between letters.
Does the audio playback work without an internet connection?
Yes. Audio beeps are synthesized locally using your browser Web Audio API oscillator at 640 Hz, so no external sound files are downloaded.
Related tools
View All ToolsText to Binary Converter
Convert UTF-8 plain text into 8-bit binary bytes or decode binary back to readable text with space separation and validation.
Reverse Text
Flip text backwards by character, reverse word order, reverse line order, or reverse letters inside each word.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, and kebab-case in your browser.