Morse Code Converter
Convert text to Morse code or decode Morse to text with audio playback and visual signals
Convert text to dots and dashes or decode Morse back into readable words — both directions work in real time as you type. Hit play to hear the actual audio with a flashing signal light, and tweak the speed or pitch to match what you need. And everything runs in your browser. Nothing gets uploaded.
How It Works
Each letter maps to a unique pattern of dots and dashes based on the International Morse Code standard. The tool matches every character you type against this table in real time — no button click required. When you hit Play, the Web Audio API generates tones right in the browser: short beeps for dots, longer ones for dashes, with proper timing gaps between letters and words.
Examples
Quick Distress Signal
The most recognized Morse sequence in the world — three short, three long, three short.
SOS
... --- ...
Encoding a Full Sentence
Spaces between words become slashes in Morse. Here's a typical short message you might send over radio.
HELLO WORLD
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Decoding a Mystery Message
Switch to "Morse to Text" mode and paste this in. Maybe someone left you a coded note, or you're working through a puzzle. Either way, the answer shows up immediately.
-- . . - / -- . / .- - / ..... / .--. --
MEET ME AT 5 PM
Who Uses This
Practice encoding and decoding callsigns before keying them on air.
Complete Morse code assignments for history, physics, or communications classes.
Decode Morse clues in escape rooms, geocaching, and CTF challenges.
Learn SOS and basic Morse patterns for emergency signaling situations.
Common Mistakes
In Morse, each letter is separated by a space. If you type ...---... with no spaces, it won't decode as "SOS" — the tool can't tell where one letter ends and the next begins. Use ... --- ... instead.
Words in Morse are separated by / with spaces around it. Writing ..../----.. jams everything together. Put spaces on both sides: .... / ---.
Some websites use en-dashes (–) or middle dots (·) instead of plain hyphens and periods. This tool handles most of those, but if your decode looks garbled, try replacing special characters with regular dots and dashes first.
Technical Details
- Processing: 100% client-side — nothing leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Audio Engine: Web Audio API (no plugins needed)
- Standard: International Morse Code (ITU)
- Supported Characters: A–Z, 0–9, and 20+ punctuation marks
Frequently Asked Questions
What is Morse code used for today?
Ham radio operators still use it regularly — some contests even require it. Aviation and maritime industries keep it as a backup communication method. It also shows up in accessibility tech, where people with limited mobility can input text using just two signals.
How do you write SOS in Morse code?
Three dots, three dashes, three dots: ... --- .... It was chosen because it's simple to transmit and impossible to confuse with other signals. Contrary to popular belief, SOS doesn't actually stand for "Save Our Souls" — it was picked purely for its easy pattern.
Can this tool play Morse code audio?
Yes. Hit the Play Audio button and it generates real beeps using your browser's audio system. You can change the speed (slow, medium, fast) and the pitch (400–1000 Hz). A flashing light syncs with the tones so you can see the pattern too.
What's the difference between a dot and a dash in Morse code?
A dot is a short signal — one unit of time. A dash is three units, so exactly three times longer. The gap between dots and dashes within the same letter is one unit, the gap between letters is three units, and between words it's seven units. That timing is what makes Morse readable.
Does Morse code support numbers and punctuation?
It does. Numbers 0 through 9 each have a five-symbol code (for example, 1 is .----). Punctuation like periods, commas, question marks, and about 20 other symbols are also covered. This tool supports the full International Morse Code character set.