Skip to content
T
Tools.Town
Free Online Tools for Everyone
··· ---

Text to Morse Code

100% Free

Convert text to international Morse code and back. Live per-character translation with audio-ready dot/dash output.

Encode & Decode
ITU Standard
Instant
Private
Direction
Word separator

1 word · 3 chars

S...
O---
S...
Morse Code Reference (A–Z, 0–9)
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--..

Embed This Tool

Easy to Embed

Add Text to Morse Code to your website or blog in seconds.

  • Responsive design
  • Lightweight & fast
  • No backend required
  • Always up-to-date
<iframe
  src="https://tools.town/embed/text-to-morse/"
  width="100%"
  height="600"
  style="border:none; border-radius:12px;"
  loading="lazy"
  title="Text to Morse Code">
</iframe>

Share This Tool

Share Instantly

Share Text to Morse Code with anyone — no login required.

  • Shareable link
  • No login required
  • Works on any device
  • No account needed

Share via

Advertisement

How to Use

  1. 1 Choose direction: 'Text → Morse' to encode, or 'Morse → Text' to decode
  2. 2 Type or paste your input — the tool accepts A–Z, 0–9, and common punctuation
  3. 3 Select a word separator style (slash /, pipe |, or newline)
  4. 4 See the Morse code output and per-character translation grid instantly
  5. 5 Use the quick-example buttons (SOS, Hello, etc.) to explore without typing
  6. 6 Click 'Copy output' or 'Swap & flip' to reverse the direction

Features

  • Supports the full ITU international Morse alphabet: A–Z, 0–9, and 20+ punctuation marks
  • Bidirectional: encode text to Morse or decode Morse dots and dashes back to text
  • Three word-separator styles (slash, pipe, newline) to match your preferred notation
  • Per-character translation grid showing the Morse code for each letter instantly
  • Unknown character detection — flags any character without a Morse equivalent
  • Built-in reference table for all 36 letters and digits

Why it Matters

Morse code was the first digital communication system — each character encoded as a pattern of short and long signals transmitted over telegraph wires or radio. It remained the primary long-distance communication method for nearly a century and is still used in aviation, amateur radio, and emergency signalling. SOS (... --- ...) is the most recognized distress signal worldwide. Learning Morse is a fun gateway to understanding how information can be encoded and decoded in any medium.

★★★★★

Use Cases

Emergency Reference

Learn or look up SOS and other emergency signals quickly

Amateur Radio (Ham)

Practice CW (continuous wave) Morse for ham radio licence exams

Puzzles & Ciphers

Encode secret messages in Morse for escape rooms or classroom activities

CS & Signal Theory

Illustrate variable-length encoding as a real-world example of entropy coding

From telegraph to modern encoding

Morse code was invented by Samuel Morse and Alfred Vail in the 1830s for telegraph communication. Each letter or digit is represented by a unique combination of dots (·) and dashes (−), transmitted as short and long signals. The space between symbols, letters, and words carries meaning too.

How the encoding works

Frequent letters get short codes: E is just a single dot (·), T is a single dash (−). Less frequent letters get longer codes: Q is (−−·−). This is an early example of variable-length encoding — the same principle used in Huffman compression.

Decode direction

Paste Morse code using dots and dashes (. and -) separated by spaces. Use / or | to separate words. The tool reconstructs the original text character by character.

Privacy

Everything runs in your browser. Nothing you type is sent to a server.

Frequently Asked Questions

What is SOS in Morse code?
SOS is ... --- ... (three dots, three dashes, three dots). It was chosen as an international distress signal precisely because it is easy to remember and transmit — three of each symbol with no ambiguity about the word boundary.
How do I separate words in Morse code?
Individual letters within a word are separated by a short gap (one dash-length). Words are separated by a longer gap (three dash-lengths). In text notation this is commonly represented by a slash / or pipe | between words. This tool defaults to slash ( / ) but you can switch to pipe or newline.
Can this tool play the Morse code as audio?
Audio playback is on the roadmap. Currently the tool focuses on the text conversion and reference table. You can copy the output and use a dedicated Morse code player app to hear it.
Are all languages supported?
This tool implements ITU International Morse Code (sometimes called American Morse or Continental Morse) which covers A–Z in the Latin alphabet plus digits 0–9 and common punctuation. Characters not in the Morse table are flagged as unknown. Extended Morse for other scripts (Japanese Wabun, Arabic, etc.) is not currently included.
What punctuation is supported?
Period (.), comma (,), question mark (?), apostrophe ('), exclamation (!), slash (/), parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, double-quote, dollar sign, and at-sign (@) all have standard Morse representations included in this tool.

Related Tools You Might Like

Browse more free tools