Toolstia / Morse code translator

Morse code translator

Morse code turns each letter into a pattern of short and long signals, which made it possible to send messages over telegraph wires, radio and light long before voice or text. People still learn it for amateur radio, scouting, escape rooms, puzzles, accessibility switches and plain curiosity, and many want a quick way to check a message without looking up every character.

This translator converts in both directions. Text becomes dots and dashes with a space between letters and a slash between words. Morse typed in the same layout is turned back into text. It covers the letters A to Z, the digits 0 to 9 and 18 punctuation marks and symbols.

It translates symbols on the page. It does not play sound or flash light, so for practice with timing you will need a separate trainer or an audio tool.

How it works

  1. Choose the direction.
  2. Type or paste your text or code.
  3. Copy the result.

How it is written

Dots and dashes make each letter, and a space separates letters. A slash (/) separates words. For example "SOS" is "... --- ...".

What is covered

The English letters A to Z, the digits 0 to 9, and common punctuation such as . , ? ! / ( ) & : ; = + - _ " $ and @. Characters with no Morse code are left out, and the tool lists them.

Reading Morse

When decoding, a "·" or "•" is read as a dot and "–" or "—" as a dash. Use a slash, a vertical bar or three spaces between words.

International Morse

This follows the international Morse code in common use. Some languages have extra characters that are not included.

Worked example: SOS help

Type SOS help and the output is ... --- ... / .... . .-.. .--. in which the letters S, O and S are three dots, three dashes and three dots, and the slash marks the gap between the two words. Capital and lower-case letters give the same result, since Morse has no case.

A longer line with punctuation shows the rest of the range: Hello, World! 123 becomes .... . .-.. .-.. --- --..-- / .-- --- .-. .-.. -.. -.-.-- / .---- ..--- ...-- with three words in three groups. In it the comma is --..-- and the exclamation mark is -.-.--.

Spacing is what makes decoding work

Morse is read by its gaps. A single space separates letters inside a word, and a slash, a vertical bar or three or more spaces separate words. If you paste a message with only one space between every group, the tool cannot see where the words end, and .... .. - .... . .-. . is read as HITHERE instead of HI THERE.

In the traditional timing, a dot is one unit, a dash is three, the gap between letters is three and the gap between words is seven. The slash is a printed stand-in for that longer gap. When transcribing from a recording, add the word separator wherever you heard the longer pause.

Characters that cannot be translated

Text to Morse leaves out any character that has no code and lists what it skipped. Accented letters are a common case: the text cafe with an acute accent loses the accented letter, so type the plain letter if you want it included. Emoji, non-Latin scripts and symbols such as the percent sign are skipped as well.

If a word contains only unsupported characters, it disappears but still leaves its slash, so you may see a stray slash at the end or two slashes together. Line breaks and tabs are treated like spaces, and extra spaces are collapsed.

How decoding handles odd input

When decoding, a middle dot or bullet is read as a dot, and an en dash, em dash, minus sign or underscore is read as a dash. That makes it forgiving of text that a word processor has auto-formatted. Any group that does not match a known code is decoded as a question mark in the output, and the tool lists each unrecognized group beneath the box, so you can find the typo.

For example, .... -.-.--- .. decodes to H?I, because the middle group is not a valid letter. Check that group for a missing space or a wrong number of dots and dashes.

Prosigns, other languages and what the tool does not cover

Special operating signals, such as the run-together letters used to end a message, are not treated as separate symbols, so type them as ordinary letters if you need them. Morse alphabets for Arabic, Cyrillic, Greek, Japanese and other scripts exist, but this tool supports the international Latin set only.

There is no sound output, no speed control and no flashing light mode. For learning to listen by ear, a dedicated trainer is a better choice than reading symbols on a screen.

Questions

Can it play the sound?

No. It only translates text and code.

Does it support Bangla?

No. Morse code here covers English letters, digits and punctuation.

Why did some characters disappear?

They have no Morse code. The tool lists what it left out.

Is it private?

Yes. Everything stays in your browser.

How do I write a word separator when typing Morse by hand?

Use a slash with spaces around it, a vertical bar, or leave three or more spaces. A single space separates letters, not words.

Why did my decoded text come out as one long word?

The words were separated by single spaces only. Add a slash or a vertical bar between words and decode again.

Does case matter when I type text?

No. Text is turned into capitals before it is translated, because Morse has no capital or lower-case letters.

What does a question mark in the decoded text mean?

That group of dots and dashes does not match any known character. It is probably a typo or a missing space, and the tool shows the group it could not read.

Can it translate numbers and punctuation?

Yes. The digits 0 to 9 and punctuation such as full stop, comma, question mark, exclamation mark, brackets, colon, semicolon, equals, plus, hyphen, quotation marks, dollar sign, at sign and ampersand are included.