Morse Code Translator
Translate text to Morse code and back, then play it aloud as beeps at the speed you choose — right in your browser.
🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.
The Morse Code Translator converts plain text into Morse code and decodes Morse back into readable text. Type a message and get the classic dots and dashes — letters separated by spaces, words by a / — or paste Morse and read it back as text. Switch direction with one button, and copy or download the result. It covers the full alphabet, digits 0–9 and common punctuation.
You can also hear it. Press Play and the tool sounds the code out as beeps using the Web Audio API — no sound file needed — with a speed control in words per minute so you can slow it down to learn the rhythm or speed it up once it clicks. The dot, dash and gap timing follows the standard ratios (a dash is three dots long, with proper spacing between letters and words), so it sounds like real Morse.
It's built for learning Morse, decoding a message someone sent you, adding a hidden layer to a puzzle or escape room, or just having fun with a classic code. Unrecognised characters are flagged rather than silently dropped, so you always know what happened to your input. Everything runs in your browser — nothing you type is uploaded.
How to use
- Choose a direction: “Text → Morse” to encode, or “Morse → Text” to decode.
- Type or paste your text or Morse code — use spaces between letters and / between words when decoding.
- Read the result and copy or download it.
- Press “Play sound” to hear the code as beeps, and drag the WPM slider to change the speed.
- Use Swap to flip the input and output and translate the other way.
Examples
“SOS” becomes “... --- ...”, the internationally recognised distress signal.
“Hello World” becomes “.... . .-.. .-.. --- / .-- --- .-. .-.. -..”, with the slash marking the word break.
Paste “.-- .... .- - / .... .- - .... / --. --- -..” to read the message back as text.
Press Play at a low WPM to learn how each letter sounds, then raise the speed as you get comfortable.