Morse Code Translator
Free Morse code translator — convert text to Morse code or decode Morse back to text instantly. No signup required.
About Morse Code Translator
The Morse Code Translator converts any text into Morse code — or decodes Morse code back into readable text — as you type. Switch between modes with one click, then copy the result or play it back as audio directly in your browser.
Morse code was invented in the 1830s as a way to transmit text over telegraph wires using only two kinds of signal: a short pulse (dot) and a long pulse (dash). Each letter and digit maps to a unique sequence of these signals, and the system became the backbone of long-distance communication for over a century. The simplicity of the encoding is also its strength — with nothing more than an on-off signal, entire messages can cross oceans.
Today Morse code remains in active use. Ham radio operators transmit it over the airwaves, aviation navigation aids broadcast station identifiers in it, and it lives on as an assistive technology for people who can only produce a single switch input. It’s also widely used in education, survival training, and hobbyist electronics. Being able to read and write basic Morse — especially SOS (… --- …) — is a surprisingly practical skill.
This tool supports the full international Morse code standard: 26 letters, 10 digits, and common punctuation. In Text → Morse mode, every character you type is encoded in real time. In Morse → Text mode, paste dots and dashes separated by spaces between letters and slashes between words. The audio playback uses the Web Audio API to generate tones at the correct rhythm — short for dots, long for dashes — so you can hear exactly what the code sounds like. Everything runs client-side with no server calls and no data stored.
Frequently asked questions
Morse code is a method of encoding text characters as sequences of two different signal durations — short signals called dots (·) and long signals called dashes (−). Developed in the 1830s by Samuel Morse and Alfred Vail for use with the telegraph, it became the first practical system for long-distance electronic communication. Each letter, digit, and common punctuation mark has a unique dot-dash sequence.
Switch to 'Text → Morse' mode, type any text, and the Morse code appears instantly below. Switch to 'Morse → Text' mode, paste or type Morse code using dots (.) and dashes (-), separate letters with a single space, and separate words with a forward slash (/). The decoded plain text appears immediately.
The translator supports all 26 English letters (A–Z), digits 0–9, and common punctuation including . , ? ! ' / - + = ( ) @ and the ampersand &. Unsupported characters are skipped during encoding. In decoding mode, unknown Morse sequences are shown as a question mark.
Dots are represented by a period (.) and dashes by a hyphen (-). Letters are separated by a single space, and words are separated by a forward slash with spaces around it ( / ). For example: 'SOS' becomes '... --- ...' and 'HELLO WORLD' becomes '.... . .-.. .-.. --- / .-- --- .-. .-.. -..'.