全球免费使用

摩尔斯电码翻译器:文本与摩尔斯电码互译

将文本翻译成包含字母、数字和标点的国际摩尔斯电码,或将点和划解码回文本。字母之间用空格分隔,单词之间用斜杠分隔。

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Morse code writes each letter, digit and some punctuation marks as a short sequence of dots and dashes. This translator converts text into International Morse code and decodes Morse back into text, for puzzles, scouting and amateur radio practice, escape rooms or just writing a message in dots and dashes.

使用方法

  1. Choose Text → Morse or Morse → text.
  2. Type or paste your text, or Morse code with one space between letters and a slash between words.
  3. Run it and copy or download the result.
  4. Check the list of characters with no Morse code, which are left out of the translation.

计算原理

Letters A to Z, digits 0 to 9 and common punctuation are looked up in the International Morse code table (ITU-R M.1677-1). Letters are case-insensitive, accented letters are written without their accent, and anything without a code, such as emoji, is reported. When decoding, a slash, a vertical bar or three or more spaces start a new word, and the middle dot and long dashes are accepted as dots and dashes.

International Morse code (ITU-R M.1677-1); letters separated by a space, words by /

计算示例

The distress signal SOS is ... --- ..., and the phrase SOS Help becomes ... --- ... / .... . .-.. .--. with a slash between the words. Pasting that line back in with Morse → text gives SOS HELP.

示例输入和结果

SOS = ... --- ...; HELP = .... . .-.. .--.

局限性

  • International Morse only; American (railroad) Morse and non-Latin alphabets are not supported.
  • Prosigns such as SK and AR are not handled as single signals.
  • Up to 5,000 characters of text.

最后更新:

常见问题

字母和单词如何分隔?

字母之间加一个空格,单词之间加一个斜杠,例如 .... .. / - .... . .-. . 表示 HI THERE。解码时,三个或更多空格也表示新单词。

为什么 SOS 在实际使用中没有间隔?

在无线电中,SOS 作为一个连续信号发送,但逐个字母写出来是 ... --- ...,本翻译器显示的就是这种形式。

常见问题

Is Morse code case-sensitive?

No. Upper and lower case letters have the same code, so decoded text is shown in capitals.

Can it play the code as sound?

No. The translator writes the code as text only.

Which punctuation is supported?

Period, comma, question mark, apostrophe, exclamation mark, slash, brackets, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign and at sign.

故障排除

It says Morse code can only contain dots and dashes.

Remove letters and other symbols from Morse input, and use spaces between letters and / between words.

Some letters decode as ?.

A sequence of dots and dashes did not match any character, often because two letters ran together without a space.

隐私 & 免费使用

我的输入会被保存吗?

你的数据只保留在此标签页中。我们不会收到你的文件、粘贴的文本或计算数值。

这个工具免费吗?

是的。无需注册或付费。

在浏览器中处理

推荐下一步