Morse Code Translator
Convert text to Morse code and Morse code back to text on one screen. Type in either box and the other updates as you go, then press Play to hear your message as beeps with a synced flashing light. Adjust the speed in words per minute and tap Copy when you are done. Everything runs in your browser, so your text never leaves the page.
What is the Morse Code Translator?
The Morse Code Translator is a free online tool that converts ordinary text into International Morse Code and decodes Morse code back into readable text, both directions on one screen. Beyond showing the dots and dashes, it can play your message out loud as a sequence of beeps with a synchronized flashing light, so you can hear and see exactly how the signal sounds at any speed.
How to use it
- Type or paste your words into the Text box. The Morse code appears instantly in the box beneath it.
- To go the other way, paste dots and dashes into the Morse box — separate letters with a single space and words with a slash — and the plain text appears live.
- Press Play to hear the message as beeps while a panel flashes in time with each signal.
- Drag the speed slider to set the words per minute, from a slow learning pace to a fast operator pace.
- Tap Copy to grab the result. One glance, done — no sign-up and nothing to install.
The method behind it
Each letter and digit maps to a fixed pattern of short signals (dots) and long signals (dashes), defined by the International Telecommunication Union standard. Encoding looks up every character in that table and joins the patterns with a single space between letters and a slash between words. Decoding reverses the lookup: each space-separated group of dots and dashes is matched back to its character. The audio player follows the classic timing where a dot is one unit, a dash is three units, the gap inside a letter is one unit, the gap between letters is three units, and the gap between words is seven units. The dot length comes from the PARIS standard, where the duration in milliseconds equals 1200 divided by the words per minute, so 20 WPM produces a 60-millisecond dot.
Examples
- Text
SOSbecomes Morse... --- ..., the famous distress call. - Text
HELLO WORLDbecomes.... . .-.. .-.. --- / .-- --- .-. .-.. -... - Morse
-- --- .-. ... .decodes back to the textMORSE.
Morse code reference table
| Letter | Code | Letter | Code |
|---|---|---|---|
| A | .- | N | -. |
| B | -... | O | --- |
| C | -.-. | P | .--. |
| D | -.. | Q | --.- |
| E | . | R | .-. |
| F | ..-. | S | ... |
| G | --. | T | - |
| H | .... | U | ..- |
| I | .. | V | ...- |
| J | .--- | W | .-- |
| K | -.- | X | -..- |
| L | .-.. | Y | -.-- |
| M | -- | Z | --.. |
Common use cases
- Students and teachers learning or demonstrating how Morse code works.
- Amateur (ham) radio newcomers practicing sending and copying messages.
- Scouts and cadets studying signaling for badges and field exercises.
- Puzzle hunts, escape rooms, and geocaching where a message is hidden in dots and dashes.
- Hobbyists adding a Morse beep or flash effect to a project and checking the timing.
Why use this one
Most pages that rank for this query only show static dots and dashes, and many split text-to-Morse and Morse-to-text into two separate one-way pages. This tool keeps both directions on a single screen, adds audible beep playback with a synced visual flash, and lets you adjust the speed in words per minute. Everything runs in your browser, so your text never leaves the page and there is no account to create. When you need a related conversion, try our ASCII Converter, the Number Base Converter, or the Base64 Encode & Decode tool.
Frequently asked questions
How do I translate text into Morse code?
Type or paste your words into the Text box and the Morse code appears instantly in the box below. Letters are separated by a single space and words by a slash (/). Press Play to hear it as beeps with a synced flashing light.
How do I decode Morse code back into text?
Paste the dots and dashes into the Morse box — letters separated by spaces and words by a slash — and the plain text appears live. Any pattern that is not a valid Morse character is shown as a question mark.
What do the dots, dashes, and slashes mean?
A dot (.) is a short signal and a dash (-) is a long one. A single space separates letters within a word, and a slash (/) separates whole words. This is the standard International Morse Code convention.
Can I change how fast the Morse code plays?
Yes. Use the speed slider to set words per minute (WPM). The tool uses the PARIS standard, where the dot length equals 1200 divided by the WPM, so 20 WPM gives a 60-millisecond dot.
Is my text sent to a server?
No. Every translation and the audio playback run entirely in your browser using JavaScript and the Web Audio API. Nothing you type is uploaded, logged, or stored.