This Morse code translator converts plain text to Morse code and decodes Morse code back to text in a single live, two-way panel — and it goes well beyond a simple lookup. You can hear your message as authentic audio beeps, tune the playback speed and tone, swap the two sides with one click, and browse a full reference chart of every supported letter, digit and symbol. It is built for people learning Morse, amateur radio operators practising their copy, puzzle and escape-room makers, teachers, and anyone who just wants to send a quick dot-dash message.
Morse code, invented in the 1830s and 1840s, encodes every character as a short sequence of dots (short signals) and dashes (long signals). It is one of the oldest digital communication systems still in everyday use, because it survives noise, weak signals and minimal equipment — a flashlight, a buzzer or a single radio tone is enough to carry a message. This tool uses the modern International (ITU) Morse code standard, the same one used worldwide for amateur radio and aviation, so what you produce here is genuinely transmittable.
How it works
Encoding walks through your text one character at a time, looks each one up in the International Morse table, and replaces it with its dots and dashes. Decoding does the reverse: it splits your input into code groups and maps each group back to a character. The spacing convention is fixed and unambiguous so the output is never ambiguous:
- a single space separates letters
- a forward slash separates words
Because Morse has no concept of case, input is treated case-insensitively when encoding. Characters with no Morse equivalent are simply skipped when encoding, and any group that does not match a known code becomes a question mark when decoding, so you can immediately spot a typo. The audio engine uses the browser Web Audio API to play a sine-wave tone for each symbol, with gaps timed by the PARIS rule — one dot lasts 1.2 divided by your words-per-minute setting, a dash lasts three times as long, the gap inside a character is one unit, between letters three units, and between words seven units. That is exactly the rhythm a trained operator expects to hear.
Example
Encoding HELLO gives:
.... . .-.. .-.. ---
with single spaces between the letters. Encoding the two-word phrase GO HOME gives --. --- / .... --- -- ., where the forward slash marks the break between the words. The famous distress call SOS is ... --- ... — three dots, three dashes, three dots — and it sounds unmistakable when you press Play beep.
| Character | Morse |
|---|---|
| S | … |
| O | --- |
| E | . |
| 5 | … |
| ? | ..—.. |
Everything runs entirely in your browser — nothing you type is uploaded, stored or shared.