From telegraph to modern encoding
Morse code was invented by Samuel Morse and Alfred Vail in the 1830s for telegraph communication. Each letter or digit is represented by a unique combination of dots (·) and dashes (−), transmitted as short and long signals. The space between symbols, letters, and words carries meaning too.
How the encoding works
Frequent letters get short codes: E is just a single dot (·), T is a single dash (−). Less frequent letters get longer codes: Q is (−−·−). This is an early example of variable-length encoding — the same principle used in Huffman compression.
Decode direction
Paste Morse code using dots and dashes (. and -) separated by spaces. Use / or | to separate words. The tool reconstructs the original text character by character.
Privacy
Everything runs in your browser. Nothing you type is sent to a server.