ToolBox.Online

Morse Code Translator — Convert Text to Morse Code Online [2026]

Convert text to Morse code and Morse code to text instantly. Listen to the audio playback of any Morse message. Includes a full Morse code alphabet chart. Free, browser-based, no signup required.

Result will appear here...

Morse Code Reference Chart

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----.

What is Morse Code Translator?

Morse code is a character-encoding system that represents letters, numbers, and punctuation as sequences of short signals (dots) and long signals (dashes). Invented by Samuel Morse and Alfred Vail in the 1830s for use with the electric telegraph, it became the primary method of long-distance communication for over a century. In International Morse Code, each letter of the English alphabet maps to a unique combination of dots and dashes. For example, "A" is "·−", "B" is "−···", and "SOS" — the universal distress signal — is "··· −−− ···". Letters are separated by spaces, and words are separated by a larger gap (represented here with a forward slash "/"). Although Morse code has been largely replaced by modern digital communication, it remains relevant in amateur (ham) radio, aviation, accessibility tools, and educational contexts. Many people also enjoy Morse code as a hobby or use it in escape rooms, geocaching, and puzzle challenges.

How to Use Morse Code Translator

Type or paste your text in the input field and the Morse code translation appears instantly below. Switch to "Morse to Text" mode to decode Morse code back to plain text — use dots (.), dashes (-), spaces between letters, and forward slashes (/) between words. Click the speaker button to hear an audio playback of the Morse code using realistic beep tones. Use the copy button to copy the result to your clipboard. Scroll down to view the full Morse code alphabet and number reference chart.

How Morse Code Translator Works

The translator uses a lookup table mapping each character (A-Z, 0-9, common punctuation) to its International Morse Code equivalent. **Text → Morse:** Each character in the input is converted to its Morse representation. Letters within a word are separated by a single space, and words are separated by " / " (space-slash-space). Characters without a Morse mapping are skipped. **Morse → Text:** The input is split by " / " to identify words, then by spaces to identify individual letters. Each dot-dash sequence is looked up in a reverse table to find the original character. **Audio Playback:** Uses the Web Audio API to generate sine-wave beep tones. A dot is a short beep (~100ms), a dash is a longer beep (~300ms). Gaps between elements (~100ms), letters (~300ms), and words (~700ms) follow standard Morse timing ratios.

Common Use Cases

  • Learning Morse code for amateur (ham) radio licensing exams
  • Encoding secret or fun messages for friends, games, and puzzles
  • Accessibility communication for users with limited mobility
  • Educational projects teaching telecommunications history
  • Sending Morse signals via flashlight, sound, or vibration in emergency situations
  • Decoding Morse messages found in escape rooms, geocaches, or ARGs

Frequently Asked Questions

What is the International Morse Code standard?

International Morse Code is the most widely used variant, standardized by the International Telecommunication Union (ITU). It assigns unique dot-dash combinations to all 26 English letters, digits 0-9, and several punctuation marks. It superseded the original American Morse Code, which used spaces within characters.

How do I separate letters and words in Morse code?

In written Morse code, individual dots and dashes within a letter have no separator. Letters are separated by a space, and words are separated by a forward slash (/) or a wider gap. In audio Morse, the timing ratios are: 1 unit between elements, 3 units between letters, and 7 units between words.

What does SOS look like in Morse code?

SOS in Morse code is "··· −−− ···" — three dots, three dashes, three dots. It was chosen as the international distress signal because it is easy to recognize and transmit, not because it stands for "Save Our Souls" (that is a backronym).

Can this tool play Morse code as audio?

Yes! Click the speaker/play button after translating text to Morse. The tool uses the Web Audio API to generate beep tones directly in your browser — a short beep for dots and a longer beep for dashes, with proper timing gaps between letters and words.

Does this translator support numbers and punctuation?

Yes. The translator supports all 26 English letters (A-Z), all 10 digits (0-9), and common punctuation marks including period, comma, question mark, exclamation mark, apostrophe, and forward slash.

Is my data safe when using this Morse code translator?

Absolutely. All translation happens entirely in your browser using JavaScript. No text is sent to any server, no data is stored, and no cookies are used for tracking your input. Your messages remain completely private.

Related Tools