Morse Code Explained — History, How It Works, and How to Convert It
Morse code is one of the earliest digital communication systems — encoding text as sequences of short and long signals. Developed in the 1830s by Samuel Morse and Alfred Vail, it enabled the first electrical telegraph network and remained the dominant long-distance communication method for over a century. Today it is used in amateur radio, aviation navigation, military signalling, and as an accessibility input method for people with limited motor control.
Convert any text to Morse code or decode any Morse sequence back to text with our free Morse Converter tool. For other text encoding and conversion tools, see our ASCII Converter and Binary Converter.
The History and Origins of Morse Code
Samuel Morse began developing his telegraph system in the 1830s. The original code — sometimes called American Morse or Railroad Morse — differed from International Morse in how some letters were encoded and used spaces within characters. International Morse Code was standardised in 1865 at the International Telegraph Conference in Paris, and this is the version used today.
The design of International Morse Code was not arbitrary. Morse (or more accurately, his collaborator Alfred Vail) analysed the relative frequency of letters in English text by examining the type cases of a printer — counting how many of each letter were in a standard set. More common letters were assigned shorter codes. E, the most common letter in English, is a single dot. T, the second most common, is a single dash. A and I are two-element codes. This is an early and elegant example of variable-length encoding optimised for frequency — the same principle used in modern compression algorithms like Huffman coding.
How Morse Code Works
Morse code uses two signals: a short signal called a dot and a long signal called a dash. The timing relationships between them define the code:
One dot = 1 time unit One dash = 3 time units Gap between dots/dashes within the same character = 1 time unit Gap between characters = 3 time units Gap between words = 7 time units
These timing relationships mean Morse can be transmitted using any medium that produces two distinguishable signals: sound (a buzzer or radio transmitter), light (a signal lamp or torch), electrical pulses on a wire, or physical tapping. The information is entirely in the timing pattern, not the medium.
The Morse Code Alphabet and Numbers
Letters (dot = short, dash = long): A dot-dash, B dash-dot-dot-dot, C dash-dot-dash-dot, D dash-dot-dot, E dot F dot-dot-dash-dot, G dash-dash-dot, H dot-dot-dot-dot, I dot-dot J dot-dash-dash-dash, K dash-dot-dash, L dot-dash-dot-dot, M dash-dash N dash-dot, O dash-dash-dash, P dot-dash-dash-dot, Q dash-dash-dot-dash R dot-dash-dot, S dot-dot-dot, T dash, U dot-dot-dash V dot-dot-dot-dash, W dot-dash-dash, X dash-dot-dot-dash Y dash-dot-dash-dash, Z dash-dash-dot-dot
Numbers: 0 dash-dash-dash-dash-dash 1 dot-dash-dash-dash-dash 2 dot-dot-dash-dash-dash 3 dot-dot-dot-dash-dash 4 dot-dot-dot-dot-dash 5 dot-dot-dot-dot-dot 6 dash-dot-dot-dot-dot 7 dash-dash-dot-dot-dot 8 dash-dash-dash-dot-dot 9 dash-dash-dash-dash-dot
Notice the elegant structure of numbers: 0 is five dashes, 1 is one dot followed by four dashes, 5 is five dots, and 6 through 9 mirror the pattern of 4 through 1 but starting with dashes. This regularity makes the number codes easier to learn and remember.
Convert any text to Morse code or decode Morse back to text — free and instant
Try Morse Converter Free →SOS — The Universal Distress Signal
SOS in Morse code is three dots, three dashes, three dots. It was chosen as the international distress signal in 1906 at the International Radiotelegraph Convention. The pattern was selected for its simplicity and distinctiveness: it is the same forwards and backwards, requires no letter spacing to transmit continuously, and is easy to produce even by an untrained operator under stress. The popular backronym "Save Our Souls" or "Save Our Ship" was invented after the fact — the signal was chosen first for its Morse properties, and the meaning was applied later.
The Titanic famously used SOS (as well as the older CQD distress signal) during its sinking in 1912, and the incident helped solidify SOS as the universal standard.
Morse Code in the Modern World
Amateur radio (ham radio): Morse code transmission, known as CW (continuous wave), remains popular among amateur radio operators worldwide. It can punch through atmospheric noise and interference that makes voice communication impossible, making it valuable for long-distance and emergency communication. Many countries removed the mandatory Morse code test for amateur radio licences in 2003, but it remains a widely practised skill.
Aviation navigation: Ground-based navigation beacons (VOR and NDB stations) transmit their two or three letter identifier continuously in Morse code. Pilots tune to these beacons for navigation and verify they are on the correct frequency by identifying the Morse ID. Most modern aircraft avionics decode the Morse signal automatically and display the identifier as text.
Accessibility input: iOS (since version 13) and Android include Morse code as an alternative keyboard input method. A user taps dots and dashes — using a single button or two buttons — and the device converts the Morse to text. This enables people with conditions like ALS, cerebral palsy, or severe motor impairments to type using only minimal physical movement. It is one of the most practical applications of a century-old technology in modern devices.
Military: Morse code remains part of military communication training in many countries. Its low bandwidth requirements, ability to operate through severe interference, and resistance to voice recognition make it useful in specific tactical situations.

