Morse Code Translator with Audio

Earth from space with communication signals and light connections

Photo by NASA on Unsplash

15 WPM
Show/Hide Morse Code Reference Table
7 min read|Last updated: February 10, 2026|Algorithm: International Morse Code (ITU-R M.1677)
TB

Thibault Besson-Magdelain

Software engineer building privacy-first web tools. All processing happens in your browser.

Connect on LinkedIn

Key Takeaways

  • Morse code represents characters as combinations of short signals (dots, 1 unit) and long signals (dashes, 3 units), with standardized timing gaps between elements, letters, and words.
  • Developed by Samuel Morse and Alfred Vail in the 1830s for the telegraph, Morse code is one of the earliest digital communication systems.
  • Morse code remains in active use today in amateur radio, aviation navigation aids, accessibility devices, and emergency signaling.

History of Morse Code

Morse code was developed in the 1830s and 1840s by Samuel F. B. Morse and his assistant Alfred Vail for use with the electric telegraph, one of the first practical electrical communication systems. The original Morse code, known as American Morse code, used a combination of dots, dashes, and spaces of varying lengths to represent letters and numbers. Its first public demonstration took place on January 6, 1838, at the Speedwell Ironworks in Morristown, New Jersey.

The famous first telegraph message, "What hath God wrought," was transmitted by Morse on May 24, 1844, over a wire between Washington, D.C., and Baltimore, Maryland. This event marked the beginning of the telecommunications revolution. Within decades, telegraph wires spanned continents and undersea cables crossed oceans, creating the first global real-time communication network.

The telegraph and Morse code transformed journalism, commerce, diplomacy, and warfare. News could travel from one coast to another in minutes rather than weeks. Stock prices could be communicated instantly. Military commanders could coordinate distant forces in real time. The social impact was comparable to the internet revolution of the late 20th century. As part of the broader story of digital encoding, Morse code represents one of the earliest systems for converting human language into a machine-transmittable format, a concept directly ancestral to modern binary encoding.

Morse Code Encoding Rules

Morse code is built on a simple but elegant set of rules. Every character is represented by a unique sequence of two basic elements: a short signal called a dot (dit) and a long signal called a dash (dah). The dash is exactly three times the duration of a dot. These two elements, combined with precisely defined silences (gaps), form a complete communication system.

The four types of timing intervals are:

  • Intra-character gap (1 unit): The silence between dots and dashes within a single character.
  • Inter-character gap (3 units): The silence between characters (letters) within a word.
  • Word gap (7 units): The silence between words.
  • Dot duration (1 unit): The fundamental timing unit from which all others derive.

Morse was ingeniously designed for efficiency: the most frequently used letters in English have the shortest codes. The letter E (the most common) is a single dot. T is a single dash. A is dot-dash. I is dot-dot. These frequency-based assignments minimize average transmission time, a principle that anticipates Huffman coding by over a century.

International Morse Code Standard

The International Morse Code, developed in the 1840s by Friedrich Clemens Gerke, refined the original American Morse code by eliminating the variable-length internal spaces that made American Morse difficult to automate. International Morse uses only two signal elements (dot and dash) with uniform spacing rules, making it more suitable for machine transmission.

The international standard was formally adopted at the International Telegraphy Congress in 1865 and has been maintained by the International Telecommunication Union (ITU) since then. The current specification is ITU-R M.1677. The complete international alphabet includes 26 letters (A-Z), 10 digits (0-9), and various punctuation marks including period, comma, question mark, and apostrophe.

Digits in Morse code follow a systematic pattern: each digit from 0 to 9 uses exactly 5 elements. The digits 1 through 5 begin with dots and end with dashes, while 6 through 0 begin with dashes and end with dots. This symmetry makes the digit codes easy to learn and remember.

Timing and Speed (WPM)

Morse code speed is measured in words per minute (WPM), using the word "PARIS" as the reference. PARIS contains 50 timing units when including the inter-character and word spaces, so at 1 WPM, each unit lasts 1200 milliseconds. At 15 WPM (a comfortable learning speed), each unit is 80 ms: dots last 80 ms, dashes 240 ms, character gaps 240 ms, and word gaps 560 ms.

Our audio playback engine uses the Web Audio API to generate precise sine wave tones at 600 Hz, the standard frequency for Morse code practice. The OscillatorNode interface provides sample-accurate timing, ensuring dots and dashes are reproduced with correct duration ratios regardless of browser rendering delays.

