Morse Code Generator

This free Morse code generator translates text into Morse code and back in both directions, with a live audio playback that lets you hear exactly how each message sounds on the air. Type words and get dots and dashes instantly, or paste a Morse pattern to decode it. It also plays the code as beeps and includes a full reference chart of all 53 characters, from letters and numbers to punctuation, so you can read, write, and practise the code in one place.







Illustration of Morse code dots and dashes for the Morse Code Generator

How to Use the Morse Code Generator

  1. Choose a direction. Keep Text to Morse code selected to encode, or switch to Morse code to text to decode.
  2. Enter your message. Type words in the box, or paste dot-and-dash code with single spaces between letters and a slash between words.
  3. Press Convert. Your result appears instantly in the result box.
  4. Play it aloud. Press Play Morse Audio to hear the pattern as beeps, exactly as it would sound on the air.
  5. Look up any character in the reference chart below the result, which shows every letter, number, and punctuation mark.

What Is Morse Code?

Morse code is a way of sending text using only two signals: a short one called a dot (or dit) and a long one called a dash (or dah). Every letter, number, and some punctuation marks have their own pattern. The letter E, the most common in English, is a single dot, while less common letters get longer patterns, a design that keeps typical messages short. Letters are separated by small gaps, and words by a wider gap, shown here as a slash.

Although it dates back to the telegraph era, Morse code never fully disappeared. It is still used by amateur radio operators, taught in scouting programs, and loved by puzzle designers. Its charm is simplicity: you can tap it on a table, flash it with a light, or beep it through a speaker, and anyone who knows the code can read it.

A Brief History of Morse Code

Samuel Morse and Alfred Vail developed the code in the 1830s and 1840s for the electric telegraph, which could only send pulses of current. Their original American Morse was refined into the International Morse code between 1848 and 1865, and the international version is what you learn today. The first public telegraph message, “What hath God wrought”, travelled from Washington D.C. to Baltimore on May 24, 1844. In 1906 the distress signal SOS was adopted internationally, and it has saved countless lives since. Morse stayed mandatory on ships for most of the twentieth century; the international maritime requirement ended in 1999, but amateur radio operators, emergency trainers, and puzzle fans never let it go.

How the Code Actually Works

The timing rules give Morse its rhythm, and they are strict. A dash lasts three times as long as a dot. The pause between the parts of one letter equals one dot length, the pause between letters equals three dots, and the pause between words equals seven dots. That spacing is what separates “…” sent as one letter, S, from three separate E letters. The generator follows these conventions in its output, and the audio playback uses the same proportions, so what you hear matches the real thing.

Efficiency was built into the code from the start. Frequent letters got the shortest patterns: E is one dot, T is one dash, A is dot-dash, and N is dash-dot. Rare letters like Q and Z need four elements. Numbers all take five elements, which is why call signs and figures take longer to send than words of the same length.

The Morse Chart on This Page

The reference chart below the converter lists all 53 characters this tool handles: every letter A to Z, the digits 0 to 9, and the punctuation marks the code supports. Keep the chart open while you practise, and try hiding it once the common letters stick. A useful milestone is the day you can read E, T, A, N, I, M, and S without looking, because those letters appear in almost every English word.

Two Signals Everyone Should Know: SOS and HELP

The most useful Morse you will ever learn takes seconds:

  • SOS: … — … Spoken as “di-di-di, dah-dah-dah, di-di-di”. It was chosen in 1906 for its unmistakable pattern, and contrary to popular belief it is not an acronym for “Save Our Ship” or “Save Our Souls”. It simply means “distress”.
  • HELP: …. . .-.. .–. Spoken as “di-di-di-dit, dit, di-dah-di-dit, di-dah-dah-dit”. Easier to learn than it looks, because H and E are among the shortest codes in the book.

Both can be sent by light, sound, or tapping. Keep the pattern steady and repeat.

Examples

  • SOS encodes to … — …, the most recognised pattern in the code.
  • Hello world becomes …. . .-.. .-.. — / .– — .-. .-.. -.., with the slash marking the word gap.
  • Your name is a great first exercise: encode it, play the audio, and see if a friend can decode it by ear.
  • Numbers work too: 2024 encodes to ..— —– ..— ….-, handy for practising the five-element patterns.
  • A question like “Are you there?” encodes the final question mark as ..–.., which you can look up in the chart.

Learning Morse by Ear: Sounds, Not Dots

The single biggest mistake beginners make is counting dots and dashes in their head. Professionals read the sound of each letter as one unit, the way you recognise a word without spelling it. When you practise with the audio button, do not think “dot-dot-dash”; think the rhythm of U as a single sound, and let it become reflex.

