Skip to content
Free tool

Morse Code Translator – text to Morse code and back

Use this Morse Code Translator to convert text to Morse code and Morse code back to text. The tool detects the direction automatically. You can hear the code, view it as flashing light if you like, and download it as a WAV file. There’s also a Morse code chart with letters, numbers and special characters. Free, with no sign-up—your text stays in your browser.

Built by Dimitri Heissler

Building something of your own? Host it on a VPS with full control.

Your text stays in your browser: it is neither uploaded nor saved.

Characters in the input
0
Characters in the result
0
Words
0
Characters translated
0

Listen to Morse code and see it as light

The Morse code is played as audio according to the PARIS standard: a dot lasts 1200 divided by words per minute (WPM) milliseconds, and a dash lasts three dots.

Speed15 WPM
Pitch600 Hz
Duration in seconds
0

The light flashes rapidly. Do not use it if you have photosensitivity or epilepsy. The speed setting controls how fast it flashes.

Example result

What this Morse Code Translator shows you

Type text to instantly get Morse code made of dots and dashes, plus a list of characters and their lengths. The tool also converts Morse code back to text. You can listen to the code, see it as flashing light, and download it as a WAV file. Three examples:

Example 1: Translate text into Morse code

Input (text):

Hello World

Output (Morse code):

.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Characters in the first example, with Morse code and length
CharactersMorse codeUnits
H....7
E.1
L.-..9
O---11
W.--9
R.-.7
D-..7

In words: 2 words with 10 letters become Morse code, with each letter represented by its own group of dots and dashes. Letters are separated by spaces and words by slashes. Decoding the code gives “HELLO WORLD” again.

Example 2: Read and listen to Morse code

Input (Morse code, detected automatically):

... --- ...

Output (text):

SOS
How long SOS takes at different speeds
Speed (WPM)Dot duration in msSOS duration in seconds
101203.2
15802.2
20601.6
25481.3

In words: The code “... --- ...” is SOS. At 15 WPM, the default speed, a dot lasts 80 milliseconds and the entire SOS takes 2.2 seconds. The higher the speed, the shorter the dots, dashes, and pauses.

Example 3: Umlauts, ß and special characters

Input (German sample text, not translated):

Straße über Köln?

Output (Morse code):

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

Result in words: In the German sample text, ß becomes ...--.., ü becomes ..--, ö becomes ---. and the question mark becomes ..--... These umlauts are not part of the international ITU alphabet, but are common in German. The tool omits characters without Morse code, such as the euro sign, and lets you know: “5 €” becomes just “.....”.

How it works

How to translate text to Morse code and back

Four steps from text to sound—no sign-up or installation.

Step 1

Paste text or Morse code

Type the text you want to translate, or paste Morse code made of dots and dashes. The result appears instantly as you type, without pressing a button.

Step 2

Check direction

The tool automatically detects Morse code and translates it into text; everything else becomes Morse code. Choose “Text → Morse” or “Morse → Text” to set the direction. When converting text to Morse code, you can choose the word separator (a slash or three spaces) and the characters for dots and dashes.

Step 3

Hear it or see it as light

Below the result, you can adjust the speed and pitch and play the code. You can also enable a flashing light and download the WAV file with one click.

Step 4

Apply result

Copy the result, download it as a text file, or use “Translate result back” to check it. The table below shows each character and its code.

Rules

Reading Morse code: dots, dashes, and pauses

Morse code consists of short and long signals. Its speed is measured in words per minute (WPM) using the standard word PARIS: at 20 WPM, one unit lasts 60 milliseconds.

Duration of signals and pauses in Morse code
PartDuration
Dot1 unit of sound
Dash3 units of sound
Pause within a letter1 unit of silence
Pause between letters3 units of silence
Pause between words7 units of silence

SOS is a signal, not a word

The SOS distress signal is sent without pauses between the letters, as a single character: ...---... . It does not stand for anything; it is simply the pattern that is easiest to recognize over radio. If you type SOS into the translator, it renders the three letters separately as ... --- ... . In practice, both forms are equally easy to recognize.

The tone is usually between 400 and 800 Hertz. The translator offers a range of 300 to 1000 Hertz and starts at 600 Hertz.

Morse alphabet

Morse code chart: letters, numbers, and symbols

Every character the translator knows, with its Morse code. The table uses the same data as the translator, so they always match.

Letters A to Z

The international alphabet according to ITU-R M.1677-1. Letter case does not matter.

A
.-
B
-...
C
-.-.
D
-..
E
.
F
..-.
G
--.
H
....
I
..
J
.---
K
-.-
L
.-..
M
--
N
-.
O
---
P
.--.
Q
--.-
R
.-.
S
...
T
-
U
..-
V
...-
W
.--
X
-..-
Y
-.--
Z
--..

