Morse Code Translator
Convert text to Morse code and back, with audio playback.
This tool runs entirely in your browser. Your data is never uploaded, never stored, and never leaves your device.
Translates text into international Morse and back — the telegraph code, still the same one — with one space between letters and a slash between words, and will sound the result out loud as a tone so you can learn the rhythm rather than just read the dots.
How to use it
- 1Press Text → Morse or Morse → Text; the page opens in encoding mode.
- 2Type or paste into the single box — the translation appears underneath as you go, and in decoding mode any group the table does not recognise is named in a line above it.
- 3Press Play to hear the code, Stop to cut it off, or Copy to take the text.
Example
- Input
- Hello World
- Output
- .... . .-.. .-.. --- / .-- --- .-. .-.. -..
The spacing in that output is not decoration — it is the only thing marking where one letter ends, so a run of dots and dashes pasted in without spaces comes back as a single unrecognised sequence rather than a word. Encoding is forgiving to the point of being quiet about it: the table covers A to Z, 0 to 9 and seventeen punctuation marks, and anything else is dropped without a warning, so "Café 50%" encodes as the Morse for CAF 50. Decoding is stricter and tells you which group it could not read while still decoding the rest. Morse carries no case, so decoded text always arrives in capitals. Playback follows standard timing — a dash three times the length of a dot, three units between letters and seven between words — with the dot set to 0.08 seconds, which is roughly 15 words per minute.
What happens to your data
Both directions are a plain object lookup performed in the page, and Play synthesises its 600 Hz tone with a Web Audio oscillator rather than fetching an audio file, so nothing about your message — text, code or sound — crosses the network. It is held in one component state variable and is gone when you close the tab; nothing is written to storage and no history of past translations is kept.
Last updated August 2026
Someone has sent you a line of dots and dashes and will not say what it means. Or you have the opposite problem: a short phrase — a date, a set of initials — that has to come out as Morse for an engraving, a puzzle or the inside of a card.
Check the spacing before anything else, because Morse is not only dots and dashes. It has three lengths of silence in it, and the two longer ones mark where one letter ends and where one word ends. Take them out and a message does not get harder to read, it stops being readable at all: three dots in a row are S, or EEE, or IE, and nothing in the string itself decides which. Spacing is also the first casualty when code is copied out of a chat window, a caption or a PDF, so look at what you are pasting before you blame the translation.
The other thing to settle is whether you want this on the page or in your ears. For reading one message and moving on, the written form is fine. For actually learning Morse it is the trap: operators do not convert shapes into letters in their heads, they recognise each character as a rhythm, and a chart of dots memorised by eye has to be unlearned later.
And the code carries less than people expect — no upper and lower case, no accents in the core international set, and nothing beyond the Latin letters, the ten digits and a short list of punctuation settled a long time ago.
How it works
Toolvore holds one table of characters to codes and builds the decoder by inverting that same table, so the two directions cannot disagree with each other. Encoding splits your text on runs of whitespace, which means tabs and line breaks count as ordinary word breaks and a multi-line message comes back as one continuous line. Decoding splits words at the slash, tolerating spaces on either side of it, and names each distinct group it could not match rather than repeating the same complaint. The tone is synthesised rather than fetched: a sine oscillator at 600 Hz, with the whole message scheduled against the audio clock before any sound is made, and a five-millisecond fade at each end of every dot and dash so the edges do not click. That scheduling is also the ceiling. Pitch and speed are fixed, there is no slower practice setting, nothing can be saved as an audio file, and Stop tears the audio down rather than pausing it, so Play always begins again from the start. In decoding mode it sounds out your input exactly as typed, so badly spaced code plays as wrong as it reads.
Common use cases
- Reading a line of dots and dashes off a photograph or a puzzle prop
- Turning a short phrase into Morse for an engraving or a piece of jewellery
- Checking a scouting or cadet exercise before handing it in
- Hearing what a callsign or a short message actually sounds like
- Preparing a clue for an escape room or a treasure hunt
- Settling whether a sequence in a film or a game is real Morse or set dressing
Frequently asked questions
What is SOS in Morse code, and why was that signal chosen?+
Three dots, three dashes, three dots. It was adopted internationally in 1906 because the rhythm is unmistakable and easy to send under pressure, not because it stands for anything — save our souls and save our ship were both attached afterwards. Formally it is a prosign, sent as one unbroken run of nine elements with no letter gaps inside it, which is why it is often written with a bar across the top. Any translation driven by a character table, this one included, writes it as three separate letters with normal gaps between them: perfectly readable, and not quite what a radio operator would key.
What is the best way to learn Morse code?+
By ear, and fast enough that counting individual dots is impossible. The two established approaches both work that way. Koch's method starts you with two characters sent at your target speed and adds a third only once you are copying them accurately, so you never learn a slow version that has to be unlearned. The Farnsworth approach sends each character at full speed but stretches the gaps between them, so the rhythm of a letter is right from the first day while you still have time to write it down. What works badly is memorising a chart and translating shapes in your head.
Why will my Morse not decode when I paste it in?+
Nine times in ten it is the spacing. A decoder works group by group and needs the boundaries handed to it, because a run of dots and dashes with nothing between them has many valid readings and no way to choose. If your source has lost its spacing you are not decoding any more, you are solving a puzzle, and that usually needs outside context — a guessed first word, a known name — to crack. The other common cause is the wrong character: an em dash or an en dash pasted in from a word processor is not the hyphen the table matches, so the group comes back unrecognised.
Is Morse code still used for anything today?+
It is, though rarely as a way of sending messages professionally. Aviation and marine navigation beacons still identify themselves by repeating a two or three letter Morse ident, and pilots confirm a station that way before trusting it. Amateur radio operators use it heavily, because a carrier switched on and off cuts through noise and weak conditions at power levels that would defeat voice, with very little equipment. Maritime distress moved to satellite systems at the end of the 1990s, so the ship-to-shore role has gone. It also survives as an input method for people who can operate a single switch but not a keyboard.
Does Morse code have capital letters, accents or newer symbols?+
Not case, no. There is one code per letter and no distinction between A and a, so typing your message in lower case changes nothing about what comes out. Accented letters do exist, but as national additions rather than part of the international set — the Spanish, German and Scandinavian variants were added by the countries that needed them, and no two published tables agree completely. The table here has none of them, so an accented character has no code to match. Newer symbols mostly never arrived either; the at sign was added in 2004 and is the most recent addition of any note.
Can you decode Morse from an audio recording or a flashing light?+
Not here — this reads and writes text, and there is nothing in it that listens or watches. Doing it properly is a signal-processing job rather than a lookup: something has to detect where each tone starts and stops, work out the length of a single unit from the pattern itself, then classify every mark and every gap against that estimate. It is awkward because a human sender's timing drifts, especially on a hand key. With a recording in hand, the practical routes are a decoder app that takes microphone input, or slowing the audio down, writing the dots and dashes out by hand and pasting those in.
Is what I type sent anywhere, or stored?+
No. The whole thing runs inside the page you already have open: the character table is part of the JavaScript that was downloaded with it, both directions are plain lookups, and the component makes no network request of any kind. The tone is generated by your browser's own audio engine rather than fetched as a sound file, so even playing a message sends nothing. Nothing is kept, either — your text lives in the page's state and nowhere else, so closing the tab is the whole of the cleanup, and the audio is torn down when you leave rather than carrying on behind you.
What is the difference between American Morse and International Morse?+
They are two different codes, and only one of them is still in use. The original American or railroad Morse, used on landline telegraphs in the United States, gave several letters an internal space — a gap in the middle of a single character — and assigned different patterns to some letters and most digits. That worked over a wire and travelled badly over radio, where a short gap is easily lost to interference. International Morse, sometimes called Continental, dropped the internal spaces and is what every modern reference means. If your dots and dashes came off a nineteenth-century American telegram, a modern table will read parts of it as nonsense.
Related tools
Caesar Cipher / ROT13
Encrypt or decrypt text with a shift cipher, including ROT13.
File Hash Checker
Compute SHA-1, SHA-256, and SHA-512 checksums of any file.
Unicode Escape/Unescape
Convert text to \u escape sequences and back.
Base64 Encode/Decode
Encode text to Base64 or decode Base64 back to text.