Morse code translator
Translate text to Morse code or decode dots and dashes, then play the beeps or save them as audio.
Separate letters with a space and words with /. Accented letters go out as the plain letter (é is sent as E), and Ñ has its own code. It all runs in your browser: your text is never uploaded.
Example input and result
SOS HELLO
Result
... --- ... / .... . .-.. .-.. ---
Translate text to Morse code and back
Pick a direction in “Mode”. “Text to Morse” turns what you type into dots and dashes, and “Morse to text” reads code back as letters. The result updates as you type: Hello world becomes .... . .-.. .-.. --- / .-- --- .-. .-.. -.., with a space between letters and a slash between words. “Copy result” puts it on your clipboard and “Download TXT” saves it as a file.
SOS→... --- ...I love you→.. / .-.. --- ...- . / -.-- --- ..-Help me→.... . .-.. .--. / -- .Hello, world!→.... . .-.. .-.. --- --..-- / .-- --- .-. .-.. -.. -.-.--
Letters, numbers and symbols in Morse code
The translator knows A to Z, the digits 0 to 9, and these signs: . , ? ! : ; - / ( ) = @ + _. Upper and lower case give the same code. Accented letters go out as the plain letter, so café is sent as -.-. .- ..-. . (CAFE), while Ñ keeps its own code, --.--. An emoji, a quotation mark, an apostrophe or & stops the translation with “Unsupported Morse character” plus the symbol that failed, so don't has to become dont.
Decoding Morse: spaces and slashes
In “Morse to text”, put a space between letters and a / between words. The slash is the only word break: line breaks and extra spaces count as letter gaps, so ... --- ... on one line and .... .. on the next decode as SOSHI. Letters run together without spaces fail as well, because ...---... isn't a single character. Decoded text always comes out in capitals.
Code copied from an image caption, a puzzle or a chat often uses middle dots (·), long dashes or minus signs instead of periods and hyphens. The decoder accepts them, so ··· −−− ··· still gives SOS. If a sequence matches no letter, the error “Unknown Morse sequence” shows that exact sequence so you can find it and fix it.
Play Morse code audio or download a WAV
Under “Listen to Morse code”, tap “Play audio” to hear the beeps and “Stop audio” to cut them off. “Speed (WPM)” runs from 5 to 60 words per minute (20 by default), “Pitch (Hz)” from 200 to 1200 Hz (600 by default), and the “Volume” slider sets the level. “Download WAV” saves the same sound as a file for a video, a class presentation or practice offline.
Timing follows the international ratio: a dot lasts 1 unit, a dash 3, the gap between letters 3 and the gap between words 7. At 20 WPM one unit is 60 milliseconds, so SOS plays in 1.6 seconds. Audio is capped at 60 seconds, which holds about as many standard words as your WPM setting, around 20 words at 20 WPM. For longer messages, raise the speed or split the text.
Where people use a Morse translator
A quick message or a homework answer takes seconds, and the audio helps if you're learning to copy Morse by ear: start slow, then raise “Speed (WPM)” a few steps at a time. Before you engrave or print anything, decode your code once in “Morse to text” to catch a missing space or slash.
- Physics or history homework about the telegraph
- Secret messages and puzzles for friends
- Escape rooms, scavenger hunts and geocaching clues
- A name in Morse on a bracelet, a necklace or a tattoo
- Ear training at different speeds
Frequently asked questions
How do you write SOS in Morse code?
SOS is ... --- ...: three dots, three dashes and three dots. It isn't an abbreviation; it was picked as a distress signal because it is easy to send and hard to mistake. “Save our souls” came later as a backronym. Type it here and tap “Play audio” to hear it.
How do I separate letters and words in Morse?
Leave one space between letters and a slash between words, as in .... . .-.. .-.. --- / .-- --- .-. .-.. -.. for HELLO WORLD. When you translate text to Morse, the tool adds these for you. When you decode, it needs them to know where each letter ends.
Why is the decoded text all capitals?
Morse has no upper or lower case, so the decoder writes every letter as a capital. Accents don't survive the trip either: é was sent as E, so decoding gives E back. Ñ is the exception, because it has its own code and comes back as Ñ.
Can I download the Morse code as audio?
Yes. “Download WAV” saves typedly-morse.wav with the speed, pitch and volume you picked. Audio is capped at 60 seconds, so a long message needs a higher speed or splitting into parts before you download it.
Why won't the audio play for Morse I pasted?
In “Morse to text” mode the audio plays the code as you pasted it. Middle dots (·) and long dashes decode fine, but the player needs plain periods and hyphens. Replace them, or paste the decoded text into “Text to Morse” mode and play it from there.