Radio trainers learn characters at full speed from the start, so each letter registers as a sound rather than a counted pattern, and widen the gaps between letters instead for breathing room. Once letters feel easy, shrink the gaps and the words start flowing. Ten to thirty minutes of daily listening beats one long weekend session: encode a paragraph, hide the text, and copy what you hear.

Prosigns and Special Signals

Beyond letters, Morse has procedural signals called prosigns, sent as one unbroken character. The best known is SOS. Others include the error signal of eight dots, which corrects a mistake mid-transmission, the invitation to transmit, and the end-of-message mark. Real practice transmissions often open with a test call, VVV, sent to check the signal, and close with the end-of-work signal, so operators always know a message has finished. This generator focuses on ordinary text and punctuation, which is what nearly everyone needs, but the audio playback will play any pattern you feed it, prosign or not.

Morse Code in the Modern World

Amateur radio

Thousands of radio operators still make contacts in Morse, partly for tradition and partly because a weak Morse signal can be understood when voice would vanish into noise. Many learners start with tools like this one before trying a real key.

Assistive technology

Morse remains a practical communication method for some people with limited mobility, who can enter dots and dashes with a single switch and have software turn them into text or speech.

Puzzles, games, and escape rooms

Radio clues, hidden messages, and geocache puzzles use Morse precisely because it is learnable but not obvious. Encoding the first clue of a treasure hunt takes seconds with this tool.

Emergency signalling

Flashlights, mirrors, and whistles can all send dots and dashes. Rescue and scouting programmes still teach the distress patterns, because any signal method that works without a working network is worth knowing.

Common Phrases to Practice

Ready to move beyond single words? Encode each of these with the tool, then play the audio and see whether you can pick out the letters by ear:

  • Yes and no: short, and the contrast between the two patterns is a good ear exercise.
  • Good morning: a friendly two-word message that practises the word gap.
  • Happy birthday: longer, with several letters you have probably just learned.
  • Meet me at noon: a realistic radio-style message with natural rhythm.
  • The quick brown fox: a pangram containing every letter of the alphabet, the ultimate workout.

Morse Code and Other Encoding Systems

Morse is one member of a wide family of ways to repackage text. Binary represents every character as ones and zeros, ASCII assigns each character a number, semaphore uses flag positions, and Braille uses raised dot patterns you can feel. What they all share with Morse is the same core idea: meaning does not depend on the shape of the symbol, only on agreement about what each symbol stands for.

Related Calculators

Frequently Asked Questions

What is a Morse code generator?

A Morse code generator is a free online tool that converts ordinary text into Morse code and back. Type a word or sentence and it instantly produces the matching pattern of dots and dashes, with letters separated by spaces and words separated by slashes. It also decodes Morse code back into readable text.

How do I read Morse code?

Morse code is read as patterns: a short beep or dot and a long beep or dash, grouped per letter. The tool handles the translation for you, and the built-in character chart shows every letter, number, and punctuation mark next to its pattern, which makes learning the common codes much faster than memorizing them blind.

What does SOS mean in Morse code?

SOS is the international distress signal, sent as dot-dot-dot, dash-dash-dash, dot-dot-dot. It was chosen because the pattern is simple and unmistakable, not because it stands for any particular words. This generator will encode or decode it for you, and you can play its audio to hear the famous rhythm.

Can I hear the Morse code as audio?

Yes. Press the Play Morse Audio button and your browser plays the pattern as beeps, using a short tone for dots and a longer tone for dashes. This is the best way to learn the rhythm of the code, and it works for anything you type, from your name to a full message.

Does the tool handle numbers and punctuation?

Yes. It supports all 26 letters, the digits 0 to 9, and common punctuation, including periods, commas, question marks, exclamation marks, apostrophes, and even the ampersand. Characters without a Morse equivalent are skipped, so your output always stays clean.

Is this Morse code generator free to use?

Yes, it is completely free and runs entirely in your browser. There is no account to create and no limit on conversions. Encoding, decoding, audio playback, and the reference chart all work on phones, tablets, and computers.

How long does it take to learn Morse code?

For casual use, a few weeks of short daily practice teaches the common letters and distress signals. Learn by sound rather than by counting dots and dashes, start with the shortest codes like E and T, and practise listening as well as sending. Most learners find ten minutes a day far more effective than one long weekly session.

Is Morse code still used today?

Yes. Amateur radio operators make contacts in Morse daily, because a weak signal can be understood where voice fails. It is also used in assistive communication, aviation navigation beacons, scouting and rescue training, and countless puzzles and escape rooms. The maritime requirement ended in 1999, but the code itself never retired.


Scroll to Top