Digits 0 to 9

Every digit consists of exactly five symbols. From 1 to 5, the sequence starts with an increasing number of dots; from 6 to 0, with an increasing number of dashes.

0
-----
1
.----
2
..---
3
...--
4
....-
5
.....
6
-....
7
--...
8
---..
9
----.

Punctuation and special characters

The @ was added in 2004. ! ; & _ $ are not part of the ITU recommendation, but are widely used.

.
.-.-.-
,
--..--
?
..--..
'
.----.
!
-.-.--
/
-..-.
(
-.--.
)
-.--.-
&
.-...
:
---...
;
-.-.-.
=
-...-
+
.-.-.
-
-....-
_
..--.-
"
.-..-.
$
...-..-
@
.--.-.

German umlauts and other letters

Extensions not included in the ITU recommendation but commonly used in certain languages, such as Ä, Ö, Ü and ß in German. The translator sends other accented letters without their accents and shows you which ones were affected. The ß is lowercase here because its uppercase equivalent would be SS.

Ä
.-.-
Ö
---.
Ü
..--
ß
...--..
É
..-..
Å
.--.-
Ç
-.-..
È
.-..-
Ñ
--.--

Discover more

More tools

FAQ

Frequently asked questions about the Morse Code Translator

Quick answers about Morse code, SOS, special characters and this tool.

Type or paste your text above. The Morse Code Translator replaces each letter with dots and dashes, separates letters with a space and puts a slash between words. “SOS” becomes “... --- ...”. Capitalization doesn’t matter; numbers and common punctuation are translated too.

Paste the Morse code above and the tool will detect it automatically. Write dots as (.) and dashes as (-); it also accepts · and –. A dot represents a short signal and a dash a long one: “short, long, short, short” is .-.., or L. Separate letters with one space and words with a slash, a vertical bar or three spaces. Anything it can’t read appears as # in the result, with its position shown. The tool reads typed or pasted code, not audio recordings or images.

SOS is the international distress signal and is written ...---... . It is not an abbreviation for a phrase, but a pattern that is especially easy to recognize over radio: three short, three long, three short. It is sent without pauses between the letters. The translator writes the three letters separately as ... --- ... , which sounds almost the same at normal speed and takes about 2.2 seconds at 15 WPM.

Yes, though mostly in niche uses. In amateur radio, Morse telegraphy (CW) remains a distinct operating mode that can be understood even with weak signals. In aviation, many radio beacons transmit their identifiers in Morse code, as do maritime radio beacons. The SOS distress signal is still widely recognized and can be sent using light, sound or tapping without a radio. Morse code also serves as an input method for people with severe motor impairments, since it only requires one or two keys or switches. With this translator, you can read, write and listen to Morse code.

“Hello” is .... . .-.. .-.. ---, and “I love you” is .. / .-.. --- ...- . / -.-- --- ..-. Just enter your own sentence or name above to see the code immediately. Use “Play” to hear it, or send the WAV file.

Alongside A to Z, digits and common punctuation, the translator supports these extensions outside the international ITU alphabet: Ä = .-.- , Ö = ---. , Ü = ..-- , ß = ...--.. , É = ..-.. , È = .-..- , Å = .--.- , Ç = -.-.. and Ñ = --.-- . Other accented letters, such as á, à, ô and ã, are sent without their accents, and the tool shows you which ones were affected. It omits characters without Morse code, such as the euro sign, emojis and letters from other alphabets, and lists them below the text field so nothing goes missing unnoticed.

Yes. Below the result, “Play” plays the code as a sine wave. You can set the speed (5 to 40 WPM) and pitch (300 to 1000 hertz). “Download as WAV file” gives you an audio file. Playback stops after 10 minutes; WAV files are limited to 5 minutes. The flashing-light view also shows the code as light. It starts off because rapid flashing can be a problem for people with light sensitivity, and stays off if your system is set to reduce motion. The same rule applies with a flashlight: a short flash is a dot, and a long flash is a dash.

WPM means words per minute, measured using the standard word PARIS. A dot lasts 1200 divided by WPM milliseconds: 80 milliseconds at 15 WPM or 60 milliseconds at 20 WPM. A dash lasts three dots. The pause between signals within a letter lasts one dot, between letters three dots and between words seven dots. If you want to learn Morse code, try a slow speed of 5 to 10 WPM in the player alongside the chart below.

No. Translation, sound and WAV files are generated in your browser. Your text is neither uploaded nor saved, and you don’t need an account.

Any more questions?

Contact Support
Building something of your own?

Your project needs a server that's always accessible

A ZAP-Hosting VPS reliably puts your application or project online.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all text & character tools