🔒 100% private — runs in your browser, nothing is uploaded

Morse Code Translator

Translate text to morse code and back.

Morse code encodes letters as dots and dashes — still used in aviation, amateur radio and as an accessibility tool.

Related tools: NATO Phonetic Alphabet

Quick answers

How long does it take to send SOS in Morse code?

Count it in dot units. S takes 5 units, the letter gap takes 3, O takes 11, then another 3-unit gap and a final 5 for the last S. That's 27 units in total. At 60 milliseconds per unit, the whole distress signal lasts 1,620 milliseconds, about 1.6 seconds from first dot to last.

A practised operator at 25 words per minute uses a unit near 48 milliseconds, so the same SOS lands in about 1.3 seconds. The pattern never changes — only the clock behind it does. That's part of why SOS works as a distress call: the pattern is hard to mistake for ordinary traffic at any speed.

Why does a question mark appear in my Morse translation?

A question mark in your result is a placeholder, not part of your message. When you encode, it means the character you typed isn't in the code table — anything beyond A to Z, 0 to 9 and the marks . , and ?. When you decode, it means that group of dots and dashes doesn't match any known letter.

The usual culprit when decoding is a missing space. Run two letters together and the decoder sees one long group instead of two short ones, finds no match, and hands you a '?'. Retype the code with one space between letters and ' / ' between words and most mystery question marks clear up. When encoding, swap the unsupported character for a supported one — spell out 'at' instead of @.

Why do common letters have shorter Morse codes?

Because the code was built for speed. Samuel Morse and Alfred Vail gave the shortest signals to the letters English uses most — E gets a single dot, T gets one dash — so everyday messages took less time to send. It's the same idea behind modern compression: spend the fewest symbols on the things that show up most often.

You can feel the effect in a plain word. MAYDAY encodes as '-- .- -.-- -.. .- -.--', and its most common letter, A, costs just dot-dash. Flip it around and look at a rare letter like J, which gets dot-dash-dash-dash — nearly three times the length. Over a long telegram, those savings stacked up fast.

How to use

  1. Choose the translation direction.
  2. Type text — or morse with spaces between letters, / between words.
  3. The translation appears instantly.

About this tool

SOS (··· −−− ···) is the universal distress signal.

Translated locally in your browser.

How it works

International Morse code encodes each letter and digit as a sequence of dots (short) and dashes (long). It was standardized in 1865 for telegraphy; the most common letter in English, E, gets the shortest code — a single dot — which keeps messages compact.

Timing matters in real transmission: a dash lasts three dots, the gap between symbols is one dot, between letters three dots, and between words seven. In written form this tool uses spaces between letters and " / " between words, the standard convention.

The short codes for common letters weren't an accident. Morse and Vail worked out which letters English reaches for most — the story goes that Vail counted the type in a printer's case to rank them — and handed the shortest signals to the busiest letters. E got a single dot. T got one dash. Rare letters like Q and J got long, lumbering patterns. That's a compression scheme, decades before computers: spend the fewest symbols on whatever shows up most, and the average message gets shorter and faster to send.

Decoding here runs on the spaces. The decoder splits your input on ' / ' first to get words, then splits each word on single spaces to get letters, then looks each group up in the table. Drop one space and two letters fuse into a single group that matches nothing — '-...' followed straight by '..' with no gap isn't B or I, it's one unknown blob, and it decodes as '?'. The signal itself carries no letter boundaries. The gaps are the punctuation.

Speed gets quoted in words per minute, and there's a standard word behind that number: PARIS. Its code length matches a typical English word. Count it in dot units — letters, the gaps inside them, and the gaps between them — and PARIS comes to exactly 50 units, including the word gap after it. So at 20 words per minute, you're sending 20 × 50 = 1,000 units a minute, which works out to about 60 milliseconds per unit. A beginner at 5 wpm and a seasoned operator at 25 use the same code — only that unit length changed.

What this tool can’t do

The code table here is small on purpose. You get A to Z, 0 to 9, and just three punctuation marks: the full stop, the comma, and the question mark. Exclamation marks, @ signs, brackets, currency symbols — none of them made the cut.

