DoraPDF / Blog

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

By the DoraPDF team · 5 min read · Updated 2026-11-23
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

  1. Open the Morse Code Translator.
  2. Leave Mode set to Text → Morse.
  3. Type or paste your message into Input, for example meet at 7.
  4. The Output shows the code straight away: -- . . - / .- - / --...
  5. 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

  1. Switch Mode to Morse → Text.
  2. Type or paste the dots and dashes into Input. Use a full stop (.) for a dot and a hyphen (-) for a dash.
  3. Put a space between letters and a slash between words. Three or more spaces between groups also count as a word break.
  4. Read the decoded message in Output. It appears in lowercase.

Example: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. decodes to hello world.

What the translator supports

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

Fun ideas

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

Guide

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.

Guide

Hotel 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.

Guide

How 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.