摩斯电码转换器

将文本转换为摩斯电码,或将摩斯电码解码为文本。支持字母、数字和常用标点。

明文0 字符
摩斯电码对照表
字符电码字符电码
A.-S...
B-...T-
C-.-.U..-
D-..V...-
E.W.--
F..-.X-..-
G--.Y-.--
H....Z--..
I..
J.---
K-.-
L.-..
M--
N-.
O---
P.--.
Q--.-
R.-.

What Is Morse Code?

Morse code is a character-encoding scheme that represents letters, numbers, and punctuation using sequences of dots (.) and dashes (-). Developed in the 1830s by Samuel Morse and Alfred Vail for electric telegraph systems, Morse code became the dominant communication protocol for wireless radio and maritime communication throughout the 20th century. Each character maps to a unique combination of short signals (dots) and long signals (dashes), with spaces separating individual characters and words.

This Morse code converter supports the full International Morse Code standard, covering all 26 letters, digits 0–9, and common punctuation characters. It is useful for learning Morse code, verifying encoded messages, ham radio study, and puzzle-solving.

How to Use the Morse Code Converter

  1. Select Encode to convert plain text to Morse code, or Decode to convert Morse code back to text.
  2. Paste or type your input into the text area.
  3. The converted output appears immediately below.
  4. Click Swap to reverse the direction, or Copy to copy the result.
  5. Expand the Morse Reference table at the bottom to see the full character mapping.

Decoding tip: separate letters with a single space and words with / or three spaces. Example: .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Features

  • Encode plain text to International Morse Code
  • Decode Morse code back to plain text
  • Supports letters A–Z, digits 0–9, and common punctuation
  • Word separator: slash (/) or three spaces
  • Expandable reference table with full character map
  • Swap output back to input for chained conversions
  • Runs entirely in your browser — no data uploaded

FAQ

What is Morse code?

Morse code is a character-encoding scheme that represents letters, numbers, and punctuation as sequences of dots (.) and dashes (-). Developed in the 1830s by Samuel Morse and Alfred Vail, it was widely used in telegraphy and radio communication. Each character maps to a unique combination of short and long signals.

How do I decode Morse code?

Paste your Morse code into the input field after selecting the Decode tab. Separate letters with a single space and words with a slash (/) or three spaces. The converter outputs the decoded plain text instantly.

What characters does this Morse code converter support?

This tool supports the full International Morse Code alphabet: all 26 letters (A–Z), digits 0–9, and common punctuation marks including period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, colon, equals sign, plus, hyphen, at sign, and more.

Is SOS a real Morse code signal?

Yes. SOS (··· --- ···) is an internationally recognized distress signal chosen because the pattern is easy to recognize and transmit. Type SOS in the encode field to see its Morse representation: ... --- ...