Morse Code Translator
Translate text to Morse code and Morse code back to text.
Related Tools
0 comments
How it works
Each letter, digit, and common punctuation mark maps to a standard sequence of dots and dashes. Encoding looks up every character and joins the codes with spaces, using a forward slash to mark word breaks. Decoding reverses the lookup, turning dot-dash groups back into characters. An optional audio mode plays the result with the Web Audio API, using the conventional timing where a dash lasts three times a dot. The lookup table and playback all run locally in your browser.
SOS → ... --- ...
Common use cases
- Encoding a message into Morse for a game, badge, or puzzle.
- Decoding Morse you received into plain text.
- Learning Morse by hearing the dots and dashes played back.
Frequently asked questions
How do I format Morse for decoding?
Separate the dots and dashes of each letter with a single space, and separate words with a slash (/). For example ... --- ... is SOS, and the slash marks where one word ends and the next begins.
Can it play the Morse as sound?
Yes. An audio option plays the encoded message with the Web Audio API using standard timing — a dash is three times the length of a dot — so you can hear the rhythm.
Which characters are supported?
The 26 letters, digits 0 to 9, and common punctuation such as period, comma, and question mark. Unsupported characters are skipped during encoding.