Two codes, compared
Morse Code vs Binary Code
Both turn letters into patterns of two things, so they are often confused. But Morse code is a variable-length code of dots, dashes and silences designed for human ears, while binary is a fixed-length code of 0s and 1s designed for machines. Here is how they differ, where they overlap, and the same words shown in both.
Comparison table
Side by side
The headline difference: binary is two symbols of equal weight; Morse is two signals plus timed silence, with different lengths for different letters.
| Morse code | Binary code | |
|---|---|---|
| Symbols | Dot, dash, and three lengths of gap (symbol, letter, word) | 0 and 1 only |
| Length per character | Variable: 1 to 4 signals for letters (E = ·, Q = – – · –), 5 for digits | Fixed: 8 bits per character in ASCII/UTF-8 (A = 01000001) |
| Invented | 1837–1844, Samuel Morse and Alfred Vail, for the telegraph | Binary numbers formalized by Leibniz in 1703; binary character codes for computers from the 1940s–60s (ASCII 1963) |
| Designed for | Human operators sending and reading by ear, light or touch | Electronic circuits, storage and transmission between machines |
| Efficiency | Common letters get short codes (frequency-based, like compression) | Every character costs the same, regardless of frequency (unless compressed separately) |
| Character set | 26 letters, 10 digits, about 18 punctuation marks and prosigns | ASCII: 128 characters; UTF-8: every writing system on Earth, emoji included |
| Error handling | None built in; the human listener uses context and asks for repeats | Parity bits, checksums and error-correcting codes layered on top |
| Who uses it today | Radio amateurs, aviation beacons, navies, accessibility tools, hobbyists | Every computer, phone and network on the planet, invisibly |
| Speed | Typically 5 to 40 words per minute by hand | Billions of bits per second |
Two quick definitions
Morse code represents each letter or number as a sequence of short signals (dots) and long signals (dashes). A dash is three times as long as a dot, symbols within a letter are separated by a one-unit pause, letters by three units and words by seven. It was designed in the 1830s so that a telegraph operator could send and receive text by hand. See what Morse code is for the full explanation.
Binary code represents information using only two digits, 0 and 1, called bits. Computers store text by assigning every character a number (in ASCII, A is 65) and writing that number in binary (01000001). Eight bits make a byte, and each byte is one character in the basic ASCII table. The binary translator does the conversion for you.
Is Morse code binary?
This is the question people really mean, and the honest answer is: not quite, and it depends what level you look at.
At the level of symbols, Morse code is not binary. It has a dot, a dash, and silence, and the silence comes in three meaningful lengths. If you wrote Morse with only two symbols, the sequence ·– could not be told apart from · – (E then T). The gaps carry information, so Morse is sometimes described as a ternary code (dot, dash, gap) or even a five-symbol code. It is also variable-length: E is one signal, Q is four. Binary character codes like ASCII are fixed-length, which is what lets a computer know where one character stops without needing gaps.
At the physical level, though, Morse is transmitted as binary: the key is either down or up, the lamp is either on or off. Engineers call this on-off keying, and it is the simplest possible digital modulation. If you sample a Morse signal at one dot per sample, you get a string of 1s and 0s: a dot is 1, a dash is 111, the gap inside a letter is 0, the gap between letters is 000, and the gap between words is 0000000. That is binary, but it is binary with timing baked into the lengths, not a symbol code like ASCII.
The one-line answer Morse is a variable-length code of dots, dashes and gaps that can be carried on a binary on/off signal. ASCII binary is a fixed-length code where the 0s and 1s are the symbols.
The same words in Morse and in binary
Here is HELLO three ways: as Morse code, as the on/off bits a lamp or key would produce, and as ASCII binary. Notice that the Morse is shorter in signals but needs the gaps, while the ASCII is always exactly eight bits per letter.
| Word | Morse | ASCII binary (8 bits per letter) |
|---|---|---|
| HELLO | .... . .-.. .-.. --- | 01001000 01000101 01001100 01001100 01001111 |
| SOS | ... --- ... | 01010011 01001111 01010011 |
| HI | .... .. | 01001000 01001001 |
| MORSE | -- --- .-. ... . | 01001101 01001111 01010010 01010011 01000101 |
HELLO as on/off timing bits (1 = key down for one unit, 0 = key up for one unit):
1010101000100010111010100010111010100011101110111
Counting them up: HELLO is 5 letters, 16 Morse signals (49 time units including gaps), and 40 bits in ASCII. The letter E alone is one dot in Morse versus eight bits in ASCII, which shows why Morse was designed around letter frequency: operators sent E thousands of times a day.
The Morse code binary tree
There is one place where "Morse" and "binary" genuinely meet: the decoding tree. Because every Morse symbol is one of two things, the whole alphabet can be drawn as a binary tree. Start at the root; a dot takes you to E, a dash to T. From E, a dot gives I and a dash gives A; from T, a dot gives N and a dash gives M. Each level adds one symbol, and every letter sits at a unique node. Programmers use this tree to decode Morse efficiently, and learners use it to look up a letter by sight. We draw the full tree on the how to read Morse code page.
When to use which
- Use Morse when a human is on at least one end and the channel is primitive: a flashlight, a whistle, a weak radio signal, a tap on a wall, a single switch for someone who cannot use a keyboard. It is also the right choice for anything meant to be read by a person: jewelry, tattoos, puzzles.
- Use binary whenever a machine stores, processes or transmits the data. You never choose it consciously; every text message, file and web page is already binary underneath.
- Converting between them is possible but goes through text: Morse → letters → ASCII binary, or the reverse. Our tools do each step: the Morse decoder gives you text, and the binary translator turns that text into bits (or back).
What they have in common
Both are digital: they reduce text to discrete symbols that can be reproduced exactly, with no loss, over any distance. Both can be sent as on/off signals. Both reward the same habit when you learn them, which is recognizing patterns rather than counting. And both are historically linked: Morse code was the first widely used digital communication system, almost a century before computers, and its frequency-based design anticipated the compression techniques (such as Huffman coding) that computers use today.
FAQ
Frequently asked questions
Is Morse code binary?
Not as a symbol code: Morse uses dots, dashes and three lengths of silence, and its characters have different lengths. It is, however, transmitted as a binary on/off signal (key down or up), so you can write it as 1s and 0s where a dot is 1, a dash is 111 and gaps are 0, 000 or 0000000.
What is the difference between Morse code and binary code?
Morse code is a variable-length code of dots, dashes and timed gaps designed for people to send and hear; binary code is a fixed-length code of 0s and 1s designed for computers. Morse gives common letters short codes (E is one dot); ASCII binary gives every character eight bits.
How do you convert Morse code to binary?
Decode the Morse to text first, then convert each character to its ASCII code in binary. For example SOS → S, O, S → 01010011 01001111 01010011. Alternatively, encode the timing directly: dot = 1, dash = 111, symbol gap = 0, letter gap = 000.
How do you convert binary to Morse code?
Group the bits into bytes, convert each byte to its ASCII character, then look up each character in the Morse alphabet. 01001000 01001001 is HI, which in Morse is ···· ··. Our binary translator and Morse translator handle each step.
What is the Morse code binary tree?
A tree diagram where each left branch adds a dot and each right branch adds a dash. The root splits into E (dot) and T (dash); E splits into I and A, T into N and M, and so on. Every letter is a node, which makes it a convenient structure for decoding Morse by hand or in software.
Which is older, Morse or binary?
Binary numbers are older as mathematics (Leibniz described them in 1703), but Morse code (1837–1844) was the first widely used digital communication code, more than a century before binary character codes such as ASCII (1963).
See any word in both codes
Type a word in the Morse translator, then try the same word in binary.