How Text to Morse Code Encoding Works
This morse code alphabet converter lets you encode Morse code online by mapping every letter, digit, and common punctuation mark to its standard International Morse Code pattern of dots and dashes, uppercasing the input first since Morse code itself has no concept of letter case. Individual letters within a word are separated by a single space, and word boundaries are marked with a forward slash surrounded by spaces, so "SOS" becomes "... --- ..." and "HI THERE" becomes "... .. / - .... . .-. ."
Decoding Morse Code Back to Text
As a morse code decoder, this side of the tool lets you decode Morse code online in the same format encoding produces: letters separated by whitespace, words separated by a slash. Each space-separated group of dots and dashes is looked up in the Morse alphabet and converted back to its character, an unrecognized group (extra dots, a typo, or a symbol outside the supported alphabet) is shown wrapped in brackets, like [.-.-], instead of silently being dropped or halting the whole decode.
Handling Unknown Characters
Not every character has a Morse code equivalent, characters outside the supported alphabet (most symbols and non-Latin letters) are replaced with a single ? in the encoded output, and every distinct unknown character encountered is also listed separately so it's easy to see at a glance what wasn't translatable, rather than having to hunt through the output for stray question marks.
Common Uses
Learning the Morse code alphabet, whether for a class, a badge requirement, or general curiosity, is the most common use for this morse code generator. Practicing ham radio or signaling skills, decoding a Morse message found in a puzzle, book, or game, and creating novelty encoded messages for fun are all common secondary uses. As a quick morse code translator online, it's also handy for double-checking a message by hand before sending it over an actual radio or light signal.
What This Tool Doesn't Do
It doesn't play the encoded output as audible beeps or a flashing light signal, the result is text only (dots and dashes), not sound or visual timing. It also doesn't support Morse prosigns (special procedural signals like AR or SK) or alphabets from non-Latin scripts, only the standard International Morse Code alphabet covering Latin letters, digits, and common punctuation.