The Morse code translator below converts plain text into International Morse code and decodes Morse code back into readable letters and numbers, instantly and entirely in your browser. Type a sentence, and every letter, digit, and common punctuation mark is mapped to its correct sequence of dots and dashes; paste in Morse code, and the tool reverses the process to hand you back plain text. There is also a built-in audio player that beeps out the actual dot-dash-and-pause timing through the Web Audio API, so you can listen to a message the way an operator on a telegraph key or an amateur radio net would hear it.
Arb Digital built this Morse code translator as one of a growing set of free browser utilities for developers, students, and hobbyists β no installs, no ads blocking the workflow, no data leaving your machine. It supports the full AβZ alphabet, digits 0β9, and the punctuation marks most people actually need, plus configurable separators so the output matches whatever format your project, homework assignment, or ham radio study guide expects.
What This Morse Code Translator Does
At its core, this is a two-way Morse code converter. Choose "Text β Morse code" to encode any sentence you type, or "Morse code β Text" to decode a string of dots and dashes back into words. The translation happens character by character using the standard International Morse code table β the same table maintained by international telecommunication standards bodies β so output here matches what you'd get from a certified operator or a textbook reference. Because everything runs in JavaScript inside your own browser tab, there's no server round-trip, no upload, and no delay: results update as you type.
Beyond plain conversion, the tool includes an audio playback feature. Click "Play Morse Audio" and an oscillator built with the Web Audio API beeps out your translated message using correct relative dot, dash, and pause timing at the words-per-minute speed you choose. This is genuinely useful for practicing Morse code by ear rather than by eye β reading dots and dashes on a screen and recognizing the same pattern as a sound are different skills, and many people preparing for amateur radio licensing or simply learning Morse for fun need both.
How to Use the Morse Code Translator
- Pick a direction. Select "Text β Morse code" to encode, or "Morse code β Text" to decode. The input label updates to match.
- Type or paste your content. For text-to-Morse, type any sentence. For Morse-to-text, paste dots and dashes separated by spaces, with a slash or extra space between words.
- Adjust separators if needed. Some references use a single space between letters and a slash between words; others use pipes or triple spaces. Pick whichever matches your use case β a classroom worksheet, a coding challenge, or a ham radio logbook.
- Read the result. The translated output appears instantly in the highlighted box and the read-only text area below it, ready to copy.
- Copy the output. Click "Copy result" to copy the translation to your clipboard for pasting elsewhere.
- Listen to it. Set a words-per-minute speed and tone pitch, then click "Play Morse Audio" to hear your message beeped out with accurate timing.
Morse Code Timing: The Formula Behind the Sound
Morse code is built entirely from one base unit of time, conventionally called a "dit" length. Every other element is a multiple of that single unit: a dot (dit) lasts one unit, a dash (dah) lasts three units, the gap between dots and dashes within one letter is one unit, the gap between two letters is three units, and the gap between two words is seven units. This elegant ratio system is what makes Morse code decodable purely by ear β a trained listener doesn't need to see dots and dashes, only to perceive short and long sounds separated by short and long silences.
Speed is measured in words per minute (WPM), calibrated against a standard reference word (commonly "PARIS", which has a known, fixed number of dit-units). At higher WPM, the dit unit shrinks proportionally so every element gets faster while keeping the same 1:3:1:3:7 ratio. This tool calculates the dit length in milliseconds directly from your chosen WPM using that same PARIS-standard formula, which is why the audio playback sounds authentic rather than arbitrarily timed. For the full technical specification of these timing ratios and the history of the standard, the ITU-R M.1677 International Morse Code recommendation is the authoritative reference used worldwide.
Why Morse Code Still Matters
Samuel Morse and Alfred Vail developed the code in the 1830s and 1840s for the electric telegraph, and it later became the backbone of early radio communication because a simple on/off tone is far easier to transmit reliably over noisy, low-bandwidth channels than voice. Even today, Morse code (CW, for "continuous wave," in amateur radio jargon) remains popular among ham radio operators because it can punch through weak signals and interference where voice communication fails completely β a skilled CW operator can often maintain contact at power levels or distances where SSB voice would be unreadable.
Morse code also survives in aviation (VOR and NDB navigation beacons still identify themselves in Morse), maritime distress signaling (SOS β three dots, three dashes, three dots β remains globally recognized even outside radio contexts), and as an accessibility tool: some assistive technology lets users with severe motor impairments communicate by tapping Morse code through a single switch. Learning to encode and decode it, even casually, connects you to over 180 years of communication history.
Reading and Writing Morse by Hand
If you're learning Morse code rather than just converting a one-off message, a few practical habits help. Start with the highest-frequency letters in English β E (a single dot) and T (a single dash) β before moving to less common letters. Practice recognizing whole letter-sounds rather than counting individual dots and dashes; experienced operators hear "dit-dah" as the single sound "A," not as two separate beeps to be counted. Use this translator to check your own hand-decoded attempts: type what you think a sequence says, translate it to Morse, and compare against the original to catch mistakes.
Common characters and their codes, for quick reference:
- E = Β· T = β A = Β·β N = βΒ·
- S = Β·Β·Β· O = βββ (together, the SOS distress call: Β·Β·Β·βββΒ·Β·Β·)
- Numbers 1β9 follow a clean pattern: 1 = Β·ββββ, 5 = Β·Β·Β·Β·Β·, 9 = ββββΒ·, 0 = βββββ
- Period = Β·βΒ·βΒ·β Comma = ββΒ·Β·ββ Question mark = Β·Β·ββΒ·Β·
Arb Digital builds fast, high-converting websites, tools, and content β if your project needs custom browser-based utilities like this one, we can help.
Talk to Arb Digital All Free ToolsCommon Mistakes to Avoid
- Forgetting word gaps. When typing Morse manually to decode, using the same spacing between letters and words merges everything into one long unreadable string. Use a slash or extra space to mark word boundaries clearly.
- Mixing separator styles mid-string. Pick one letter separator and one word separator and stay consistent, or the decoder can misread boundaries.
- Assuming Morse covers every character. Standard International Morse code covers the Latin alphabet, digits, and common punctuation β it doesn't have native codes for arbitrary symbols like currency signs or non-Latin scripts. Unsupported characters are skipped and flagged rather than silently guessed.
- Confusing dit/dah ratio with real-world spacing. If you're timing Morse by hand (e.g., tapping a switch), remember the 1:3 dot-to-dash ratio β inconsistent timing is the most common reason hand-sent Morse becomes unreadable.
Prosigns and Special Morse Procedures
Beyond individual letters and digits, Morse code operators traditionally use "prosigns" β procedural signals sent as if they were single characters, formed by running two letters together without the usual inter-letter gap. The most famous is SOS itself, which despite popular belief is not an acronym for anything; it was chosen in 1906 specifically because Β·Β·Β·βββΒ·Β·Β· is simple, unmistakable, and hard to confuse with any other letter combination, even under poor signal conditions. Other common prosigns include AR (end of message), SK (end of contact, "silent key"), and BT (break, used like a paragraph break in a longer transmission). This translator focuses on straightforward character-by-character conversion rather than prosign handling, since prosigns are a layer of operating convention on top of the base alphabet rather than part of the character set itself β but recognizing them helps when reading real historical or amateur radio Morse traffic, where a prosign appears as a run-together group with no internal letter spacing.
Another practical nuance: amateur radio operators often insert a slight variation in timing called "Farnsworth spacing," where individual dots and dashes are sent at a faster character speed while the gaps between letters and words are stretched out longer than the standard ratio. This technique, named after its creator, helps beginners learn to recognize whole-letter sound patterns at a natural pace without the frustration of trying to count individual slow dots and dashes. This tool's playback uses standard proportional timing rather than Farnsworth spacing, which is the more common reference point for text-to-Morse conversion tools and matches what you'll see in most Morse code reference tables and telegraphy textbooks.
Related Free Tools From Arb Digital
Working with text encoding often means jumping between formats. Try our Base64 Encoder & Decoder for binary-safe text encoding, the Text to Binary Converter for another classic encoding scheme, the Unicode Character Converter to inspect code points in any string, the ROT13 Encoder & Decoder for simple letter-shift obfuscation, and the Hash Generator for SHA-256 and other cryptographic hashes. Browse everything in our free online tools hub.
Frequently Asked Questions
Yes β the full AβZ alphabet, digits 0β9, and common punctuation including period, comma, question mark, apostrophe, hyphen, slash, parentheses, colon, and quotation marks are all supported in both directions.
Yes β click "Play Morse Audio" and the tool generates real dot-dash-and-pause timed tones using the Web Audio API, at the words-per-minute speed and tone pitch you set.
A single space between letters and a slash surrounded by spaces between words is the most widely used convention and is the default here. You can switch to pipes or triple spaces if your project or worksheet expects a different format.
This tool follows the standard International Morse code table, which covers Latin letters, digits, and common punctuation. Characters outside that set (most symbols, emoji, and non-Latin scripts) have no standard Morse equivalent, so they are skipped and noted rather than guessed at.
Yes β amateur radio operators use it extensively (it's often called CW, for continuous wave) because it can be received through weak or noisy signals better than voice. It also survives in aviation navigation beacon identifiers and as an accessibility input method.
Yes β completely free, no sign-up, and no limits. Everything runs client-side in your browser using JavaScript and the Web Audio API; nothing you type is uploaded or stored anywhere.
This tool runs entirely in your browser β nothing you type or convert is uploaded or stored anywhere.