Morse Code Translator
NewConvert text to International Morse Code and back, with audible dot/dash playback right in your browser.
International Morse Code represents each letter and digit as a sequence of dots (short signals) and dashes (long signals). Letters within a word are separated by a single space, and words are separated by a forward slash (/). The "Play sound" button beeps out the dots and dashes at standard timing ratios using your browser's audio, entirely client-side.
Frequently Asked Questions
How are word breaks represented in the Morse output?
Letters within a word are separated by a single space, and whole words are separated by a forward slash (/) surrounded by spaces — the standard convention for written Morse code, as opposed to the timing-based pauses used in audio Morse.
What happens if I type a character that has no Morse equivalent?
Unsupported characters (anything outside A-Z, 0-9, and standard punctuation like periods, commas, and question marks) are silently skipped in the Text → Morse direction so the output stays valid Morse.
How does the "Play sound" button generate the beeps?
It uses the Web Audio API to schedule short and long tone bursts (dots and dashes) at standard International Morse Code timing ratios — a dash lasts three times as long as a dot — entirely within your browser, with no audio files downloaded.
Can I decode Morse code back to text?
Yes — paste a Morse sequence (dots, dashes, spaces between letters, and slashes between words) into the Morse code field and click "Morse → Text" to recover the original message.
Is this the same code used by ships and old telegraphs?
Yes, this implements International Morse Code, the standardized version used since the early 20th century for radio, telegraph, and maritime signaling — distinct from the older American Morse Code, which used different timing and some different letter patterns.