InstantTools.siteZero Latency Utilities
text Tool
100% In-Memory (Zero Server Upload)

Morse Code Encoder & Decoder

Convert text to Morse and back, check the alphabet against a reference table, and play the dots and dashes as audio.

Plain text

Letters and digits are supported; punctuation is limited to the common symbols listed below.

Direction

Morse output

Type a message to convert it to morse code, or paste morse code to decode it back into text. When the result is valid morse you can play it as beeps built from the Web Audio API — no audio files are loaded and nothing is uploaded.

Morse reference table (55 characters)

Letters & digits

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--..
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.

Punctuation

..-.-.-
,--..--
?..--..
!-.-.--
'.----.
".-..-.
(-.--.
)-.--.-
&.-...
:---...
;-.-.-.
=-...-
+.-.-.
--....-
_..--.-
$...-..-
@.--.-.
/-..-.
\-...-.

How the conversion and the tones work

Text becomes morse with a single space between letters and / between words. Decoding is tolerant: · is read as a dot, − and _ as a dash, and anything unrecognised is reported with the exact character or sequence that failed instead of being silently dropped.

Timing: dot = 1 unit, dash = 3 units, gap inside a letter = 1 unit, gap between letters = 3 units, gap between words = 7 units — the standard proportions. A tone is generated with an oscillator and a gain envelope in your browser; no audio file is downloaded. If your browser has no Web Audio support, the Play button says so and the text conversion carries on working.

Morse was designed for telegraphy, not for modern radio, so it is a historical encoding rather than anything secure. It is trivially decoded — useful for puzzles, ham radio practice and nostalgia, never for hiding a message.

About Morse Code Encoder & Decoder

Work in both directions with the full standard alphabet, digits and common punctuation. Encode a message and see the dots, dashes and word separators, or paste a Morse sequence to decode it, with a clear message naming the exact character that is wrong. The result can be played as sound using the Web Audio API, with dot and dash lengths following the standard unit timing, so you can check a sequence by ear. The complete character table is on the page for reference.

Key Features & Privacy Guarantee

  • Zero server transmission: all computation happens instantly in your local browser runtime.
  • No sign-up, no subscriptions, and no usage quotas.
  • Optimized for maximum speed, accuracy, and lightweight performance.
  • Instant one-click clipboard copying.

Frequently Asked Questions

Common questions and helpful answers about this utility.

Each letter may contain only dots and dashes, and every run between them must be one, three or seven units long. The tool names the exact character that breaks the pattern.