·12 min read

What is Morse Code? History, How It Works, and the Complete Alphabet

Before telephones, before the internet, there was Morse Code — a system of dots and dashes that revolutionized long-distance communication. Here's how it works, where it came from, and why it still matters today.

What is Morse Code?

Morse Code is a character encoding system that represents letters, numbers, and punctuation as sequences of short and long signals called dots (·) and dashes(—). These signals can be transmitted as sounds, light flashes, electrical pulses, or even taps.

Unlike modern binary encoding where every character uses the same number of bits, Morse Code uses a variable-length encoding. Frequently used letters like E (a single dot) are shorter, while rare letters like Q (dash-dash-dot-dash) are longer. This makes Morse Code more efficient for manual transmission.

The standardized version used today is called International Morse Code, adopted in 1865 and still recognized by the International Telecommunication Union (ITU).

The History of Morse Code

Morse Code was developed in the 1830s and 1840s by Samuel F.B. Morse, an American painter and inventor, along with his assistant Alfred Vail. It was created for use with the electrical telegraph, one of the first devices capable of long-distance communication.

Key Milestones

YearEvent
1837Samuel Morse and Alfred Vail demonstrate the first telegraph
1838Original "American Morse Code" developed with variable-length dashes
1844"What hath God wrought" — first telegraph message sent from Washington to Baltimore
1851International Morse Code (Continental Code) standardized in Europe
1865International Morse Code formally adopted by the ITU
1912RMS Titanic uses Morse Code to send distress signals (CQD and SOS)
1999Maritime Morse Code officially replaced by the GMDSS satellite system

Although maritime Morse was retired in 1999, the code itself lives on in amateur radio, aviation, accessibility devices, and as a cultural icon.

How Morse Code Works

Morse Code encodes each character as a unique pattern of two symbols:

  • Dot (·) — also called a "dit", a short signal
  • Dash (—) — also called a "dah", a long signal (3 times the length of a dot)

The system relies on silence (gaps) as much as the signals themselves. Different gap lengths separate dots and dashes within a character, characters within a word, and words within a message.

Think of it like a binary system with three states: short signal, long signal, and silence. The timing of these elements is what makes the code readable.

The International Morse Code Alphabet

Here is the complete International Morse Code chart for letters and numbers:

Letters

LetterCodeLetterCode
A· —N— ·
B— · · ·O— — —
C— · — ·P· — — ·
D— · ·Q— — · —
E·R· — ·
F· · — ·S· · ·
G— — ·T
H· · · ·U· · —
I· ·V· · · —
J· — — —W· — —
K— · —X— · · —
L· — · ·Y— · — —
M— —Z— — · ·

Numbers

NumberCodeNumberCode
0— — — — —5· · · · ·
1· — — — —6— · · · ·
2· · — — —7— — · · ·
3· · · — —8— — — · ·
4· · · · —9— — — — ·

Notice the elegant pattern in numbers: 1–5 progressively replace dashes with dots from left to right, and 6–0 reverse the pattern. All numbers are exactly 5 symbols long.

Timing Rules

Morse Code isn't just about dots and dashes — the timing between them is equally critical. The basic unit of time is the length of one dot:

ElementDurationExample
Dot1 unitThe base signal
Dash3 unitsThree times a dot
Intra-character gap1 unitBetween dots/dashes in one letter
Inter-character gap3 unitsBetween letters
Word gap7 unitsBetween words

At a standard speed of 20 words per minute (WPM), one dot lasts about 60 milliseconds. The word "PARIS" is the standard reference word used to calibrate Morse Code speed, as it contains exactly 50 dot-units when including all internal spacing.

Step-by-Step Encoding Example

Let's encode the word HELLO into Morse Code:

Step 1: Break into individual letters
  H  E  L  L  O

Step 2: Look up each letter
  H = ····     (4 dots)
  E = ·        (1 dot)
  L = ·-··     (dot dash dot dot)
  L = ·-··     (dot dash dot dot)
  O = ---      (3 dashes)

Step 3: Join with inter-character gaps (shown as spaces)
  ···· · ·-·· ·-·· ---

