Morse Code Translator: Convert Text to Morse Code and Back, With Sound

Morse code is more than a piece of history. Radio amateurs still use it, escape rooms love it, it makes a fun secret message for a friend, and SOS (... --- ...) is recognised almost everywhere. A Morse code translator lets you encode or decode a message without memorising the alphabet first, and hearing it helps you learn the rhythm.
DoraPDF's Morse Code Translator converts text to Morse code and Morse code to text, live as you type, and can play the code as sound so you hear the dots and dashes. It runs entirely in your browser.
How to translate text to Morse code
- Open the Morse Code Translator.
- Leave Mode set to Text → Morse.
- Type or paste your message into Input, for example
meet at 7. - The Output shows the code straight away:
-- . . - / .- - / --... - Press Copy to copy it, or ▶ Play sound to hear it.
In the output, letters are separated by a single space and words by a slash ( / ). This is the most common way to write Morse in text form.
How to decode Morse code to text
- Switch Mode to Morse → Text.
- Type or paste the dots and dashes into Input. Use a full stop (.) for a dot and a hyphen (-) for a dash.
- Put a space between letters and a slash between words. Three or more spaces between groups also count as a word break.
- Read the decoded message in Output. It appears in lowercase.
Example: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. decodes to hello world.
What the translator supports
- Letters A to Z. Capital and small letters give the same code, because Morse has no case.
- Digits 0 to 9.
- Common punctuation: full stop, comma, question mark, exclamation mark, slash, @, &, colon, equals, plus, hyphen, quotation mark, apostrophe and brackets.
Characters without a standard Morse code, such as emoji or accented letters like é or ü, are skipped when encoding. If you need them, write the plain letter instead (e for é).
Hearing the code: the Play sound button
Press ▶ Play sound and the tool beeps the code at a steady 650 Hz tone. A dot lasts 80 milliseconds and a dash is three times longer, with matching gaps between symbols, letters and words. That timing works out to roughly 15 words per minute, a comfortable speed for following along.
The button plays the Morse side of the translation, whichever mode you are in, so you can also paste code you received and listen to it.
A quick Morse code chart
| Letter | Code | Letter | Code | Digit | Code |
|---|---|---|---|---|---|
| A | .- | N | -. | 1 | .---- |
| B | -... | O | --- | 2 | ..--- |
| C | -.-. | P | .--. | 3 | ...-- |
| D | -.. | Q | --.- | 4 | ....- |
| E | . | R | .-. | 5 | ..... |
| F | ..-. | S | ... | 6 | -.... |
| G | --. | T | - | 7 | --... |
| H | .... | U | ..- | 8 | ---.. |
| I | .. | V | ...- | 9 | ----. |
| J | .--- | W | .-- | 0 | ----- |
| K | -.- | X | -..- | ||
| L | .-.. | Y | -.-- | ||
| M | -- | Z | --.. |
Tips for learning Morse code
- Learn by sound, not by sight. Experienced operators recognise the rhythm of a letter rather than counting dots. Play short words and listen to them several times.
- Start with the most common letters. E (.) and T (-) are the shortest codes for a reason. Add A, I, M, N next.
- Practise with real words. Encode your name, a friend's name, or short words like "yes", "no" and "ok".
- Remember SOS as one pattern.
... --- ...is sent as a continuous signal in emergencies, not as three separate letters.
Fun ideas
- Write a birthday message in Morse on a card and include a link to the decoder.
- Build an escape-room clue: hide a code word in Morse and let players decode it.
- Teach children about early telegraphs and how messages crossed oceans.
- Pair it with other codes: try the Braille Translator or turn text into ones and zeros with Binary to Text.
Common problems and fixes
My decoded text has missing letters. Check the separators. Each letter needs a space after it, and words need a slash. Extra characters other than dots, dashes, spaces and slashes break the code.
I typed a long dash (–) and it did not decode. Some keyboards and phones turn a hyphen into an en dash or em dash automatically. Use the plain hyphen key.
No sound plays. Check your volume and that the tab is not muted. Then press ▶ Play sound again; browsers start audio only after a click.
Accented letters disappeared. Standard International Morse in this tool covers the basic Latin alphabet. Replace accented letters with their plain form.
Privacy
Translation and sound both happen in your browser. Your messages are not uploaded or stored.
FAQ
Is this Morse code translator free? Yes, with no sign-up and no limits.
How do I separate words in Morse code? Use a slash ( / ) between words and a space between letters. The tool does this automatically when encoding.
Can I hear the Morse code? Yes. Press ▶ Play sound to play the code as beeps.
What is SOS in Morse code?
... --- ... (three dots, three dashes, three dots).
Does it support numbers? Yes. Digits 0 to 9 are supported, as well as common punctuation.
Try the tools from this guide — free
Keep reading
Roman Numerals Converter: Turn Numbers Into Roman Numerals and Back (1 to 3999)
Convert any number from 1 to 3999 into Roman numerals, or read a numeral like MMXXVI as a number. Includes a quick chart, rules and common examples.
GuideHotel Website Template: Build a Resort or Travel Site With the Kage 3D Theme
Plan a hotel, resort or travel agency website and build it with Kage, a 3D scroll theme with rooms, gallery, reviews and a WhatsApp button.
GuideHow to Find Credible Sources for an Assignment (and Use AI Safely)
Find and evaluate credible sources for an assignment: a 5-question check, where to search, and how to verify leads from an AI study helper.