Morse Code Converter

Convert text to Morse code and back, with audio playback and adjustable speed.

Everything runs in your browser. Your data never leaves your device.
Speed: 15 WPM
Text
Morse Code

Format: .- -... / -.-. — letters separated by spaces, words by /

Morse Code Reference (A–Z, 0–9)
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--..

Common Use Cases

Translate a short message to Morse and play it back to practise recognising the codes by ear
Decode a Morse-encoded string found in a CTF (Capture The Flag) security challenge
Learn or teach the Morse alphabet using the interactive reference table
Verify the correct Morse encoding of a callsign or distress signal for amateur radio study

About Morse Code Converter

International Morse code was developed in the 1830s by Samuel Morse and Alfred Vail for use with the electric telegraph — one of the first long-distance communication systems. Each letter and digit is represented by a sequence of short signals (dots) and long signals (dashes). The timing ratios are standardised: a dot is 1 unit, a dash is 3 units, the gap between symbols within a letter is 1 unit, between letters is 3 units, and between words is 7 units. At 20 words per minute (WPM), one unit is approximately 60 milliseconds.

The encoding scheme that survives today is ITU-R Recommendation M.1677-1, which covers all 26 Latin letters, digits 0–9, and common punctuation. The format used by this converter separates letter symbols with spaces and words with a forward slash surrounded by spaces (e.g. `.... . .-.. .-.. --- / .-- --- .-. .-.. -..` for "HELLO WORLD").

Morse code remains operationally relevant in several fields. Amateur (ham) radio operators are tested on Morse proficiency in many countries. International aviation uses Non-Directional Beacon (NDB) identifiers broadcast in Morse. The maritime SOS distress signal — `... --- ...` — is defined in Morse. Military and special operations units use it as a fallback when voice communications are compromised.

The audio playback feature here implements correct ITU timing: the WPM slider adjusts the unit duration, and each beep uses a smooth envelope (brief fade in/out) to reduce the harsh clicking you'd hear with abrupt square waves. This makes it practical for learning and practising Morse recognition by ear.

Frequently Asked Questions