The Farnsworth method is a popular training technique that sends individual characters at a higher speed (e.g., 18 WPM) but inserts extra space between characters to bring the overall speed down to the learner's level (e.g., 10 WPM). This approach helps learners recognize character patterns at realistic speeds from the beginning, rather than developing bad habits at artificially slow speeds.

SOS and Distress Signals

The most famous Morse code sequence is SOS: ... --- ... (three dots, three dashes, three dots). Adopted as the international radiotelegraph distress signal in 1906 at the International Radiotelegraph Convention in Berlin, SOS was chosen not because it stands for "Save Our Souls" (a common misconception) but because its pattern is unmistakable and easy to transmit under stress. The sequence has no letter boundaries when sent -- it is transmitted as a continuous prosign: ...---....

The first notable use of SOS was by the Cunard liner RMS Slavonia in 1909. The most famous use came when the RMS Titanic transmitted both the older CQD distress signal and the newer SOS after striking an iceberg on April 15, 1912. The wireless operator, Jack Phillips, continued transmitting distress calls until the ship's power failed, contributing to the rescue of 710 survivors.

Modern Uses of Morse Code

Despite the rise of digital communication, Morse code remains actively used in several domains. Amateur radio operators worldwide use Continuous Wave (CW) mode, which transmits Morse code as a modulated radio signal. CW is the most bandwidth-efficient mode of radio communication, requiring only about 100 Hz of bandwidth compared to 2,400 Hz for voice (SSB). This efficiency makes CW effective for long-distance communication with minimal power.

In aviation, VOR (VHF Omnidirectional Range) and NDB (Non-Directional Beacon) navigation aids identify themselves by transmitting their three-letter identifier in Morse code. Pilots listen for these identifiers to confirm they are tuned to the correct navigation aid, a practice that continues even with GPS-equipped aircraft.

Morse code has found new applications in accessibility technology. People with severe physical disabilities can use Morse code with simple binary switches (one for dot, one for dash) to type text faster than with scanning keyboards. Google added Morse code input to Gboard (its mobile keyboard app) in 2018, enabling single- and dual-switch Morse input on Android devices.

Military and intelligence agencies continue to train Morse code operators for scenarios where electronic communication systems fail or are compromised. The simplicity and resilience of Morse -- requiring only the most basic transmitter and receiver -- makes it a reliable fallback when sophisticated technology is unavailable. For related encoding tools, see our binary converters collection.

Frequently Asked Questions

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). Developed in the 1830s for the electric telegraph by Samuel Morse and Alfred Vail, it is one of the earliest digital communication encoding systems.

What is the Morse code for SOS?

SOS in Morse code is ... --- ... (three dots, three dashes, three dots). It was adopted as the international radiotelegraph distress signal in 1906 because its pattern is unmistakable and easy to transmit under stress. It does not actually stand for any words.

How fast is Morse code typically sent?

Professional operators typically send at 20-30 WPM (words per minute). Military operators may exceed 40 WPM. Beginners usually start at 5-10 WPM. Speed is calibrated using the word "PARIS" (50 timing units), so 1 WPM = one "PARIS" per minute.

What is the timing in Morse code?

A dot lasts 1 time unit. A dash lasts 3 units. The gap between elements within a character is 1 unit. The gap between characters is 3 units. The gap between words is 7 units. At 15 WPM, one unit equals 80 milliseconds.

Is Morse code still used today?

Yes. Amateur radio operators use Morse code (CW mode) for low-bandwidth, long-distance communication. Aviation navigation beacons identify themselves in Morse. Google added Morse input to Gboard for accessibility. Military organizations maintain Morse capability as a communication fallback.

Can I play Morse code audio in this tool?

Yes. Click "Play Audio" to hear the translated Morse code as 600 Hz sine wave tones generated by the Web Audio API. Adjust playback speed from 5 to 30 WPM using the slider. A visual light signal flashes in sync with the audio.

What characters does Morse code support?

International Morse code (ITU-R M.1677) supports the 26 Latin letters (A-Z), 10 digits (0-9), and common punctuation including period, comma, question mark, exclamation mark, forward slash, parentheses, ampersand, colon, semicolon, equals sign, plus, minus, quotation marks, and the at sign.