Morse Code Translator

Convert text to Morse code and back, listen to it at the speed you choose, and download it as a WAV file.

20 WPM effective
Duration 8.7 s

Morse code

... --- ... .... . .-.. .-.. --- / .-- --- .-. .-.. -..
Morse code chart
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.
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--..
..-.-.-
,--..--
?..--..
!-.-.--
/-..-.
--....-
(-.--.
)-.--.-
&.-...
:---...
;-.-.-.
=-...-
+.-.-.
@.--.-.
'.----.
".-..-.
$...-..-
_..--.-

What this translator does

International Morse code represents each letter, digit and some punctuation as a pattern of short and long signals. It is still used by amateur radio operators, in aviation navigation beacons, for accessibility switches, escape rooms and puzzles. This tool converts in both directions, plays the result with correct timing, and lets you slow it down with Farnsworth spacing — the standard way to learn to copy Morse by ear.

How to use it

  1. Choose Text → Morse or Morse → Text. Switching direction moves the current output into the input.
  2. Type or paste into the input box. The output updates as you type; press Copy to copy it.
  3. Set the Character speed, optionally tick Farnsworth spacing and choose a lower effective speed, and pick a Tone.
  4. Press ▶ Play to listen and ■ Stop to stop at any time, or Download WAV to save the audio.

Worked example

The default input has two lines:

SOS
Hello World

and the tool outputs:

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

Decoding that output gives back SOS and HELLO WORLD on two lines (Morse has no lower case). Typing café produces -.-. .- ..-. ., because the accent is dropped. As a timing check, the word PARIS — the standard reference word — lasts 43 units plus a 7-unit word gap, which is exactly 50 units, so at 20 WPM it takes 3 seconds.

Speed, spacing and tone

  • Character speed (WPM) — sets the length of one unit: 1.2 ÷ WPM seconds. Dots, dashes and the gaps inside letters always use this unit.
  • Farnsworth spacing — keeps characters at the character speed but lengthens the gaps between letters (3 units) and words (7 units) so the average speed equals the effective WPM, using the ARRL formula. 20 WPM characters at 10 WPM effective is a common learning setting.
  • Tone — the pitch of the sine wave. Most operators prefer 500–800 Hz. Each beep has a 5 ms fade in and out to avoid clicks.
  • Duration — shown next to the buttons, computed from the same schedule used for playback and the WAV file.

Limitations

  • Only International (ITU) Morse is supported — not American railroad Morse or non-Latin alphabets such as Cyrillic or Japanese Wabun code.
  • Prosigns such as AR or SK are not written as joined symbols; type them as separate letters.
  • Decoding works on dots and dashes, not on audio — it cannot listen to a recording.
  • Playback and WAV files are limited to 10 minutes.

Tips

  • When decoding, separate letters with exactly one space; two letters run together (...---) cannot be split reliably.
  • Learn by sound, not by counting dots: use a character speed of 18–20 WPM and lower only the Farnsworth effective speed.
  • Morse is an encoding, not encryption. To actually hide a message, use the Text Encryption tool; to encode data for transport, see Base64.

Frequently Asked Questions

How do I write spaces between words in Morse code?

Letters are separated by a single space and words by a slash, e.g. '.... .. / - .... . .-. .' for 'HI THERE'. When decoding, the tool also accepts a vertical bar or three or more spaces as a word gap, and keeps line breaks.

What are the standard Morse timings?

A dot is one unit, a dash three units, the gap inside a letter one unit, between letters three units and between words seven units. One unit lasts 1.2 ÷ WPM seconds, so at 20 WPM a dot is 60 ms.

What is Farnsworth spacing?

Farnsworth timing sends each character at a fast character speed but stretches the gaps between characters and words, so the overall (effective) speed is lower. Learners hear the real rhythm of each letter while still having time to recognise it.

Which characters are supported?

Letters A–Z, digits 0–9 and the punctuation . , ? ! / - ( ) & : ; = + @ ' " $ _. Accented letters are sent as their base letter (é as E). Anything else is skipped and listed under the output so nothing disappears silently.

Can I download the Morse audio?

Yes. Download WAV renders the same timing, speed and tone you hear into a mono 16-bit WAV file in your browser. Audio is limited to 10 minutes per file.

Is anything sent to a server?

No. Conversion, playback (Web Audio API) and WAV rendering all happen locally in your browser.