A little help goes a long way. Find a tool/

Text FIELD NOTES · 5 MIN READ

How Morse Code Works

How Morse code encodes letters as dots and dashes: the timing rules that make silence part of the message, why E is a single dot, and how to decode by hand.

Morse code turns every letter into a pattern of dots and dashes — and, the part most people miss, it turns the pauses into meaning too. Built for telegraph lines in the 1830s and 1840s, it still works today because a Morse message can be sent with anything that switches on and off: a radio key, a flashlight, a blink. The entire system is two symbols and three lengths of silence.

An alphabet of dots and dashes

Morse assigns each letter, digit, and a handful of punctuation marks its own pattern. Common letters lean on the short symbols; digits are uniformly five marks long:

A .-      B -...    C -.-.    D -..     E .
F ..-.    G --.     H ....    I ..      J .---
K -.-     L .-..    M --      N -.      O ---
P .--.    Q --.-    R .-.     S ...     T -
U ..-     V ...-    W .--     X -..-    Y -.--
Z --..    0 -----   1 .----   2 ..---   5 .....

Punctuation has patterns too — the period is .-.-.-, the comma --..--, the question mark ..--.. — and any character with no pattern simply vanishes from the output. Feed a translator "hi 😊" and you get .... .. and nothing else: the emoji is silently dropped rather than mangled. That graceful fallback is deliberate. Morse was designed for hardware that can only produce one sound, so there is no way to represent a character the table does not know.

The timing rules: silence is grammar

On paper, dots and dashes look complete. On the air they are only half the message, because a transmission is really a rhythm of sound and silence. The standard timing is measured in one unit — the length of a dot:

dot                    = 1 unit of sound
dash                   = 3 units of sound
gap between marks      = 1 unit of silence
gap between letters    = 3 units of silence
gap between words      = 7 units of silence

Those gaps do real work. Four dots in a row with tight spacing spell .... — the letter H. Widen the gap in the middle and the same four dots become two I's: .. ... Widen it further and they are two I's in two different words. The marks are identical; only the silence distinguishes a word from a letter from a stutter. This is why sloppy "off-the-cuff" Morse is harder to read than slow, carefully spaced Morse — the listener reconstructs your message almost entirely from where you stopped.

Encoding and decoding by hand

Encoding is a per-letter table lookup. To encode "hello world", translate each letter, join the letters of one word with spaces, and mark word boundaries with a slash:

hello world
-> .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Decoding runs the same table backward: split on the slashes to get words, split each word on spaces to get letters, look each pattern up, and reassemble. The pattern -- --- .-. ... . / -.-. --- -.. . decodes letter by letter into MORSE CODE. There is no arithmetic involved — no shifting or rotating like a Caesar cipher — just a fixed dictionary read in both directions, which is why a small lookup table is the entire "algorithm".

Why E is a single dot

The table looks wasteful until you notice who got the short codes. E — the most common letter in English, roughly 12.7 percent of everything written — is a single dot. T, the runner-up, is a single dash. The rare letters pay for it: Q is --.-, Z is --... Samuel Morse built this skew in by counting a printer's type trays, and the same frequency logic later shaped crossword grids and broke substitution ciphers, as covered in Palindromes and Anagrams. It is worth seeing the skew in your own writing: run a draft through the Word Frequency Counter and watch how unevenly the letters land.

The payoff is average message length. Because the frequent letters are short and the rare ones long, a Morse encoding of ordinary English comes out shorter than a naive fixed-width scheme would give — the same compression insight that variable-length encodings like UTF-8 exploit for text, as described in How Text Encoding Works.

Why you cannot decode Morse by flipping it

Reversal and decryption feel similar and are not. Reversing text is a mirror: stressed becomes desserts, exactly and reversibly, as the Text Reverser shows. But mirroring a Morse message produces nothing — the dots and dashes just run backward into nonsense patterns, because Morse is a dictionary lookup, not a symmetric transformation. (Amusingly, the SOS signal ... --- ... reads the same in both directions, which is pure coincidence of its three letters.) A cipher hides a message behind a transformation you can undo; Morse only re-spells it. The undo step is a second lookup, not a reversal.

Try it yourself

Start with the Word Counter: Morse roughly triples the visible length of a message, so count the words and characters before you encode a long text. Then paste it into the Morse Code Translator and watch the table do its work — encode "sos", then "hello world", then your own name, and decode each result back by splitting on slashes and spaces. Finally, feed the original sentence to the Text Reverser to see the true mirror image, and compare how different "reversed" feels from "translated".

Frequently asked questions

What are the timing rules in Morse code?
Measured in dot units: a dash lasts 3 units, the gap between marks inside a letter is 1 unit, the gap between letters is 3 units, and the gap between words is 7 units. The silences carry the structure — four dots with tight gaps spell H, the same four dots with wider gaps spell two I's.
How do you write SOS in Morse code?
S is three dots, O is three dashes, so SOS is ... --- ... — sent as one three-letter word with no break, which is why it reads as a single unmistakable burst. As a distress call it is usually transmitted as a prosign with the letters run together.
Why is E a single dot in Morse code?
Because E is the most common letter in English — roughly 12.7 percent of running text — it earned the shortest symbol, one dot, with T (a single dash) next in line. Rarer letters like Q (--.-) and Z (--..) pay for it with longer patterns, which shortens average messages.
What happens to characters Morse code cannot represent?
They are dropped. Morse tables cover the 26 letters, the digits, and a set of punctuation marks such as the period (.-.-.-), comma (--..--), and question mark (..--..); anything else, like an emoji, has no pattern and simply vanishes from the encoding rather than corrupting the message.
Can you decode Morse code by reversing it?
No — reversal is a mirror, not a decryption. Running a Morse pattern backward produces meaningless mark sequences, because Morse is a dictionary lookup in both directions rather than a symmetric transformation like the one that turns stressed into desserts.