Skip to main content
MC

Morse Code Converter

Translate text to Morse code and decode Morse code back to text — dots, dashes, and spaces made readable.

Did you like the tool? Thanks!
Share:

How to Use Morse Code Converter

Type text to see its International Morse code representation, or paste dots (.) and dashes (-) with spaces to decode back to text. Supports the full Latin alphabet (A-Z), digits (0-9), and common punctuation. Copy the result with one click. Everything runs locally in your browser.

About Morse Code Converter

Morse code is one of the oldest digital communication systems still in use — it predates the telephone and was the first method of sending text over long distances electrically. Developed by Samuel Morse and Alfred Vail in the 1830s, it encodes letters, digits, and punctuation as sequences of two signals: a short signal (the dot, written as .) and a long signal (the dash, written as -). The genius of Morse code is that it assigns shorter codes to more frequent letters — E, the most common letter in English, is a single dot (.); T is a single dash (-); while less common letters like Q (--.-) and Z (--..) take four signals. This variable-length encoding, optimized for English letter frequencies, makes Morse transmissions more efficient than a fixed-length code would be.\n\nThis tool uses the International Morse Code standard (also called Continental Morse), which is the version adopted worldwide for radio, aviation (until recently), and maritime communication. The United States originally used a different variant (American Morse, or Railroad Morse) with slightly different codes and a third signal length, but International Morse is the universal standard today and is what this tool implements. The full mapping covers A-Z, 0-9, and the most commonly transmitted punctuation marks: period, comma, question mark, slash, apostrophe, exclamation mark, at sign, hyphen, parentheses, ampersand, colon, semicolon, equals sign, plus sign, underscore, quotation marks, and dollar sign. Characters that have no standard Morse representation (non-Latin scripts, emoji, accented letters) are skipped with a visible placeholder in the output.\n\nOn the encode side, text is converted character by character. Letters and digits are looked up in a mapping table, then each Morse code is appended with a space between characters and a forward slash (/) between words to make the output unambiguous — without a word separator, it would be impossible to know where one word ends and the next begins, since the space between characters and the space between words would look identical. On the decode side, the tool splits the input on spaces, matches each token against the defined Morse sequences, replaces slashes with word spaces, and rebuilds the text. Unknown sequences produce a question mark with a warning count shown.\n\nMorse code remains actively used today by amateur (ham) radio operators worldwide, in assistive technology for people with limited mobility, and in aviation navigation aids where VOR identifiers broadcast their three-letter code in Morse. It is also a popular puzzle element in escape rooms, geocaching, and ARG (alternate reality game) challenges. This tool makes it trivial to work with Morse code for any of these purposes, without needing to memorise the full mapping.

Details & Tips

Complete International Morse Code character mapping used by this tool:\n\nLetters: 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 --..\n\nDigits: 0 ----- 1 .---- 2 ..--- 3 ...-- 4 ....- 5 ..... 6 -.... 7 --... 8 ---.. 9 ----.\n\nPunctuation: period .-.-.- comma --..-- question mark ..--.. slash -..-. apostrophe .----. exclamation -.-.-- at sign .--.-. hyphen -....- left parenthesis -.--. right parenthesis -.--.- ampersand .-... colon ---... semicolon -.-.-. equals -...- plus .-.-. underscore ..--.- double quote .-..-. dollar ...-..-\n\nEncoding conventions: characters within a word are separated by a single space. Words are separated by / (space-slash-space) to allow unambiguous decoding. The output for HELLO WORLD is .... . .-.. .-.. --- / .-- --- .-. .-.. -.. . Uppercase and lowercase input produce identical Morse output — the code itself has no case distinction. Leading and trailing whitespace in text input is trimmed.\n\nDecoding conventions: input is split on spaces. Any token matching one of the defined Morse sequences is decoded to its character. Slashes are treated as word boundaries and replaced with a space in the output. Unknown sequences produce a question mark with a warning count shown. Empty input produces empty output. Input containing characters other than dots, dashes, spaces, and slashes triggers an error rather than silently producing wrong output.\n\nEdge cases: consecutive spaces in Morse input are collapsed to a single separator. A trailing space after the last Morse character is ignored. The tool preserves the word-boundary slash convention in both directions — encoding adds it, decoding interprets it — so a round-trip encode-then-decode of HELLO WORLD correctly restores the original text with word spacing intact.

Frequently Asked Questions

What version of Morse code does this tool use?
International Morse Code (Continental Morse), the worldwide standard used in radio, aviation, and maritime communication. This is not the older American or Railroad Morse variant.
How are words separated in the Morse output?
A space separates characters within a word, and a slash surrounded by spaces separates words. This ensures the decoder can unambiguously reconstruct the original word boundaries.
Does this tool produce audio Morse code?
No — it outputs the text representation (dots, dashes, and spaces). For audio Morse you would need a tone generator configured with the correct timing ratios (dot equals 1 unit, dash equals 3 units, etc.).
What happens to characters that have no Morse code equivalent (like emoji or accented letters)?
They are replaced with a visible placeholder in the output and counted in a warning. The decoder will not be able to decode them back, since they have no standard Morse representation.
Why is the letter E a single dot and Z is four characters?
Morse code was designed to give shorter codes to more frequent letters in English. E is the most common letter, so it gets the shortest code. This variable-length design makes Morse transmissions more efficient.
What is the Morse code for SOS?
Three dots, three dashes, three dots (... --- ...). It is sent as a single continuous character with no letter spacing between the S and O and O and S, which is why it is recognized as a distinct distress signal, not three separate letters.
Does Morse code distinguish between uppercase and lowercase?
No. Morse code represents letters, not their case. Input text is converted to uppercase for encoding, and decoded output is always uppercase.
Can I use characters other than dots and dashes (like asterisks or underscores) for Morse input when decoding?
No — the decoder expects dots (.) and dashes (-) only. If you have a representation using other symbols, convert them to . and - first, or use a search-and-replace tool.
Is my text sent to a server?
No. All translation runs in your browser using JavaScript — nothing you type or paste is transmitted, logged, or stored anywhere.
What is the range and typical use of Morse code today?
Morse is still actively used by amateur (ham) radio operators worldwide. It excels in weak-signal conditions where voice or digital modes fail. It is also used in assistive technology for people with limited mobility, and appears in aviation navigation aids where VOR identifiers broadcast their three-letter code in Morse.

Part of These Collections

Also Available As

morse code translator, morse code converter, text to morse, morse to text, morse code decoder, morse code encoder, international morse code, SOS morse code

Found a Problem?

Let us know if something with Morse Code Converter isn't working as expected.

Thanks — we'll take a look.