
What a Morse Code Translator Does
A Morse code translator is a tool that converts plain text into patterns of dots (·) and dashes (–) — known as International Morse code — and converts those patterns back into readable text, using the official ITU-R M.1677-1 character table that defines the encoding for all 26 Latin letters, the digits 0–9, and 18 standard punctuation and symbol characters.
The conversion runs in real time in both directions, so typing "hello" instantly produces .... . .-.. .-.. --- while pasting ... --- ... decodes straight back to SOS. A dot is the basic timing unit; a dash is exactly three times as long, the gap between elements inside a single letter equals one dot, the gap between letters equals three dots, and the gap between words equals seven dots — the precise ratios published by the International Telecommunication Union. Because a translator that follows those ratios literally plays back technically correct Morse tones, it functions as a faithful implementation of the same alphabet amateur radio operators, aviators, and mariners have used since 1844 rather than as an arbitrary beep generator.
The ITU-R M.1677-1 Standard Behind the Alphabet
Every Morse code translator worth using is built on a published standard, and the one that matters today is the one maintained by the International Telecommunication Union's Radiocommunication Sector in ITU-R Recommendation M.1677-1. That document is the official International Morse code table, and it specifies the exact dot-and-dash sequence for each character in the global telegraphy alphabet.
The 2009 revision matters in particular because it added the @ symbol to the table, so a modern translator handles addresses such as [email protected] without inventing a placeholder mapping. The character set the standard covers is wide enough for everyday English and for technical message traffic:
- All 26 Latin letters A through Z
- The digits 0 through 9
- 18 punctuation and symbol characters: period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign, and at sign
Characters outside that set are simply not part of International Morse code. When you look at the Morse Code Translator in this category, every output you see comes from that exact table.
How Morse Timing Works (and Why It Matters)
Morse code is built from just two signal lengths, and the timing rules between them are what let a human listener (or a software decoder) tell one letter from another. The International Telecommunication Union publishes those rules as fixed ratios so any sender — whether a radio, a flashlight, a tap on a wall, or a JavaScript audio buffer — produces the same recognizable rhythm.
| Element | Length (in dot units) |
|---|---|
| Dot | 1 |
| Dash | 3 |
| Gap between elements inside one letter | 1 |
| Gap between letters in the same word | 3 |
| Gap between words | 7 |
A worked example makes the ratios concrete. Suppose the translator chooses a dot length of 100 milliseconds, a comfortable rhythm for learning:
- Dot = 1 × 100 ms = 100 ms
- Dash = 3 × 100 ms = 300 ms
- Intra-letter gap = 1 × 100 ms = 100 ms
- Inter-letter gap = 3 × 100 ms = 300 ms
- Inter-word gap = 7 × 100 ms = 700 ms
So a single dash is exactly three times the length of a dot, the silence between two letters is exactly three dot-units long, and the silence between two words is exactly seven dot-units long. A translator that respects these ratios produces output that a trained ear can copy at speed, which is why the same timings drive the audio playback in the Morse Code Translator at roughly 15 words per minute. For a deeper walk-through of the listening side, the guide on translating text into Morse sound shows how to use that playback for ear training.
How to Translate Text to and From Morse
Using a Morse code translator is a three-step task regardless of which direction you need.
- Pick a direction. Keep Text → Morse to encode, or press the swap button (⇄) to switch to Morse → Text and decode. The same input box is reused, so you do not need a separate page.
- Type or paste your message into the input box. The conversion updates instantly as you type — every keystroke re-runs the table lookup, so there is no separate submit button or batch step.
- Copy the result with one click, or press Play sound to hear the Morse code rendered as authentic dot-and-dash tones at the standard timing ratios.
Because the conversion is bidirectional, you can paste in something you suspect is Morse and immediately check whether it decodes to readable English, or flip directions mid-session to verify a phrase you just encoded. The output follows the standard written convention: dots and dashes within a letter run together, letters are separated by a single space, and words are separated by a slash surrounded by spaces ( / ).
What Common Characters Look Like in Morse
Although the full International Morse table covers 54 characters, a few patterns are worth memorizing because they appear constantly. The table below lists some of the most common symbols and their official dot-and-dash sequences under ITU-R M.1677-1.
| Character | Morse code |
|---|---|
| A | .- |
| B | -... |
| C | -.-. |
| S (as in SOS) | ... |
| O (as in SOS) | --- |
| 1 | .---- |
| 0 | ----- |
| Period (.) | .-.-.- |
| Question mark (?) | ..--.. |
| @ | .--.-. |
The most famous sequence of all is SOS, encoded as ...---... . It was adopted in 1906 not because the letters stand for "Save Our Souls" — that phrase is a later backronym — but because ...---... is short, unmistakable, and perfectly symmetrical, making it impossible to confuse even in heavy interference. Typing SOS in the input box and pressing play is a quick way to hear why the pattern cuts through noise so well.
Why Decoding Stays in Sync With Encoding
One subtle design choice that separates a reliable translator from a brittle one is how it handles the reverse lookup. A naive approach would maintain two separate tables — one for encoding, one for decoding — and risk the two drifting out of agreement over time. A more disciplined approach, and the one used by the Morse Code Translator, generates the decode table programmatically from the single forward table. That guarantees the two directions cannot disagree: if .- encodes A, then .- will always decode to A.
For the audio side, the same discipline applies to timing. The translator renders each dot, dash, and gap as a fixed number of samples at 600 Hz, with the dash always three times longer than a dot, the intra-letter gap equal to one dot, the inter-letter gap equal to three dots, and the inter-word gap equal to seven dots. With those ratios locked in, the resulting tone bursts match what a ham radio operator would hear on the air, and they form a stable reference for ear-training practice.
Where a Morse Code Translator Is Useful
Morse code is no longer the backbone of long-distance communication, but it keeps a quiet presence in several modern contexts where a translator earns its keep:
- Amateur radio licensing. Many countries still require candidates to demonstrate Morse proficiency at low speeds, so a translator doubles as a study aid.
- Aviation and maritime beacons. Non-directional beacons and certain maritime identifiers transmit their identity in Morse, which a pilot or operator can read by ear.
- Accessibility and signaling. Two simple signals (tap and tap-tap, flash and flash-flash) can carry any of 54 characters, which makes Morse useful for emergency signaling and for assistive devices.
- Learning and puzzles. Ciphers, escape rooms, and scout activities still use Morse as a friendly introduction to encoding.
- General curiosity. Translating a name or favorite phrase into dots and dashes and then listening to it played back is a fast way to feel how the rhythm works.
For any of those tasks the Morse Code Translator handles both the encoding and the listening side in the same interface, runs entirely client-side, requires no signup, and continues to work offline once the page has loaded — which is why so many learners keep it bookmarked alongside their practice notes.
For a deeper look, see Char Code Lookup on Windows: Show Every Scalar Value.