Result: "HELLO" → "···· · ·-·· ·-·· ---"

When writing Morse Code on paper or digitally, dots are written as ., dashes as -, character gaps as spaces, and word gaps as / or multiple spaces.

SOS — The Most Famous Morse Signal

SOS (··· --- ···) is the international distress signal, adopted in 1906 at the International Radiotelegraph Convention. It was chosen not because it stands for "Save Our Souls" or "Save Our Ship" — those are backronyms.

SOS was selected because its Morse pattern is unmistakable and easy to transmit: three dots, three dashes, three dots. It can be sent rapidly even under stress, and its rhythmic pattern is instantly recognizable, even to untrained listeners.

The most famous use of SOS was by the RMS Titanicin 1912. The ship's radio operators initially sent the older CQD distress signal before switching to SOS — one of the first major uses of the new standard.

Modern Uses of Morse Code

While Morse Code is no longer required for maritime or aviation communication, it remains relevant in several areas:

  • Amateur (ham) radio — CW (Continuous Wave) mode using Morse Code is popular among radio enthusiasts. It can cut through noise and travel long distances with very low power.
  • Accessibility — People with severe motor disabilities use Morse Code input with adaptive switches. Android and iOS both support Morse Code as an input method.
  • Aviation — Navigational aids like VOR and NDB stations still identify themselves using Morse Code signals.
  • Military — Some military forces still train operators in Morse Code as a backup communication method.
  • Education — Morse Code is widely taught in scouting organizations and STEM programs as an introduction to encoding and communication theory.
  • Emergency signaling — Flashlights, mirrors, or even blinking eyes can transmit SOS in situations where voice communication is impossible.

Morse Code vs Binary

At first glance, Morse Code and binary encoding seem similar — both use two symbols. But there are important differences:

FeatureMorse CodeBinary (ASCII)
SymbolsDot, Dash, Silence0 and 1
Character lengthVariable (1–6 symbols)Fixed (7 or 8 bits)
Optimized forHuman transmission speedMachine processing
Requires timingYes (gaps separate characters)No (fixed width)
Compression-likeYes (common letters are shorter)No (all same length)

Interestingly, Morse Code's variable-length design is similar in concept to Huffman coding, a compression algorithm that assigns shorter codes to more frequent symbols. Samuel Morse and Alfred Vail studied letter frequencies in English by counting movable type at a local newspaper to determine which letters should have the shortest codes.

Fun Facts About Morse Code

  • The letter E (a single dot) is the shortest Morse character — because E is the most common letter in English.
  • Google's 2019 keyboard (Gboard) added Morse Code as an input method for Android, developed in partnership with accessibility advocate Tania Finlayson.
  • Navy SEALs and other special operations forces still learn Morse Code as part of their communications training.
  • In 2004, the ITU added a new Morse character: @ (·——·—·), specifically for email addresses.
  • The Morse Code for the letter V (···—) matches the opening motif of Beethoven's Fifth Symphony, which the BBC used as a victory signal during World War II.
  • Prisoners of war, including Admiral Jeremiah Denton, have used Morse Code eye blinks to covertly communicate, famously blinking "T-O-R-T-U-R-E" during a televised interview in 1966.

Translate Morse Code Instantly

Use our free Morse Code Translator to convert text to Morse Code or decode Morse back to text — right in your browser with audio playback and no data uploaded to any server.

Try Morse Code Translator →

References

  1. International Telecommunication Union. Recommendation ITU-R M.1677-1: International Morse Code. https://www.itu.int/rec/R-REC-M.1677-1-200910-I/
  2. Smithsonian National Museum of American History. Samuel F.B. Morse Papers. https://americanhistory.si.edu/collections/nmah_694924
  3. Burns, R.W. (2004). Communications: An International History of the Formative Years. IET History of Technology Series.
  4. American Radio Relay League. Morse Code: Learning, Using, and Enjoying CW. https://www.arrl.org/learning-morse-code
  5. Wikipedia contributors. Morse code. Wikipedia, The Free Encyclopedia. https://en.wikipedia.org/wiki/Morse_code