Skip to content

Morse Code Translator

Translate text to Morse code and Morse code back to text as you type. Play it as sound, set the speed and pitch, copy it, or save a WAV file.

Runs in Browser Free

Type text to encode, or paste dots and dashes to decode.

Morse code Text → Morse
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
20 WPM
600 Hz
The code table was checked against ITU-R M.1677-1 and the common punctuation extensions, and every example on this page was run through the tool in both directions. Timing follows the PARIS standard (50 units per word) and is covered by unit tests, as are the round trip between text and Morse code, the handling of unsupported characters and the fields of the WAV header. — Go Tools Engineering Team · Nov 17, 2026

Built and verified by the Go Tools Engineering Team.

Morse code quick reference

What is SOS in Morse code?

... --- ... Three dots, three dashes, three dots. It is sent as one run without letter gaps; written with gaps for reading it looks like this, S O S.

How long is a dot at 20 WPM?

60 ms A dot lasts 1200 ÷ 20 = 60 milliseconds, a dash 180 ms, the gap between letters 180 ms and the gap between words 420 ms.

How do you write numbers in Morse code?

1 = .---- · 5 = ..... · 0 = ----- Every digit is five signals long, and they run in a pattern: 1 is one dot and four dashes, and each next digit trades one dash for a dot, up to 5 as five dots; 6 is a dash and four dots, and each next digit trades one dot for a dash, up to 0 as five dashes.

What is the Morse code for @?

.--.-. The at sign was added in 2004 as the letters A and C run together, so it is .--.-.. This translator also reads and writes it.

What is Morse code?

Morse code writes letters, digits and punctuation as short and long signals: a dot and a dash. It was developed for the telegraph in the 1830s and 1840s, and the version used today is International Morse code, standardised by the ITU in recommendation ITU-R M.1677-1. The most frequent letters get the shortest codes: E is a single dot and T a single dash. Timing carries the structure, not punctuation marks: a dash lasts three dots, the gap inside a letter lasts one dot, the gap between letters three dots and the gap between words seven. Written down, letters are separated by a space and words by a slash. This translator reads and writes that notation in both directions and can also play it.

H  ....      W  .--
E  .         O  ---
L  .-..      R  .-.
L  .-..      L  .-..
O  ---       D  -..

.... . .-.. .-.. --- / .-- --- .-. .-.. -..

What this translator does

Both directions, one box

No mode switch to look for. Text becomes Morse code and Morse code becomes text, decided from what you typed, and the direction badge always shows which one is active.

Forgiving when you decode

Dots can be ., · or •; dashes can be -, −, –, — or _. Letters are separated by a space, words by /, |, a line break or two or more spaces, so Morse code copied from a PDF, a chat or a puzzle usually decodes without cleaning.

Nothing is dropped without telling you

A character with no Morse code, such as ñ, ü or an emoji, stays in the result with a highlight and a note that names it. A code that matches no character is highlighted the same way. The copy keeps them as they are; the sound skips what has no signal.

Sound at a real speed

Playback uses the standard PARIS timing, where one dot lasts 1200 ÷ WPM milliseconds, so 20 WPM is a 60 ms dot. Each tone fades in and out over about 5 ms so there is no click.

A WAV file of what you hear

Download WAV builds a mono, 16-bit PCM file from the same timing as the playback, so the file and the sound match. It is generated in your browser.

Your text stays in the browser

Translation, playback and the WAV file are all produced on your device. The text is not sent to our servers and is not put in the page address, so there is no link to share it; copy the result instead.

Morse code examples

Text to Morse code

Hello world
.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Letters are separated by a space, the two words by a slash, and capitalisation does not matter. At 20 WPM this plays in about 6.7 seconds.

Morse code to text

-.-. --.- / -.-. --.-
CQ CQ

The input has only dots, dashes, a space and a slash, so it is decoded. CQ CQ is the call amateur radio operators send to invite any station to answer.

Other dot and dash characters

·−·· −−− ···− ·  /  −·−− −−− ··−
LOVE YOU

The middle dot and the minus sign are read as dots and dashes, and a slash with spaces around it ends the word. Copying Morse code from a web page or a PDF often brings these characters with it.

A character Morse code does not have

Niño 5
-. .. ñ --- / .....

ñ is not in the table, so it stays in the result, highlighted, and the note under the result names it. The copy keeps the ñ and the audio skips it.

How to use the Morse code translator

  1. 1

    Type text or paste Morse code

    The box opens with Hello world already translated. Start typing to replace it, or paste dots and dashes. The tool works out the direction by itself: if the input is only dots, dashes, spaces and slashes, it is decoded to text; anything else is encoded to Morse code.

  2. 2

    Read the result

    The translation updates as you type, and a badge shows which way it is going. Letters in Morse code are separated by a space and words by a slash. A character that has no Morse code is kept as it is and highlighted, with a note under the result.

  3. 3

    Play it and set the speed

    Press Play to hear the Morse code. Speed is in words per minute (5 to 40, default 20) and pitch in hertz (400 to 1000, default 600). Changing a slider while it plays does not restart the sound; the new value applies the next time you press Play. Stop, Esc, editing the text or leaving the tab all stop it.

  4. 4

    Copy the result or save a WAV file

    Copy puts the result on your clipboard, with dots, dashes and slashes as plain ASCII. Download WAV saves the same sound you hear, at the same speed and pitch, as morse-code.wav. Both are produced in your browser.

Common Morse code mistakes

Letters run together with no spaces

Without a space between letters the dots and dashes cannot be split back into letters. .... can be H, but .... .. is HI and ...... matches no letter at all.

