Morse Code Translator

Convert text to Morse code or decode Morse back to text instantly. Play audio with adjustable speed, view visual dot/dash representations, and explore a complete reference chart. Supports A-Z, 0-9, and common punctuation. Everything runs in your browser.

Visual representation will appear here...
15 WPM

Morse Code Reference Chart

Complete Morse code alphabet with visual dot/dash patterns. Each character is shown with its Morse code equivalent.

How It Works

Instant Translation

Type or paste text and see the Morse code conversion update in real time. Switch between encode and decode modes with a single click. Auto-detection suggests the correct mode based on your input.

🔊

Audio Playback

Listen to your Morse code with the built-in audio player. Dots are short beeps, dashes are longer beeps, with proper timing between letters and words. Adjust speed from 5 to 40 WPM using the slider.

👁

Visual Display

See Morse code patterns as visual dots and dashes. Each dot is a circle, each dash is a line, with gaps between letters and words clearly marked. Perfect for learning and verification.

📚

Complete Reference

Browse the full Morse code alphabet including all 26 letters, numbers 0-9, and common punctuation marks. Each entry shows the character, its Morse code, and visual representation.

Understanding Morse Code

Morse code is a character encoding system that uses sequences of short signals (dots) and long signals (dashes) to represent letters, numbers, and punctuation. Invented in the 1830s by Samuel Morse and Alfred Vail for use with the telegraph, it became the world's first widely adopted digital communication protocol. Each character has a unique pattern: 'E' is a single dot (the most common letter gets the shortest code), 'T' is a single dash, 'A' is dot-dash, and so on.

How Morse Code Works

Morse code timing follows a strict ratio. A dash is three times as long as a dot. The gap between dots and dashes within a character equals one dot length. The gap between letters is three dot lengths, and the gap between words is seven dot lengths. This standardized timing allows operators to recognize patterns even at high speeds. Modern Morse code speed is measured in words per minute (WPM), where the word "PARIS" (including spaces) serves as the standard unit of measurement.

The International Morse Code

The version of Morse code used today is technically called International Morse Code or Continental Morse Code, which differs slightly from the original American Morse code. International Morse was standardized in the 1860s and uses only dots and dashes (no spaces within characters), making it more suitable for radio transmission. The distress signal SOS (... --- ...) was chosen because it's unmistakable: three dots, three dashes, three dots. The letters S and O were selected not because they stand for "Save Our Ship" (a backronym), but because the pattern is distinctive and easy to recognize.

Common Use Cases Today

Learning Morse Code

The traditional method of learning Morse code is the Koch method, where you start by learning two letters perfectly at full speed (usually 20 WPM), then gradually add more characters. This prevents the bad habit of consciously counting dots and dashes, which limits speed. Modern learners also use the Farnsworth method, where characters are sent at a high speed (20+ WPM) but with longer gaps between them, allowing time to process each one. With daily practice, most people can learn to recognize the entire alphabet in a few weeks and achieve conversational speed (15-20 WPM) within a few months.

Morse Code Timing Standards

The "PARIS" standard defines Morse code timing. The word "PARIS" (including the space after it) contains exactly 50 units: 10 dot-units within letters, 9 inter-symbol gaps, 4 inter-character gaps (3 units each = 12), and 1 inter-word gap (7 units), plus 19 actual signal units (dots and dashes). At a given speed, "PARIS" should take exactly 1 minute to send that many times. So at 15 WPM, one unit equals 1200ms / 15 / 50 = 1.6ms. Wait, that's incorrect math -- at 15 WPM, one unit is 1200ms / 15 = 80ms (since PARIS has 50 units and 15 words per minute means 15 × 50 = 750 units per minute, so 60000ms / 750 = 80ms per unit).

Frequently Asked Questions

What is Morse code?
Morse code is a character encoding method that represents letters, numbers, and punctuation using sequences of short signals (dots) and long signals (dashes). Invented by Samuel Morse and Alfred Vail in the 1830s for use with the telegraph, Morse code became the first widely adopted digital communication system. Each letter and number has a unique pattern: for example, 'A' is dot-dash (.-), 'S' is three dots (...), and 'O' is three dashes (---). The famous distress signal SOS is ...---... in Morse code.
How do I convert text to Morse code?
To convert text to Morse code using this tool, simply type or paste your text into the input field with Encode mode selected. The tool will instantly translate each character into its Morse code equivalent. Letters, numbers, and common punctuation marks are all supported. Each character is separated by a space, and word breaks are indicated by a forward slash (/). You can copy the result, play it as audio, or view the visual dot/dash representation.
How do I decode Morse code to text?
To decode Morse code back to text, switch to Decode mode and enter your Morse code in the input field. Use dots (.) and dashes (-) for the characters, separate each letter with a space, and use a forward slash (/) to indicate word breaks. For example, '.... . .-.. .-.. --- / .-- --- .-. .-.. -..' decodes to 'HELLO WORLD'. The tool will automatically detect if your input looks like Morse code and suggest switching modes.
Can I play Morse code audio?
Yes! This tool includes a built-in Morse code audio player using the Web Audio API. Click the 'Play Audio' button to hear your Morse code as beeping sounds. Dots are short beeps and dashes are longer beeps, with appropriate gaps between letters and words. You can adjust the playback speed using the WPM (words per minute) slider. The standard speed is 15 WPM, but you can increase it for faster playback or decrease it for learning purposes.
What characters are supported?
This Morse code translator supports all 26 English letters (A-Z), numbers 0-9, and common punctuation marks including period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, minus, underscore, quotation marks, dollar sign, and at sign. It also supports some international characters such as accented letters (À, Ä, Ç, É, Ñ, Ö, Ü, ß). All letters are converted to uppercase in the output.
Is Morse code still used today?
While Morse code is no longer the primary method of telecommunication, it is still used in several contexts. Amateur radio (ham radio) operators use Morse code (called CW for continuous wave) for long-distance communication, especially in contests and emergency situations. Aviation uses Morse code for radio navigation beacons (VOR and NDB stations). The maritime industry still recognizes the SOS distress signal. Morse code is also used in assistive technology for people with disabilities, and it remains popular among hobbyists, scouts, and those learning about the history of communication.
What is the standard timing for Morse code?
Morse code timing follows the 'PARIS' standard, where the word 'PARIS' (including spaces) takes exactly one unit of time at a given speed. A dot is one unit, a dash is three units, the gap between dots/dashes within a letter is one unit, the gap between letters is three units, and the gap between words is seven units. Speed is measured in words per minute (WPM). At 15 WPM, one unit equals 80 milliseconds. Professional operators typically work at 20-30 WPM, while beginners start around 5-10 WPM.
Is my data safe when using this tool?
Yes. This Morse code translator runs entirely in your browser using JavaScript. No data is sent to any server, stored, or logged. All conversion and audio playback operations happen locally on your device. You can verify this by disconnecting from the internet and confirming the tool still works. This makes it safe to use with any content you want to convert to or from Morse code.

Explore More Developer Tools

Check out our other free developer tools. Decode JWTs, format JSON, encode Base64, and more -- all from your browser with no sign-up required.

Base64 Encoder/Decoder →