About Morse Code Translator
The Morse Code Translator converts plain text into Morse code, and decodes Morse code back into readable text, in both directions from a single input box — with a Play as Audio button that reproduces the actual dots and dashes as timed beeps using the Web Audio API. It covers the full Latin alphabet, digits and the common punctuation marks defined in the international Morse code standard.
It's used for learning and practicing Morse code (hearing the rhythm of dots and dashes reinforces the pattern far better than reading it as text alone), decoding a Morse message from a puzzle, escape room, or amateur radio context, and for the simple novelty of encoding a short phrase or name into Morse for a tattoo, engraving, or bit of trivia. Letters are separated by a single space in the Morse output, and words are separated by a forward slash surrounded by spaces, matching the conventional written notation for Morse code.
The audio playback follows the standard Morse timing ratios: a dash lasts three times as long as a dot, the gap between dots and dashes within a letter is one unit, the gap between letters is three units, and the gap between words is seven units — all scaled from a base unit duration, so the rhythm sounds authentic rather than just beeping through the symbols at a flat pace. Playback is generated live with an oscillator tone, so no audio files are downloaded or played from a server.
When decoding, unrecognized Morse sequences are simply skipped in the output, and when encoding, characters with no defined Morse equivalent are dropped rather than breaking the whole conversion. This keeps the tool forgiving of minor formatting inconsistencies in pasted Morse (extra spaces are trimmed automatically) while still producing a clean, correct result for well-formed input. Everything, including audio generation, runs entirely in your browser.
How to Use the Morse Code Translator
- Choose a direction: Text → Morse or Morse → Text.
- Type or paste your text (or Morse code, dots and dashes separated by spaces, words separated by /).
- Read the converted result, or click Play as Audio to hear it.
Features
- Bidirectional: text to Morse and Morse back to text
- Full Latin alphabet, digits and common punctuation
- Audio playback with authentic Morse timing ratios
- Forgiving of extra whitespace in pasted Morse input
Examples
Encoding a distress signal
Input
SOS
Output
... --- ...
Decoding a short message
Input
.... . .-.. .--.
Output
HELP
Encoding a two-word phrase
Input
HI THERE
Output
.... .. / - .... . .-. .
Frequently Asked Questions
How are letters and words separated in Morse output?
Individual dots and dashes for one letter are grouped together with no space; letters are separated by a single space; words are separated by a forward slash surrounded by spaces (' / '), matching standard written Morse notation.
Does the audio playback sound like real Morse code?
Yes — it follows the standard timing ratios (a dash is three times the length of a dot, with proportionally longer gaps between letters and words), generated live as an audio tone rather than played from a pre-recorded file.
What happens if I paste Morse code with a typo or extra spaces?
Extra whitespace is trimmed automatically. An unrecognized dot/dash sequence is simply skipped in the decoded output rather than stopping the whole conversion or throwing an error.
Is the Morse code translator free?
Yes, the Morse code translator is completely free with no usage limits. No signup, no account and no installation required.
Is my data safe?
Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.
Related Tools
Binary to Text Converter
Convert text to binary code or decode binary back to readable text, byte by byte. Free online binary to text converter and text to binary translator.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more. Instant, free case conversion.
Reverse Text / Words / Lines
Reverse text by character, word or line order instantly. Free online text reverser — flip a sentence, word order or a whole list of lines.
Fancy Text Generator
Turn plain text into bold, italic, script, double-struck and other Unicode font styles for bios and captions. Free fancy text generator, copy-paste ready.
Word Counter
Count words, characters, sentences and paragraphs in real time. Free online word counter for essays, tweets and SEO content.
Voice Recorder
Record audio from your microphone and download it instantly, with multiple takes kept in one session. Free online voice recorder, nothing is uploaded.
Upside Down Text Generator
Flip your text upside down using Unicode characters — paste it anywhere, from social bios to group chats. Free upside down text generator.
Text Repeater
Repeat any text or phrase a set number of times with a custom separator. Free online text repeater — great for spam text, testing and social posts.