ToolJutsu
All tools
Text Tools

Morse Code Translator

Translate between text and Morse code.

Morse code reference table
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.
A.-
B-...
C-.-.
D-..
E.
F..-.
G--.
H....
I..
J.---
K-.-
L.-..
M--
N-.
O---
P.--.
Q--.-
R.-.
S...
T-
U..-
V...-
W.--
X-..-
Y-.--
Z--..
..-.-.-
,--..--
?..--..
'.----.
!-.-.--
/-..-.
(-.--.
)-.--.-
&.-...
:---...
;-.-.-.
=-...-
+.-.-.
--....-
_..--.-
".-..-.
$...-..-
@.--.-.
Processed on your device. We never see your files.

How to use Morse Code Translator

What this tool does

The Morse Code Translator converts text to International Morse Code and back again in real time, and it plays the Morse as actual audio tones through the browser’s Web Audio API. Switch the toggle to choose your direction: Text → Morse renders each letter as its dot-and-dash sequence, with letters separated by spaces and words separated by /. Morse → Text reverses the process, mapping each symbol back to its character and reconstructing the original words.

The built-in audio player follows standard Morse timing: a dot is the base unit, a dash is three dots long, the gap between symbols within a letter equals one dot, the gap between letters is three dots, and the gap between words is seven dots. The oscillator runs at 700 Hz, the tone most commonly used in radio amateur practice. A reference table at the bottom of the tool lists every supported character alongside its Morse sequence.

Why you might need it

Morse Code is still actively used by amateur radio operators worldwide, and licensing exams in many countries test Morse reading and copying speed. Students studying for those exams use translators to check their encoding, generate practice material, and train their ear against the audio output. The audio feature is particularly useful: listening to a word being played and then looking up each character builds the kind of direct recognition that makes on-air reception possible.

Beyond amateur radio, Morse appears in puzzle design, escape rooms, and accessibility contexts. Emergency situations occasionally call for improvised Morse signalling — long and short flashes of a light, for example. Having a translator available means you can verify a message before sending it rather than hoping you remembered the sequences correctly.

How to use it

  1. Select Text → Morse or Morse → Text using the toggle.
  2. Type or paste your input into the text area.
  3. The output updates instantly as you type — no submit button needed.
  4. Click Play audio to hear the Morse tones; click Stop audio to halt playback at any time.
  5. Use Copy output to grab the result, Clear to reset, or Load sample to drop in a short example.
  6. Expand the Morse code reference table at the bottom to look up any character’s sequence.

Common pitfalls

In the Morse → Text direction, word separation requires / (space, slash, space) between words. If you paste Morse that uses a different separator — a double space, a pipe, or a vertical bar — the decoder will not recognise the word boundaries and will treat everything as one long word. Edit the separators to match the standard format before decoding.

Characters not in the Morse alphabet — emoji, accented letters, CJK characters — are silently skipped in the Text → Morse direction, so the output may be shorter than you expect. The unknown-sequence error in the Morse → Text direction means the input contains a dots-and-dashes pattern that does not correspond to any standard character; a typo that added or removed a dot or dash is the most common cause.

Tips and advanced use

Use the audio playback as a learning aid rather than just a verification step. Type a single word, listen to its Morse, then try to tap it out. Gradually increase the length and let your ear start associating patterns with letters before your eyes have a chance to look them up. This is the technique used by most successful Morse learners.

For puzzle creation or escape room design, the text-to-Morse direction produces clean output that can be printed, flashed with a torch, tapped on a surface, or embedded in an audio file. The reference table at the bottom of the tool means players can solve the puzzle without any prior Morse knowledge as long as they can find and read the table. Because the tool runs entirely in your browser, it works offline once the page is loaded, which is useful in venues where reliable internet access is not guaranteed.

Frequently asked questions

Does this tool send my text anywhere?
No. Every conversion and every audio beep happens inside your browser. The translation runs with JavaScript string operations, and the audio is generated by the Web Audio API — a built-in browser feature that requires no server. Nothing you type is transmitted or stored.
How does the audio playback work?
Clicking 'Play audio' creates a Web Audio API oscillator at 700 Hz — the standard tone used in Morse practice. Dots play for a short pulse and dashes play for three times as long, following the standard timing ratios. Gaps between elements, letters, and words are sized correctly relative to the dot length. The AudioContext is closed and released as soon as playback finishes or you click 'Stop audio'.
Which characters can be translated?
The tool covers the full ITU-R International Morse Code alphabet: the 26 Latin letters, digits 0–9, and a standard set of punctuation marks including period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign, and at-sign. Characters outside this set are silently dropped in the Text → Morse direction.
How are words separated in Morse output?
Letters within a word are separated by a single space, and words are separated by a forward slash with spaces on each side: ' / '. This is the standard international convention for written Morse. When decoding, the tool splits on ' / ' to recover word boundaries.
Is Morse Code a form of encryption?
No. Morse Code is simply an encoding — a way of representing characters as sequences of short and long signals. It provides no secrecy whatsoever; anyone who knows the standard alphabet can read Morse as easily as plain text. It was designed for reliable radio transmission over noisy channels, not for hiding information.

Related tools