Type text on the left and it turns into Morse code on the right; paste a string of dots and dashes and it is recognised and decoded back to text. Letters, digits and common punctuation are supported, you can play the code aloud at an adjustable speed, and the full chart is further down the page. Everything runs locally in your browser, nothing is uploaded.
About Morse Code
Dots, dashes and three gaps: the whole of Morse code
Morse code uses only two signals: a short “dot” and a long “dash”, with a dash lasting three dots. What really decides whether it can be understood are the three gaps: one dot between the elements of a letter, three dots between letters, seven dots between words. Written down, the convention is . and - for dot and dash, one space between letters, and / between words. The shorter codes for common letters are deliberate: E is a single dot and T a single dash because they are the most frequent letters in English — a principle that predates Huffman coding by a century.
Why SOS is ··· --- ···
SOS is not short for Save Our Souls; that story was made up afterwards. The 1906 International Radiotelegraph Convention chose it simply because three dots, three dashes, three dots is the easiest pattern to key and the easiest to pick out of noise, and sent as one run with no letter gaps it is really a single nine-element symbol. It is in the “Try it” row on this page because a good share of people searching for Morse code are looking up this one code. “I LOVE YOU” and “HELLO” are asked just as often — one click shows and plays them.
The two most common decoding problems
The first is separators. Code copied from many places has no spaces between letters, and a long run such as ...---... can be split in several ways; a machine cannot know which you meant, so this page requires at least one space between letters and a slash, a vertical bar or three spaces between words. The second is the symbols themselves. Code found online often uses bullets, underscores or long dashes instead of the standard dot and hyphen; all of these are accepted and normalised before decoding. A combination that is not in the chart is shown as # rather than guessed.
Chinese and Morse code
International Morse code defines only Latin letters, digits and a set of punctuation; Chinese characters are not included. Chinese telegraphy took another route: each character is first given a four-digit number (the “Chinese telegraph code”, or standard telegraph code), the digits are sent in Morse, and the receiver looks the characters up in a code book. So “translating” a passage of Chinese straight into Morse has no single answer; this page does not guess, and characters it cannot encode are shown as # instead. If what you have is a string of four-digit groups, it is most likely Chinese telegraph code, which this page cannot decode. To count the letters before you type them in, use the Online Word Counter.
Decoded text always comes out in upper case, because Morse code itself has no case. To turn the result into normal sentence case, paste it into the Case Converter and choose “Sentence case”.