Morse Code Converter
Encode text as Morse code or decode Morse back to text
Morse Code Converter — what it does
Encode letters and numbers into Morse code, or decode dots and dashes back into text. The standard international alphabet is used, so what comes out matches what any Morse reference, radio operator or signalling handbook expects.
Worked example
A short message encoded with the Encode button. Letters are converted regardless of case and words are separated by a slash.
Input — text
Meeting at 09:30, room B
Output — Morse code
-- . . - .. -. --. / .- - / ----- ----. : ...-- ----- --..-- / .-. --- --- -- / -...
The colon has no entry in the tool's table and is passed through unchanged, while the comma becomes --..-- .
When this tool helps
- Learning or practising Morse code by checking your own encoding and decoding.
- Decoding a Morse sequence found in a puzzle, game or piece of fiction.
- Preparing a message for a light or sound signalling exercise.
How to use it
- Paste the text or the Morse sequence.
- Choose encode or decode.
- Read the output.
- Copy the result.
Accuracy, limits, and good practice
- Spacing carries meaning: one space separates letters and a longer gap separates words, so decoding fails when the spacing is inconsistent.
- Morse has no case, so decoded output is plain letters — capitalisation cannot be recovered because it was never encoded.
- SOS is three dots, three dashes, three dots, sent as one continuous signal without letter gaps.
- Rhythm is what operators actually key: a dash is held three times as long as a dot, and the gap between letters is three dots long.
Frequently asked questions
Does it handle punctuation?
The international standard covers letters, digits and a set of punctuation marks; anything outside that set has no Morse equivalent.
Why does my decode come out as nonsense?
Almost always spacing. Check that letters are separated by single spaces and words by a clear, larger gap.
Is Morse still used?
Amateur radio operators still use it daily, and it remains a fallback for low-bandwidth or degraded signalling conditions.
How fast is Morse sent?
Speed is measured in words per minute against the standard word PARIS. Casual amateur traffic sits around 15 to 25 words per minute.
How must Morse be spaced for Decode to work?
One or more spaces between letter codes and a slash between words (spaces around the slash are optional). Any group that does not match the table — because of a typo or two letters run together without a space — comes out as a question mark. For example ... --- ... / -.. . .-.. .- -.-- . -.. decodes to SOS DELAYED.
Can I encode several lines at once?
Line breaks are kept as line breaks in the output but are not treated as word gaps: only spaces produce the slash separator. If each line should become a separate word, join the lines with spaces first. The table covers A–Z, 0–9 and the four marks . , ? ! — any other character is copied through as-is.
Related tools on this site
- Unicode Escape Converter — Encode text as Unicode escapes or decode escape sequences
- CSS Box Shadow Generator — Design a box shadow visually and copy production-ready CSS
- JavaScript Formatter & Minifier — Beautify, validate, or minify JavaScript code in the browser
Further reading: Cleaning Up Text You Pasted From Somewhere Else
Everything above runs inside this page. Morse Code Converter needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
摩斯密碼轉換器能做什麼
把字母與數字編碼成摩斯密碼,或把點與劃解碼回文字。採用國際標準字母表,因此輸出與任何摩斯對照表、無線電操作員或訊號手冊所預期的一致。
實際範例
一則短訊息按「編碼」轉成摩斯電碼。字母不分大小寫一律轉換,單字之間以斜線隔開。
來源:文字
Meeting at 09:30, room B
轉換後:摩斯電碼
-- . . - .. -. --. / .- - / ----- ----. : ...-- ----- --..-- / .-. --- --- -- / -...
冒號不在工具的對照表裡,會原樣保留;逗號則變成 --..-- 。
什麼時候用得上
- 學習或練習摩斯密碼,核對自己的編碼與解碼。
- 解讀謎題、遊戲或小說中出現的摩斯序列。
- 為燈光或聲音訊號練習準備訊息。
使用步驟
- 貼上文字或摩斯序列。
- 選擇編碼或解碼。
- 查看輸出。
- 複製結果。
精確度、限制與實務建議
- 間隔本身帶有意義:一個空格分隔字母、較長的間隔分隔單字,間隔不一致就會解碼失敗。
- 摩斯沒有大小寫,解碼輸出是純字母——大小寫從未被編碼,自然無法還原。
- SOS 是三點三劃三點,作為單一連續訊號發送,字母之間不留間隔。
- 報務員實際敲的是節奏:劃的長度是點的三倍,字母之間的間隔則相當於三個點。
常見問題
支援標點符號嗎?
國際標準涵蓋字母、數字與一組標點;不在其中的字元沒有對應的摩斯編碼。
為什麼解碼出來是亂的?
幾乎都是間隔問題。請確認字母以單一空格分隔、單字之間留有明顯較大的間隔。
摩斯密碼還有人用嗎?
業餘無線電玩家每天都在用,在低頻寬或訊號劣化的情況下它也仍是備援手段。
摩斯發報有多快?
速度以每分鐘字數計算,基準字是 PARIS。業餘通聯一般落在每分鐘 15 到 25 字。
解碼時摩斯電碼要怎麼分隔才能正確還原?
字母代碼之間放一個以上的空格,單字之間放斜線(斜線前後有沒有空格都可以)。對照表裡找不到的代碼群,不論是打錯或兩個字母之間漏了空格,都會變成問號。例如 ... --- ... / -.. . .-.. .- -.-- . -.. 會解成 SOS DELAYED。
可以一次編碼好幾行嗎?
換行會在轉換後的文字裡保留為換行,但不會被當成單字間隔:只有空格會產生斜線分隔。若希望每一行各自成為一個單字,請先把各行以空格接起來。對照表涵蓋 A–Z、0–9 與 . , ? ! 四個符號,其他字元會原樣照抄。
本站相關工具
- Unicode 跳脫字元轉換 — 將文字編碼為 Unicode 跳脫字元或進行解碼
- CSS 陰影生成器 — 以視覺方式設計方塊陰影並複製 CSS
- JavaScript 格式化與壓縮 — 在瀏覽器中美化、驗證或壓縮 JavaScript 程式碼
延伸閱讀: 清理從別處貼上的文字
以上步驟全部在這個頁面內完成,摩斯密碼轉換器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。