Translates text to Morse code and back, with audio playback and speed control.
Input
SOS
Output
... --- ...
Input
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Output
HELLO WORLD
A Morse code translator converts plain text into dots and dashes and turns them back again. Type a message and the code appears at once. This free Morse code translator runs in your browser and also plays the signal as sound. Nothing you enter leaves your device.
Morse code is one of the oldest ways to send a message electrically. Samuel Morse and his partners developed it in the 1830s and 1840s for the telegraph. Sailors and pilots later used it over radio and lamps. Scout groups and puzzle hunters still teach it. And a surprising number of people learn it just for fun.
The rules are small. Every letter and number is a pattern of short and long signals. A dot lasts one unit and a dash lasts three. The gap between parts of a letter is one unit and the gap between letters is three. Words are split by seven units of silence. So the speed of a message is only about how long one unit lasts. At 15 words per minute a unit is 80 milliseconds, which is the figure the player uses. Beginners usually learn fastest by hearing it slowly at 5 words per minute first.
When you decode you can write the code in several ways. Dots and dashes are standard, but the tool also accepts the bullet and the long dash that many apps produce. Use a single space between letters. Put a slash between words, or leave three or more spaces. Anything it doesn't recognise is replaced by a question mark and listed below the output so you can find the typo. The audio is generated in your browser with the Web Audio API and the download button saves the same sound as a small WAV file.
A few honest limits apply. International Morse covers letters A to Z, digits, and common punctuation, but not accented letters, so those are skipped with a note. Real operators also use prosigns like SOS as a single run of signals, and this tool simply encodes the three letters. For other text tricks try the binary translator or the reverse text tool. If you want to share your message as a scannable image the QR code generator will do that.
More Text Tools