Secret codes

Morse code

Date: 1838Place: Washington (United States)Who?: Samuel Morse and Alfred Vail

Dots and dashes to send words along an electric wire

Codes and signals
A Morse key
A Morse key — the key that sends dots and dashes
Lauren.mcalary — CC BY-SA 4.0 — Wikimedia Commons

In brief

Invented around 1838 for the electric telegraph, Morse code turns each letter into a series of short and long signals. In 1844, the first message sent between Washington and Baltimore opened the age of instant communication.

The story

Samuel Morse was a painter before he became fascinated by electricity. With his assistant Alfred Vail, he imagined a telegraph in which an electric current, broken by a key, made short pulses (dots) and long ones (dashes). Vail is said to have had a simple idea: give the shortest codes to the most common letters. E became a single dot.

In 1865, an international conference in Paris adopted a modified version, International Morse. Ships later used it by radio: the distress signal SOS, chosen because it is easy to recognise, was adopted in 1906. Morse has not been compulsory at sea since 1999, but radio amateurs still use it, and it can be sent with a lamp, a whistle or even by blinking.

Example

SOS = ··· −−− ··· ; E = · ; T = − ; A = ·−

Try it in the workshop

Did you know?

SOS does not stand for anything: it is not short for “Save Our Souls”. It was chosen only because three dots, three dashes, three dots cannot be mistaken for anything else.

Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.

In the same family: Codes and signals