Type a character the table doesn't know and it comes out as a literal question mark. Accented letters do this too. An é, an ü, a ñ — all of them encode as '?'. This table sticks to the plain international code, not the national variants that bolt on extra letters. Check your output for stray question marks before you send anything. Each one is a character that got lost.

There's no sound and no key. This tool works with written dots and dashes only — it won't play beeps, flash a light, or let you tap out a message by hand. Practising for real on-air work? You'll need a separate keyer or tone app for the listening side. This page handles the translation, not the transmission.

Written Morse has a spacing habit that real Morse doesn't. On paper, letters sit one space apart and words sit apart with ' / ' — otherwise you'd never know where one letter ends. On air, nobody sends a slash. The gaps are just silence, measured in dot lengths.

Prosigns and shorthand aren't covered. Operators use run-together signals like AR (end of message) and SK (end of contact), plus a shelf of abbreviations. This translator sticks to plain letters, digits, and those three marks. Paste in a transcript full of prosigns and you'll get question marks where the shorthand sits.

Worked examples

SOS: "SOS" becomes "... --- ..." — the most recognized distress signal in the world.

Decode: Paste ".... . .-.. .-.. ---" to decode it back to "HELLO".

Timing SOS on air, unit by unit: You already know SOS spells out as '... --- ...'. Here's what it costs in time. Count everything in dot units, where a dash is 3 units and the gap inside a letter is 1. S is dot, gap, dot, gap, dot — that's 1+1+1+1+1 = 5 units. Then a letter gap of 3. O is dash, gap, dash, gap, dash — 3+1+3+1+3 = 11 units. Another letter gap of 3. Then the final S, 5 units again. Add it up: 5 + 3 + 11 + 3 + 5 = 27 units. Now give each unit 60 milliseconds — that's 20 words per minute by the PARIS count. 27 × 60 = 1,620 milliseconds. So one SOS, sent cleanly, lasts about 1.6 seconds from the first dot to the last.

Quick reference

LetterCodeLetterCodeLetterCode
A.-J.---S...
B-...K-.-T-
C-.-.L.-..U..-
D-..M--V...-
E.N-.W.--
F..-.O---X-..-
G--.P.--.Y-.--
H....Q--.-Z--..
I..R.-.1.----
2..---3...--4....-
5.....6-....7--...
8---..9----.0-----

Frequently asked questions

How do I separate letters and words?

Spaces between letters, " / " between words — e.g. "... --- ..." = SOS.

What characters are supported?

A–Z, 0–9 and basic punctuation (. , ?).

Is my text uploaded?

No.

How do I write numbers in Morse code?

Digits follow a tidy pattern. 1 to 5 start with that many dots, then dashes fill the rest: 1 is '.----', 2 is '..---', 5 is '.....'. Then 6 to 0 flip it — dashes first, then dots — so 6 is '-....' and 0 is '-----'. Every digit is exactly five symbols long. The year 2026 comes out as '..--- ----- ..--- -....'. Long, but predictable once you see the shape.

Can I decode Morse code if the spaces are missing?

Not reliably, and this tool won't guess for you. Without spaces, one stream of dots and dashes can split into letters several different ways, with no way to know which split the sender meant. '...' alone could be S, or EEE, or a mix like E-I. If you've got a spaceless recording or transcript, the honest fix is to listen for the timing gaps — a 3-unit pause marks a letter break, a 7-unit pause marks a word break — and add the spaces back yourself.

Does Morse code work the same in every language?

The core A to Z and 0 to 9 set is international, agreed in 1865. Beyond that, countries bolted on their own extensions for letters the base set lacks — accented vowels in parts of Europe, different mappings for scripts like Cyrillic, Japanese kana, and Chinese characters sent as number codes. This translator covers the international base only, so text in those scripts won't convert here.

📦 Embed this tool on your site

<iframe src="https://verystep.com/embed/morse/" title="Morse Code Translator" width="100%" height="520" loading="lazy" style="border:0"></iframe>

Free to use. The embed shows a small "Powered by Verystep" link.

First time embedding? Read the step-by-step guide →

More free tools