Morse Code Translator

Translate text to Morse code and back

What Is Morse Code?

Morse code is a character-encoding system that represents letters, numbers, and punctuation as sequences of short signals (dots) and long signals (dashes). Samuel Morse and Alfred Vail developed the system in the 1830s for use with the electric telegraph, the first long-distance communication technology. The original American Morse code was later standardized into International Morse Code by the International Telecommunication Union (ITU), which remains the version in use today.

Each character maps to a unique combination of dots and dashes. The letter "E" is a single dot (.), the shortest code, while "Q" is dash-dash-dot-dash (--.-). Spaces between letters are represented by a short pause, and spaces between words by a longer pause. This Morse code translator converts text to Morse code and back instantly, with audio playback so you can hear the actual rhythm of each message.

Key Features of This Morse Code Translator

How to Use This Morse Code Translator

  1. Type or paste text in the left (or top) textarea to convert it to Morse code. The Morse code appears automatically in the right (or bottom) textarea.
  2. Enter Morse code in the right textarea to decode it back to text. Use dots (.) and dashes (-), separate letters with spaces, and separate words with /.
  3. Select an alphabet from the dropdown if you need a non-Latin script such as Cyrillic or Arabic.
  4. Click Play to hear the Morse code as audio tones. Adjust the WPM slider to change playback speed. Click Stop to end playback early.
  5. Click Copy on either textarea to copy the content to your clipboard.

Morse Code Alphabet Reference

The table below shows the International Morse Code for the Latin alphabet (A–Z), digits (0–9), and common punctuation marks. A dot (.) represents a short signal and a dash (-) represents a long signal.

CharacterMorse CodeCharacterMorse CodeCharacterMorse Code
A.-N-.0-----
B-...O---1.----
C-.-.P.--.2..---
D-..Q--.-3...--
E.R.-.4....-
F..-.S...5.....
G--.T-6-....
H....U..-7--...
I..V...-8---..
J.---W.--9----.
K-.-X-..-..-.-.-
L.-..Y-.--,--..--
M--Z--..?..--..

Supported Morse Code Alphabets

This Morse code translator supports nine writing systems, making it one of the most comprehensive free translators available online. Select an alphabet from the dropdown to switch the character mapping and reference chart.

How Morse Code Audio Playback Works

The audio playback in this translator uses the Web Audio API built into modern browsers. When you click Play, the tool generates a sine wave tone at 600 Hz — the standard side-tone frequency used in Morse code practice. Timing follows the ITU standard: a dot lasts one time unit, a dash lasts three units, the gap between elements within a character is one unit, the gap between characters is three units, and the gap between words is seven units.

The time unit is calculated using the PARIS method: at 20 WPM, the word "PARIS" (a standard reference word with 50 time units) is transmitted 20 times per minute, giving a unit duration of 60 milliseconds. Adjusting the WPM slider recalculates this duration in real time.

Frequently Asked Questions

How do you say SOS in Morse code?

SOS in Morse code is ... --- ... — three dots, three dashes, three dots. It was chosen as the international distress signal in 1906 because the pattern is simple to transmit and unmistakable, not because it stands for "Save Our Souls" (that is a backronym). Type "SOS" into this Morse code translator to hear it played back.

Who invented Morse code?

Samuel Morse and Alfred Vail developed the original Morse code in the 1830s for use with the electric telegraph. Morse designed the concept and Vail refined the character encodings. The system was first demonstrated publicly in 1844 with the message "What hath God wrought" sent from Washington, D.C. to Baltimore. The International Morse Code used today is a later revision standardized by the ITU, which simplified some of the original encodings.

Is Morse code still used today?

Yes. Amateur (ham) radio operators use Morse code worldwide, and many licensing exams still test proficiency. Aviation navigation aids (VOR and NDB) identify themselves with Morse code signals. The military uses it as a fallback communication method. Morse code is also used as an accessibility tool — people with limited mobility can input text using just two switches (dot and dash), and both Android and iOS support Morse code keyboard input.

What do the dots and dashes mean in Morse code?

A dot (also called a "dit") is a short signal, and a dash (also called a "dah") is a long signal lasting three times as long as a dot. Every letter, number, and punctuation mark has a unique combination of dots and dashes assigned to it. More common letters like E (one dot) and T (one dash) have shorter codes, while less common letters like Q (dash-dash-dot-dash) have longer codes. This design reduces average transmission time.

Is my data safe when using this translator?

All processing happens entirely in your browser. No text, Morse code, or audio data is sent to any server. The tool uses client-side JavaScript and the Web Audio API, so your input remains private on your device.

Related Tools

You might also find these tools useful: