Konverter Kode Morse

Encode teks ke Morse dan decode Morse ke teks. Standar internasional. Tanpa unggah ke server.

Lihat panduan

Panduan

What does this tool do

The Morse Code Converter encodes plain text to International Morse code (dots and dashes) and decodes Morse back to text. Type or paste any supported text to get its Morse representation, or paste Morse code to recover the original message. Supports optional slash (/) between words for readability. All processing runs in your browser—no server upload.

How to use it

  1. Choose mode — Switch between Text → Morse (encode) and Morse → Text (decode).
  2. Set word separator (encode only) — Choose "Slash between words" for clear word boundaries (/), or "Single space only" for spaces between letters and words.
  3. Enter input — For encode: type or paste text (A–Z, 0–9, and supported punctuation). For decode: paste Morse code (dots ., dashes -, spaces between letters, / or | between words).
  4. View output — The result appears after clicking Convert. Invalid Morse or unsupported characters show an error.
  5. Copy — Use the copy button to copy the output to the clipboard.

How it works

Encode: Each character is looked up in the International Morse code chart. Letters are uppercased. Spaces in the input separate words; within words, each letter is converted to its dot-dash sequence. Letters are separated by spaces; words can be separated by a single space or by / depending on the option. Unsupported characters (e.g., accented letters, emoji) return an error. Decode: The input is split on / or | for word boundaries, then each token is split on spaces into letter sequences. Each sequence of dots and dashes is looked up and converted to a character. Invalid sequences (wrong characters, unknown Morse) return an error. Input is limited to 500KB to avoid heavy main-thread work.

All computation runs entirely in your browser. No data is sent to any server.

Use cases & examples

  • Learning — Understand how Morse code represents letters and numbers.
  • Emergency — Know how to signal SOS (... --- ...) and other distress codes.
  • Amateur radio — Practice or verify Morse transmissions.
  • Education — Teach telegraph history and encoding schemes.
  • Fun — Encode secret messages or decode Morse from movies and games.

Example

  • Encode Hello.... . .-.. .-.. --- (with space between letters)
  • Encode SOS... --- ...
  • Encode Hi there (with slash) → .... .. / - .... . .-. .
  • Decode .... . .-.. .-.. ---HELLO
  • Decode ... --- ...SOS

Limitations & known constraints

  • Input size — Maximum ~500KB (512,000 characters) to prevent browser slowdown.
  • Character set — International Morse supports A–Z, 0–9, and limited punctuation. Accented characters (é, ñ, ü), emoji, and CJK are not supported.
  • Case — Decoded text is uppercased; Morse does not distinguish lower and upper case.

FAQ

What is Morse code?
Morse code is a method of encoding text as a series of dots (.) and dashes (-). Each letter, digit, and common punctuation has a unique sequence. It was developed for telegraph communication and is still used today in aviation, amateur radio, and emergency signaling (e.g., SOS).
How do I signal SOS in Morse code?
SOS in Morse code is ... --- ... (three dots, three dashes, three dots). It is the international distress signal and is easy to recognize even in poor conditions.
What characters does the Morse Code Converter support?
The tool supports letters A-Z, digits 0-9, and common punctuation including period, comma, question mark, exclamation mark, slash, parentheses, colon, semicolon, equals, plus, minus, underscore, quotes, and a few others. International Morse uses Latin characters only.

Semua perhitungan dan konversi berjalan sepenuhnya di browser Anda. Tidak ada data yang dikirim ke server mana pun, sehingga input Anda tidak pernah meninggalkan perangkat.