← All tools/Utilities/Text/Morse Code Converter
Morse Code Converter
Text to Morse code and back again — entirely in your browser, nothing leaves the page.
Type plain text to encode, or dots and dashes to decode. A single space separates letters and / separates words.
Converted output
How it works
Letter-by-letter lookup (A–Z, 0–9 and common punctuation). A single space separates letters; / separates words. Encode: each letter becomes its dots and dashes. Decode: each group of dots and dashes becomes its letter; groups separated by / start a new word.
Worked example: “SOS” becomes “... --- ...” — S is three dots, O is three dashes, S is three dots again. Decoding “... --- ...” gives back “SOS”. “HI” becomes “.... ..” (H is four dots, I is two dots), and “HELLO WORLD” becomes “.... . .-.. .-.. --- / .-- --- .-. .-.. -..”.
Frequently asked questions
How do spaces work in Morse code?
A single space separates letters, and a slash ( / ) separates words. So “HI THERE” is “.... .. / - .... . .-. .” — the slash is where the word gap goes.
Which characters can it convert?
Letters A–Z, digits 0–9 and common punctuation (. , ? ’ ! / ( ) & : ; = + - _ " $ @). Anything else is passed through unchanged, so nothing is lost silently.
Why is SOS the famous example?
SOS (... --- ...) is the international distress signal — three dots, three dashes, three dots. It was chosen because it is simple, unmistakable and easy to send by hand.
Can I decode Morse code by hand with this?
Yes — paste the code, switch the direction to Morse → Text, and the letters appear live. If a group is not in the table it is passed through as it was, so you can see what did not match.
Tell us what you think
Loving this tool, or stuck on something? Tell us — it takes a minute.
We’ll only use your name and email to reply if needed. The tool and page are filled in for you.