Morse code turns letters and numbers into short and long signals — dots and dashes — that can be sent as sound, light or taps. It is simple to read once you know the pattern for each character, but translating a whole sentence by hand is slow, and one missed dash changes the letter completely. This Morse code generator does the translation for you in both directions: type plain text and get clean Morse code, or paste Morse code and read it back as ordinary words.
It is built for learners practising for an amateur radio licence, hobbyists and puzzle solvers, scout and guide groups learning signalling, and anyone who is simply curious about how the old telegraph code works. You can also hear your message played back as beeps, at a speed you control, so you learn what the code sounds like. Everything runs locally in your browser on this page. There is no account to create, nothing to install, and the text you type is not sent anywhere or stored.
Quick Answer: This Morse code generator translates plain text into Morse code and Morse code back into plain text. Choose a direction, type or paste your message, and read the result instantly. It covers the letters A to Z, the numbers 0 to 9 and common punctuation, separates words with a slash, and can play the code aloud as beeps at a speed you set in words per minute.
Supported characters are the letters A to Z, the numbers 0 to 9, and this punctuation only: full stop, comma, question mark, apostrophe, exclamation mark, slash, opening and closing brackets, colon, semicolon, equals sign, plus sign, hyphen, underscore, quotation mark, dollar sign and the at sign. Any other character is skipped when you translate text to Morse.
For Morse input, use a dot and a hyphen for the signals, leave one space between letters, and put a slash with spaces around it between words, like this: …. .. / -.– — ..- Press Play to hear the code: in Text to Morse mode it plays the Morse in the result box, and in Morse to Text mode it plays the Morse you pasted into the input box.
Table of Contents
- How to Use the Morse Code Generator
- Worked Example
- Key Features
- Best Practices and Tips
- Common Mistakes to Avoid
- When This Tool Helps — and When It Doesn’t
- Frequently Asked Questions
- Related Tools
How to Use the Morse Code Generator
- Choose the direction with the Text to Morse or Morse to Text button at the top of the tool. The button for the mode you are in is shown in the deeper purple.
- Type or paste your message into the input box. Its label reads Text to translate in the first mode and Morse code to translate in the second, so you always know which way round you are working.
- If you are entering Morse by hand, follow the pattern in the note under the box: a dot and a hyphen for each signal, one space between letters, and a slash with spaces around it between words.
- Click Translate and read the result in the shaded box underneath. The result also updates as you type, so you can fix a letter and see the change straight away without clicking again.
- Click Copy result to copy the translation to your clipboard, ready to paste into a message, a document or your practice notes.
- To hear the code, drag the Speed (WPM) slider to the speed you want, then click Play. Lower speeds are easier to follow when you are starting out, and the Play button stays disabled until the message has finished playing.
Worked Example
The best known Morse message in the world is the distress call SOS. Leave the tool on Text to Morse, type SOS into the box and click Translate. The letter S is three dots, the letter O is three dashes, and S comes again at the end, so the result reads … — … with a single space between each letter. That neat pattern of three short, three long and three short signals is exactly why the call was chosen: it is hard to mistake for anything else, even through noise and interference.
Now try a short phrase with a space in it. Type HI YOU and translate it. H is four dots and I is two dots, so the first word becomes …. .. and then the tool puts a slash between the two words before carrying on with Y, O and U. The full result is …. .. / -.– — ..- and that slash is the word separator. It marks where one word ends and the next begins, in the same way a longer pause does when the code is sent by sound.
To work backwards, switch to Morse to Text, paste …. .. / -.– — ..- into the box and click Translate. The tool splits the code at the slash first, then splits each word into letters at the single spaces, looks every group of dots and dashes up in the table, and gives you HI YOU back. Paste … — … in the same mode and you get SOS back, which is a quick way to check that a message you received really says what you think it says.
Key Features
- Two-way translation on one page: plain text to Morse code and Morse code back to plain text, switched with a single click.
- The full standard international Morse set for the letters A to Z and the numbers 0 to 9, plus the supported punctuation listed honestly in the tool: full stop, comma, question mark, apostrophe, exclamation mark, slash, brackets, colon, semicolon, equals sign, plus sign, hyphen, underscore, quotation mark, dollar sign and the at sign.
- Clear spacing you can rely on: one space between letters and a slash between words, so the output can be copied, shared and decoded again later without guesswork.
- Sound playback with a speed slider from 5 to 30 words per minute, using the standard timing rules where a dash lasts three times as long as a dot, so you hear the code the way it is really sent.
- Friendly handling of imperfect input: characters with no Morse equivalent are skipped when encoding, and an unknown group of signals shows as a question mark when decoding, instead of the whole message failing.
- Everything runs in your browser on this page, with a copy button for the result. Nothing you type is sent to a server, stored or logged, and there is no account and nothing to install.
Best Practices and Tips
- Learn by sound, not by dots on a page. Morse was made to be heard, and recognising the rhythm of a letter is far faster than counting dots and dashes in your head. Play each new letter at a slow speed, listen to its shape, and only look at the written pattern afterwards to confirm it.
- Start slow and keep the characters crisp. Set the slider near the bottom while you learn a new letter, and raise the speed gradually once you can name letters without pausing. Short daily practice at a steady speed beats one long session at a speed that leaves you guessing.
- Learn the letters in small groups that sound different from each other, then add the confusable ones later. Letters built from one signal, such as E and T, are a gentle start; pairs that mirror each other, such as F and L, are easier once your ear already knows the simpler patterns.
- Practise with real words and short phrases, not only single letters. Words give the letters a rhythm and teach you the word gap, and translating your own name, your street and a few everyday words makes the patterns stick far better than a bare alphabet drill.
- Translate in both directions. Encoding a sentence tests whether you can build the code, and decoding one tests whether you can read it, and the two skills support each other. Paste in code you find in a puzzle or a film, decode it here, then hide the answer and try reading it by ear.
Common Mistakes to Avoid
- Forgetting the word separator when decoding. Without the slash, a row of letters has no word breaks, and two short words can blur into one long string that decodes as nonsense. When you write Morse for someone else, always mark the word gaps clearly.
- Swapping letters that differ only in the number of signals. S is three dots and O is three dashes, and H is four dots while 5 is five dots, so a quick count is easy to get wrong. Slow down on the long runs of the same signal, and use the playback to hear the difference between short and long.
- Leaving out the space between letters. The decoder reads each space-separated group as one character, so two letters typed together are treated as a single, longer pattern and will usually come back as a question mark or the wrong letter entirely.
- Expecting every character to have a code. Only the letters, numbers and punctuation listed on this page are supported, and anything else is skipped when you encode. If a symbol matters to your message, spell the word out instead of relying on a character that will quietly disappear.
- Reading the code at full speed before you are ready. Fast playback turns letters you half know into a blur, and guessing at a blur teaches bad habits. Keep the speed low enough that you can name each letter as it sounds, then nudge the slider up over days, not minutes.
When This Tool Helps — and When It Doesn’t
This tool helps when you are learning Morse code, checking a translation, or having fun with it: practising letters by ear, decoding a message in a puzzle, a game or an escape room, preparing a signalling exercise for a youth group, or confirming what a string of dots and dashes you found actually says. The playback makes it especially useful for ear training, because you can hear the same phrase at different speeds and learn how the gaps between letters and words are meant to sound.
It is a learning and hobby tool, not a way to send a real emergency message. A translated SOS on a screen reaches nobody, and in a genuine emergency you should use a phone or another working means of contact rather than any code. The playback follows the standard unit timing rules, with the speed set in words per minute on the usual timing basis, but your browser and speakers are not radio equipment: the tool cannot transmit anything, connect to a radio, or judge whether a real operator would copy your sending. It also covers one standard set of characters, so older or specialist codes and local variations are outside what it can translate.
Frequently Asked Questions
Which characters does this Morse code generator support?
It supports the full standard international set for the letters A to Z and the numbers 0 to 9, in upper or lower case, plus this punctuation only: full stop, comma, question mark, apostrophe, exclamation mark, slash, opening and closing brackets, colon, semicolon, equals sign, plus sign, hyphen, underscore, quotation mark, dollar sign and the at sign. Characters outside that list have no code here and are skipped when you translate text to Morse, so spell out a word if a special symbol matters.
How does the speed slider work, and what do the gaps mean?
The slider sets the playback speed in words per minute, from 5 to 30, measured on the standard timing basis where one unit is 1200 divided by the speed in milliseconds. A dot lasts one unit, a dash lasts three units, and the silences matter just as much: one unit between the signals inside a letter, three units between letters, and seven units between words. Those gaps are what let a listener tell where one letter ends and the next begins, and the slash in the written code marks the longest gap, the one between words.
Is the text I type sent anywhere or stored?
No. The translation and the playback both happen entirely in your browser on this page, using code built into the page itself. Nothing you type is sent to a server, stored or logged, and there is no account and nothing to install. If you close or refresh the page, your message is gone, so copy any result you want to keep using the Copy result button before you leave.
Related Tools
- Base64 Encoder and Decoder — Turn text into Base64 and back again, right in your browser.
- Password Generator — Build a strong random password at the length you choose, right in your browser.
- UUID Generator — Create random UUIDs one at a time or in a batch, ready to copy.