Advertisement

Morse Code Translator

Translate text to Morse code and Morse code back to text with audio playback support.

Morse Code Reference

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--..
..-.-.-
,--..--
?..--..
!-.-.--
/-..-.
(-.--.
)-.--.-
&.-...
:---...
;-.-.-.
=-...-
+.-.-.
--....-
".-..-.
'.----.
@.--.-.

Quick Examples

Advertisement

Related Tools

Advertisement

Frequently Asked Questions

What is Morse code?
Morse code is a communication system developed in the 1830s by Samuel Morse and Alfred Vail. It encodes text characters as sequences of dots (short signals) and dashes (long signals). Originally used for telegraph communication, Morse code is still used in amateur radio, aviation, and as an accessibility tool. The international standard is International Morse Code (ITU-R M.1677).
How does Morse code work?
Each character is represented by a unique combination of dots (.) and dashes (-). A dot is one time unit long and a dash is three time units long. The gap between parts of the same letter is one time unit, between letters is three time units, and between words is seven time units. Common letters like E (.) and T (-) have short codes, while less common letters have longer codes.
What characters are supported?
This translator supports all 26 English letters (A-Z), digits 0-9, and common punctuation including period, comma, question mark, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals sign, plus sign, hyphen, quotation marks, apostrophe, and at sign. Unsupported characters are skipped during translation.
How does the audio playback work?
The audio playback uses the Web Audio API to generate sine wave tones at 600 Hz. Dots are played as short beeps (one time unit) and dashes as longer beeps (three time units). Gaps between elements, letters, and words follow standard Morse code timing. The playback speed can be adjusted by changing the words-per-minute (WPM) setting.
What is SOS in Morse code?
SOS is the international distress signal, encoded as ... --- ... (three dots, three dashes, three dots). It was adopted because the pattern is easy to recognize and transmit. Contrary to popular belief, SOS does not stand for "Save Our Souls" — it was chosen purely for its distinctive and easy-to-transmit pattern.
Is Morse code still used today?
Yes. Morse code is used by amateur radio operators worldwide, in aviation for navigation aids (NDBs and VORs identify themselves with Morse code), by the military as a backup communication method, and as an accessibility tool for people with limited mobility who can communicate by tapping a single switch. Some people also use Morse code input on smartphones.

How to Use the Morse Code Translator

Morse code is one of the earliest forms of digital communication and remains relevant today in amateur radio, aviation, and accessibility applications. Our translator provides instant bidirectional conversion between text and Morse code, complete with audio playback that lets you hear the dots and dashes.

Text to Morse: Type or paste any text in the input field and the translator instantly converts it to Morse code using dots (.) and dashes (-). Each letter is separated by a space and each word by a forward slash (/). The conversion happens in real-time as you type.

Morse to Text: Switch to Morse-to-text mode and enter Morse code using dots and dashes. Separate letters with spaces and words with forward slashes. The translator decodes the Morse code back to readable text instantly.

Audio Playback: Click the play button to hear the Morse code as audio beeps. The Web Audio API generates accurate tone timing following international Morse code standards. Adjust the playback speed in words per minute (WPM) to match your preferred listening speed.

The History of Morse Code

Morse code was developed by Samuel Morse, Joseph Henry, and Alfred Vail in the 1830s and 1840s for use with the electric telegraph. The original American Morse code used variable-length dashes and spaces, but the system was standardized as International Morse Code by the International Telecommunication Union in 1865. This international standard is what is used today and what our translator implements.

The design of Morse code is an early example of efficient encoding. Morse studied the frequency of letters in English text and assigned the shortest codes to the most common letters. The letter E, the most frequent letter in English, is represented by a single dot — the shortest possible code. The letter T is a single dash. Less common letters like Q (--.-) and Z (--..) have longer codes. This frequency-based encoding prefigured information theory concepts developed by Claude Shannon a century later.

Morse Code Applications

Amateur radio. Morse code, referred to as CW (continuous wave) in amateur radio, remains one of the most efficient communication modes. Its narrow bandwidth and ability to be decoded by the human ear make it effective over long distances and in poor conditions where voice communication would fail. Many amateur radio operators still learn and use Morse code regularly.

Accessibility. Morse code has been adopted as an accessibility input method for people with severe motor disabilities. Users can input text by tapping a single switch — one tap for dot, a sustained press for dash. Google has integrated Morse code input into the Gboard keyboard on Android, and various assistive technology devices support Morse code input.

Education. Learning Morse code develops pattern recognition skills and provides an engaging way to study early communication technology. Many scouts, military cadets, and radio enthusiasts learn Morse code as part of their training. Our translator with audio playback is an excellent practice tool for learning the code.

Emergency communication. Morse code provides a backup communication method when more sophisticated systems fail. The SOS distress signal (... --- ...) is universally recognized and can be transmitted using light, sound, or any on-off signaling method. Knowledge of basic Morse code can be valuable in emergency situations.

Advertisement