✗ Wrong
......-...-..---
✓ Correct
.... . .-.. .-.. ---

Words separated by a single space

One space separates letters, so two words with one space between them are read as one longer word. Separate words with a slash, a line break or at least two spaces.

✗ Wrong
.... .. - .... . .-. .
✓ Correct
.... .. / - .... . .-. .

Expecting an SOS to be three letters

The distress signal is sent as one continuous run, ...---..., without the gaps between letters. Written with letter gaps, ... --- ..., it reads as S O S. A run with no gaps matches no single character here, so it is highlighted as an unknown code.

✗ Wrong
...---...
✓ Correct
... --- ...

What you can use it for

Learning Morse code
Type a word, read the dots and dashes, then press Play and listen to how it sounds. Slow it down to 5 WPM to hear each letter clearly and raise it as you improve. Morse code is learned by sound, not by looking up a chart.
Decoding a message
Escape rooms, geocaches, puzzle books and old documents often give you a line of dots and dashes. Paste it in and read the text. Unknown codes are highlighted, which usually points straight at a typo or a missing space.
Making a message to send
Turn a name, a greeting or a hidden note into Morse code for a card, a sticker or a game, then copy it as plain ASCII that survives any chat app.
Audio for a project
Save a WAV file of a message at the speed and pitch you want for a video, a game, a doorbell or a phone ringtone. Characters are plain ASCII and the table follows the ASCII table, so it is easy to match against other character codes.

How the translation and the sound work

Timing: one dot is the unit
Every length is a multiple of one dot. A dash is 3 units, the gap between the dots and dashes of one letter is 1 unit, the gap between letters is 3 units and the gap between words is 7 units. The word PARIS adds up to exactly 50 units including the gap after it, which is why speed is quoted in words per minute: at W words per minute a unit lasts 1200 ÷ W milliseconds. At 5 WPM that is 240 ms, at 20 WPM 60 ms and at 40 WPM 30 ms.
Character set
Letters A to Z (including É), digits 0 to 9 and the punctuation . , ? ' ! / ( ) & : ; = + - _ " $ @ are supported. Lowercase letters give the same code as uppercase, and typographic quotes are read as plain quotes. Accented letters other than É, other alphabets and symbols outside this list are not translated; they are kept and highlighted. Procedural signals such as SOS are sent as one run with no letter gaps, so they are not single characters here.
Reading direction
After trimming, an input made only of dots, dashes, slashes, vertical bars and whitespace, with at least one dot or dash, is Morse code. Everything else is text. The only ambiguous input is one that is itself made of dots and dashes, and it is almost always meant to be decoded.
Sound and the WAV file
Playback uses the Web Audio API: a sine oscillator whose volume rises and falls over about 5 ms at the start and end of every tone. The WAV file is built from the same list of tones as 22,050 Hz mono 16-bit PCM in a standard 44-byte RIFF header, so any player or editor opens it. Speed is quoted for plain PARIS timing; Farnsworth spacing, where the gaps are stretched for beginners, is not offered.

Tips for learning and writing Morse code

Start slow and listen
Learn each letter as a sound, not as a picture of dots and dashes. Begin around 10 WPM or lower, and raise the speed once you recognise letters without thinking.
Choose a comfortable pitch
Most people find 500 to 800 Hz easiest to copy for long stretches. If you are listening on a phone speaker, try 700 to 900 Hz; very low tones can disappear.
Use a slash between words
When you write Morse code by hand or paste it into a chat, put a slash between words. Spaces alone are easy to lose when text is reflowed.
Check the highlights
A highlighted piece in the result means something was not translated. Fix the typo, or accept that the character has no Morse code and is skipped in the audio.

Morse code translator FAQ

How do I translate text to Morse code?
Type or paste your text in the box. The Morse code appears next to it as you type: letters separated by a space, words by a slash. Use Copy to take it with you or Play to hear it.
How do I translate Morse code to text?
Paste the dots and dashes into the same box. If the input is only dots, dashes, spaces and slashes, it is decoded to text automatically and the badge changes to Morse to Text. Separate letters with a space and words with a slash, a line break or two or more spaces.
Which characters and symbols are supported?
A to Z (including É), 0 to 9 and the punctuation . , ? ' ! / ( ) & : ; = + - _ " $ @. Anything else, such as other accented letters, other alphabets or emoji, is not translated: it stays in the result, highlighted, and a note under the result lists it.
Can I use a dot symbol or a dash symbol other than . and -?
Yes when decoding. Dots can be ., · or •, and dashes -, −, –, — or _. The result is always written with plain ., - and /, so what you copy is ASCII.
How fast is 20 words per minute?
Speed follows the PARIS standard: the word PARIS takes 50 units, so W words per minute means a unit of 1200 ÷ W milliseconds. 20 WPM is a 60 ms dot. Beginners usually start near 5 to 10 WPM; skilled operators copy at 25 WPM or more.
Can I change the pitch of the sound?
Yes, from 400 to 1000 Hz. The default is 600 Hz. The pitch is also used in the WAV file you download.
How do I download the Morse code as audio?
Press Download WAV. The file morse-code.wav is created in your browser from the same timing and pitch as the playback and is saved to your device. A very long message, over about ten minutes of audio, is too large to play or save and has to be shortened.
Is my text sent to a server?
No. The translation, the sound and the WAV file are all produced in your browser and the text is not sent to our servers. It is also not added to the page address, so there is no share link; use Copy to pass the result on.

Related Tools

View all tools →