Morse Code Converter

Encode text into Morse code or decode Morse code back to text. Play audio, watch the visual flasher, and browse the complete reference chart.

100% client-side — nothing leaves your browser
0 characters
0 symbols

Audio & Visual Playback

OFF
12 WPM

Pro Tips

  • Word separator: Use / surrounded by spaces to separate words in Morse code.
  • SOS signal: The famous SOS is ... --- ... (three dots, three dashes, three dots with no spaces between letters).
  • Learning tip: Start at a slower WPM speed and gradually increase as you learn to recognize patterns by sound.
  • Audio playback: Use the play button to hear the Morse code with a 600 Hz tone, and watch the visual flasher in sync.

Last updated: March 2026

How Morse Code Encoding Works

Morse code converts each character into a unique pattern of short signals (dots) and long signals (dashes). A dash is exactly three times the length of a dot. The gap between dots and dashes within a single letter equals one dot length, the gap between letters equals three dot lengths, and the gap between words equals seven dot lengths.

This timing structure is what makes Morse code work — even without seeing the individual dots and dashes written out, a trained listener can distinguish letters and words purely by the rhythm of the signal. The system was ingeniously designed so that the most common letters have the shortest codes, minimizing transmission time.

This converter handles the encoding and decoding process automatically. Type in either direction and the conversion happens in real time, with no delay or server round-trip needed.

Audio and Visual Features

Audio Playback. The built-in player uses the Web Audio API to generate a clean 600 Hz sine wave tone. Dots and dashes play at the correct timing ratios, with proper gaps between elements, letters, and words. Adjust the speed from 5 to 20 words per minute.

Visual Flasher. A circular indicator lights up in sync with the audio playback — bright yellow during active signals (dots and dashes) and dark during pauses. This simulates the light-based Morse code signaling used with flashlights, signal lamps, and maritime Aldis lamps.

Reference Chart. Expand the built-in chart to see every supported character and its Morse code equivalent. The chart covers all 26 letters, 10 digits, and common punctuation marks, organized in a clean grid for quick lookup.

Practical Uses for Morse Code

Amateur Radio. Ham radio operators worldwide still use Morse code (CW mode) for long-distance communication. Its narrow bandwidth and ability to cut through noise make it effective even with low-power transmitters.

Emergency Signaling. Morse code can be transmitted with a flashlight, mirror, whistle, or by tapping. The SOS signal (... --- ...) is recognized internationally and requires no equipment beyond a way to make short and long signals.

Accessibility. Morse code input methods are available on smartphones and assistive devices, allowing people with limited mobility to type using just two inputs (dot and dash). Google's Gboard keyboard includes a Morse code input mode for Android and iOS.

Understanding Morse Code Timing

Morse code speed is measured using the PARIS standard: the word "PARIS" contains exactly 50 dot-units, so transmitting it once takes one minute at 1 WPM. At 12 WPM (a comfortable learning speed), each dot lasts about 100 milliseconds.

The timing ratios are fixed: a dash is 3 dot-units, the gap between elements within a letter is 1 dot-unit, the gap between letters is 3 dot-units, and the gap between words is 7 dot-units. These proportions remain constant regardless of the overall speed.

Frequently Asked Questions

How do I convert text to Morse code?

Type or paste your text into the Text field on the left side of the converter. The Morse code equivalent appears instantly in the right field. Each letter is shown as a pattern of dots (.) and dashes (-), with spaces between letters and ' / ' between words.

How do I decode Morse code back to text?

Enter Morse code in the right field using dots (.) and dashes (-). Separate individual letters with a single space, and separate words with ' / ' (space-slash-space). The decoded text appears in the left field in real time as you type.

What audio frequency does the Morse code player use?

The player uses a 600 Hz sine wave, which is the standard sidetone frequency used by many amateur radio operators and Morse code practice tools. The Web Audio API generates the tone directly in your browser — no audio files are downloaded.

What is WPM and how does it affect playback?

WPM stands for words per minute, measured using the standard word 'PARIS' (50 dot-units). At 12 WPM, each dot lasts 100ms, a dash lasts 300ms, and the gap between words is 700ms. Lower WPM values make the playback slower and easier to follow for beginners.

Does this converter support all characters?

This converter supports all 26 English letters (A-Z), digits (0-9), and common punctuation marks including period, comma, question mark, exclamation mark, apostrophe, slash, parentheses, colon, semicolon, and more. Unsupported characters are silently skipped during conversion.

What is the difference between American and International Morse Code?

This tool uses International Morse Code (ITU standard), which is the universally accepted version. American Morse Code, used on early telegraph lines in the US, had different patterns for some letters and included spaces within characters. International Morse Code replaced it for virtually all uses by the early 20th century.

Related Tools