📡 Morse Code Converter

Ad Space - Top (728×90)

Input Text

Result

Result will appear here...
Ad Space - Middle (728×90)

🔊 Audio Playback & Flash Demo

20 700

Morse Code Reference Table

How to Use

This Morse code converter is simple to use yet feature-rich. Here's a detailed guide:

Text to Morse Code: Enter your text in the input box (supports English letters A-Z, numbers 0-9, and common punctuation). Click the "Encode → Morse" button to instantly convert the text to Morse code. Each letter is separated by a space, and words are separated by a slash (/). For example, entering "HELLO" produces ".... / . / .-.. / .-.. / ---" (with timing marks enabled).

Morse Code to Text: Paste Morse code into the input box using dots (· or .) for short signals and dashes (− or -) for long signals. Letters should be separated by spaces. Click the "Decode ← Morse" button to convert back to plain text. The tool automatically recognizes both Unicode and ASCII dot/dash characters.

Audio Playback: After conversion, click "Play Morse Code" to hear the code played through your speakers using the Web Audio API. Adjust the speed slider (WPM, words per minute) and tone frequency (Hz) to your preference. Speed ranges from 5-40 WPM—beginners should start at 10-15 WPM. Frequency ranges from 400-1200 Hz, with 700 Hz being the standard amateur radio tone.

Visual Flash Demo: During playback, the circular indicator in the center flashes yellow when a signal is active and returns to gray during silence. This simulates real-world flashlight or signal lamp Morse transmission, helping learners build the visual-auditory association. The blue progress bar at the bottom also syncs with the signal timing.

Quick Operations: Use "Swap" to exchange input and result, "Clear" to reset everything, "Copy Result" to copy to clipboard, and "Result to Input" to move the result to the input field for further processing.

Use Cases

The Morse code converter is valuable in many scenarios. Here are some typical use cases:

Amateur Radio (HAM) Practice: Amateur radio operators need to master Morse code (CW mode) for licensing and daily QSOs (contacts). This tool provides instant encoding/decoding and audio playback, making it an ideal training aid. Operators can verify their copied code, or pre-convert message drafts for practice transmission.

Emergency & Survival Situations: In extreme situations where communication devices fail, Morse code remains one of the most reliable backup communication methods. The SOS signal (... --- ...) can be transmitted via flashlight, whistle, tapping, or even waving. This tool helps users learn and memorize common emergency words (SOS, HELP, WATER) so they can act effectively when it matters most.

Cryptography & InfoSec Education: Morse code is a classic introduction to cryptography and communication encoding principles. Teachers can use this tool to demonstrate encoding processes in class, and students can train their auditory decoding skills with the audio playback feature. Understanding Morse code's binary-like short/long signal combinations provides a foundation for learning more complex encoding systems and information theory.

Military & Aviation History Research: Morse code played a critical role in military communications and aviation navigation for over a century. History enthusiasts and researchers can use this tool to decode and understand historical Morse records. Some legacy aviation beacons still transmit identification signals in Morse code, which aviation enthusiasts can interpret using this converter.

Extended Knowledge

Historical Origins: Morse code was invented by American painter and inventor Samuel Morse and his assistant Alfred Vail between 1836 and 1844. On May 24, 1844, the first Morse telegram was sent from Washington to Baltimore with the biblical quote "What hath God wrought." For nearly a century and a half, Morse code was the standard language of global telegraph communication.

International Morse Code Standard (ITU-R M.1677): The Morse code used today is standardized by the International Telecommunication Union (ITU). Each letter's encoding length was carefully designed: common letters (E, T, A, I, N) use shorter codes (1-2 symbols), while rare letters (Q, Z, X) use longer codes (4 symbols). This is an early implementation of Huffman coding principles, designed to minimize average transmission length.

Timing Rules: A "dot" duration is defined as one time unit (typically 0.05-0.1 seconds), and a "dash" equals three dots. The gap between dots and dashes within a letter is one dot duration; the gap between letters is three dots (one dash duration); the gap between words is seven dots. These strict timing rules ensure the receiver can correctly distinguish letter boundaries.

Morse Code in the Modern Era: Although digital communication has completely replaced Morse code in civilian use, it still lives in specialized fields. Annual "CW contests" in the global amateur radio community attract tens of thousands of participants. The U.S. Navy officially discontinued flashing-light Morse code only in 2015. Some emergency beacons (EPIRB) still transmit identification information in Morse code. Morse code also serves as an ideal introductory textbook for learning digital signal processing and communication principles.

Related Tools: This site also offers Base64 Encoder, Hex Converter, and Text Cipher tools, covering a complete toolchain from classical ciphers to modern encoding.

Frequently Asked Questions

Who invented Morse code?

Morse code was invented by American Samuel Morse and Alfred Vail in the 1830s, originally for telegraph communication. It uses combinations of short signals (dots) and long signals (dashes) to represent letters, numbers, and punctuation marks.

Is Morse code still useful today?

Despite modern communication technology, Morse code remains valuable in specific scenarios: radio call sign identification, emergency distress signals (SOS), backup military and aviation communication, and visual/audible signaling during outdoor adventures. Learning Morse code also helps understand fundamental communication encoding principles.

What's the difference between International and American Morse code?

International Morse Code (ITU standard) is the globally accepted standard used by most countries and organizations. American Morse Code (also known as landline telegraph code) is an early version with some character encodings differing from the international version. This tool uses the International Morse Code standard (ITU-R M.1677-1) to ensure interoperability with radio operators worldwide.

What does SOS mean in Morse code?

SOS is the internationally recognized distress signal, represented in Morse code as ... --- ... (three short, three long, three short). Importantly, SOS is not an acronym for any words—it was chosen because this pattern is easy to recognize and transmit, and was adopted by international radio convention as the distress signal.

How can I learn Morse code?

Follow these steps to learn Morse code effectively: 1) Memorize the alphabet mappings (start with common letters like E, T, A, N); 2) Use this tool's audio playback feature to train your auditory recognition; 3) Practice 15-20 minutes daily, gradually increasing decoding speed; 4) Try sending simple words using a flashlight or tapping method. With consistent practice, most people achieve 10-15 WPM within 2-4 weeks.

Does this tool support non-English characters?

This tool supports Morse code conversion for English letters A-Z, numbers 0-9, and common punctuation marks. Due to the vast number of characters in Chinese and other non-Latin scripts, there is no standardized Morse code table for them. To convert non-English content, first translate it to English or pinyin, then use this tool.

What is WPM and how should I set the speed?

WPM (Words Per Minute) measures Morse code transmission speed based on the standard test word "PARIS" (5 letters + space = 50 time units). 20 WPM means sending 20 "PARIS" words per minute. Beginners should start at 5-10 WPM, advancing to 20-30 WPM with practice. Professional radio operators can reach 40+ WPM.

Is my data sent to a server?

No. This tool runs entirely in your browser. All conversion and audio generation is performed locally by JavaScript. Your input never leaves your device, ensuring complete privacy.

Ad Space - Bottom (728×90)