Quick takeaways
- To write Morse code, replace each letter with its dot-and-dash pattern, put one space between letters, and put a slash (/) between words.
- E is a single dot, T is a single dash, and SOS is … — ….
- In International Morse, a dash lasts three times as long as a dot, which matters when you send by sound or light.
If you want to know how to write Morse code, the process takes five steps: write your message in capital letters, swap each letter for its pattern of dots and dashes, put one space between letters, put a slash between words, and read it back to check. You need no radio, no license, and no special equipment, only a chart and a pencil.
Morse CoDeCoder is a Morse code translator built for ham radio operators, students, puzzle fans, hobbyists, and teachers. This guide uses International Morse Code, the modern standard. Samuel Morse and Alfred Vail developed the original system for the electrical telegraph in the 1830s and 1840s, and the international version used today took shape in 1865, according to Wikipedia’s Morse code entry.
By the end of this guide, you will be able to write any word in Morse, avoid the spacing errors that make a message unreadable, and check your work in seconds.
How to Write Morse Code in 5 Steps
You write Morse code by converting each character to its dot-and-dash pattern and separating letters and words with fixed spacing. Follow these five steps in order and you will get the same result as any Morse translator. Each step takes only a few seconds once you have a chart in front of you.
Step 1: Write Your Message in Capital Letters
Morse code has no lowercase letters, so start by writing your message in capitals and removing anything you cannot encode. For example, “Meet me at 6” becomes MEET ME AT 6. Emoji, accented letters, and most symbols have no standard Morse pattern, so skip them or spell them out in words.
Step 2: Look Up Each Letter or Number
Find each character in a Morse code chart and copy its pattern. The first time, use the Morse code alphabet chart or the tables below. If you prefer to translate text to Morse code automatically, a translator does the same lookup instantly, but doing it by hand a few times teaches you the patterns faster.
Step 3: Put One Space Between Letters
Write a single space between the patterns for each letter. This space tells the reader where one letter ends and the next begins. For example, the letters S and O become … —, with one space between them. Without that space, the reader has no reliable way to split the dots and dashes back into letters.
Step 4: Put a Slash Between Words
Separate words with a slash (/) and a space on each side. This is the usual written convention for word breaks, and it keeps your message readable on a single line. HELLO WORLD becomes …. . .-.. .-.. — / .– — .-. .-.. -… In audio Morse, a longer silent gap does the same job.
Step 5: Read It Back to Check
Decode your message one letter at a time and confirm it matches the original. Reading it back catches swapped patterns, since .- is A while the reverse, -., is N. You can also paste your Morse into a translator to decode Morse code and compare the result, as covered later in this guide.
The Morse Code Alphabet and Numbers (Chart)
The Morse code alphabet gives each letter a unique pattern of one to four symbols, and each number a pattern of exactly five. Common letters tend to get short patterns, so E is a single dot and T is a single dash. Copy the patterns below, or open the full Morse code chart for a complete reference.
Letters A–Z
| Letter | Morse | Letter | Morse |
| A | .- | N | -. |
| B | -… | O | — |
| C | -.-. | P | .–. |
| D | -.. | Q | –.- |
| E | . | R | .-. |
| F | ..-. | S | … |
| G | –. | T | – |
| H | …. | U | ..- |
| I | .. | V | …- |
| J | .— | W | .– |
| K | -.- | X | -..- |
| L | .-.. | Y | -.– |
| M | — | Z | –.. |
Numbers 0–9
Every number uses exactly five symbols, which makes the pattern easier to learn than the letters. In 1 to 5, the number of dots equals the digit, followed by dashes. In 6 to 9, the number of dashes equals the digit minus five, followed by dots.
| Number | Morse | Number | Morse |
| 1 | .—- | 6 | -…. |
| 2 | ..— | 7 | –… |
| 3 | …– | 8 | —.. |
| 4 | ….- | 9 | —-. |
| 5 | ….. | 0 | —– |
Spacing Rules When You Write Morse Code
When you write Morse code, use one space between letters and a slash between words. Spacing carries as much meaning as the dots and dashes, because without it the same string of symbols can be read several ways. In audio and light signals, silent gaps of different lengths do the same job.
How do you write a space between words in Morse code?
You write a slash (/) with a space on either side. The slash marks the word break in written Morse, so … — … / … — … reads as SOS SOS. Some people use three or more spaces instead, but the slash is clearer and survives copying and pasting between apps.
Examples: Write SOS, Your Name, and “Hello World”
Working through examples is the fastest way to lock in the process. Each example below follows the same five steps, so try writing the answer yourself before you read it.
How do you write SOS in Morse code?
SOS is written … — …: three dots, three dashes, then three dots. S is … and O is —, so the message is just three letters with one space between each. It is the best-known Morse sequence, and its simple, symmetrical pattern is easy to send and recognize.
How do you write your name in Morse code?
Treat your name as a one-word message and convert it letter by letter. The name MORSE becomes — — .-. … ., where M is –, O is —, R is .-., S is …, and E is .. Try your own name, then decode it to confirm you got every letter right.
How do you write “Hello World” in Morse code?
Hello World becomes …. . .-.. .-.. — / .– — .-. .-.. -… The first word, HELLO, is …. . .-.. .-.. —, and the second, WORLD, is .– — .-. .-.. -… The slash in the middle is the word separator, and every letter inside each word gets exactly one space.
How to Write Morse Code With Punctuation
You can write Morse code with punctuation only when the mark has an official International Morse pattern. The standard covers common marks such as the period .-.-.-, comma –..–, question mark ..–.., and slash -..-.. Punctuation patterns are longer than letter patterns, so keep your spacing consistent to avoid confusing a mark with the letters beside it.
If a character is not in the standard, such as an emoji, leave it out or describe it in words. Skipping a mark is safer than inventing a pattern the reader cannot decode.
Common Mistakes When You Write Morse Code
The most common mistakes are inconsistent symbols, wrong separators, and missing spaces. Each one changes the meaning of the message, so check for them before you send or share it.
- Mixing dot styles. Pick one symbol for dots (a period) and one for dashes (a hyphen) and use them throughout. Bullets or em dashes make decoding harder.
- Using hyphens as word separators. The hyphen already means dash, so use a slash for word breaks instead.
- Dropping the spaces between letters. -.-. is the letter C, while -. -. is N followed by N. The only difference is one space.
- Reversing a pattern. .- is A and -. is N, so direction matters. Always read and write left to right.
- Treating Morse as a secret code. Morse is an encoding, not encryption, so anyone with a chart can read your message.
How to Write Morse Code With Light, Sound, or a Tap
You send Morse code by light, sound, or tapping by turning the written pattern into timed signals. Written Morse uses spaces, but sent Morse uses timing. The International Morse standard, ITU-R M.1677-1, defines a dash as equal to three dots, and every other length is built from that single unit.
Timing: One Unit Equals One Dot
Use these lengths when you flash, beep, or tap a message:
| Element | Length |
| Dot | 1 unit |
| Dash | 3 units |
| Gap inside a letter | 1 unit |
| Gap between letters | 3 units |
| Gap between words | 7 units |
Speed is measured in words per minute (WPM), using the word PARIS as the standard test word. PARIS takes exactly 50 units to send, including the gap after it, and PA3FWM’s notes on Morse timing use it as the example of perfectly timed code. That works out to a dot length of 1,200 milliseconds divided by your WPM, so a dot lasts 60 ms at 20 WPM and 240 ms at 5 WPM.
For a flashlight, set one unit to one second. HI is four one-second flashes for H, a three-second pause, then two one-second flashes for I. Hand-keyed Morse often drifts from the official timing, so aim for consistent lengths rather than perfect ones.
How to Practice and Check Your Work
The best practice is to alternate between writing and listening, then decode what you wrote to confirm it is correct. Writing builds your recall of the patterns, and listening builds the speed you need for radio.
Why ARRL Says to Learn by Sound
ARRL’s tips for learning Morse code, written by K7QO and AC6V, advise learning each character as a sound instead of as written dots and dashes. It also recommends the Farnsworth method, where you hear each character at about 15 words per minute with extra space between characters. You then shrink the spacing as your copying improves.
That can look like a conflict with a guide on writing Morse code, but the two goals fit together. Written Morse suits puzzles, notes, and checking your work, while sound-first learning suits radio operators who need speed. Say “di-dah” out loud as you write .-, and you train both skills at once. The Koch method is another popular approach: you start with two characters at full speed and add new ones as you master them.
How to Decode Morse Code to Verify Your Writing
Write your message by hand, then paste it into the Morse CoDeCoder translator to decode Morse code and compare the output with your original text. If the two differ, check your spacing first, then look for reversed patterns. This round trip works like an online Morse converter check for your own handwriting.
If you want to go the other direction, our guide on how to read Morse code covers decoding step by step.
Frequently Asked Questions
How do you write “I love you” in Morse code?
You write “I love you” as .. / .-.. — …- . / -.– — ..-. I is .., LOVE is .-.. — …- ., and YOU is -.– — ..-, with a slash between the words. Use the same five steps for any phrase, and check it by decoding it afterward.
What is the easiest way to learn to write Morse code?
The easiest way is to learn a few short letters first and add more in small groups. Start with E, T, I, M, S, and O, which are ., -, .., –, …, and —. These six already let you write SOS, TIME, and MOIST. Practice writing short words, and check each one with a translator.
How long does it take to learn Morse code?
It depends on you and how often you practice. ARRL’s guidance says some people master Morse in days while others need months, and that anyone who keeps at it gets there. Short, regular sessions work better than one long session, so set a modest daily goal and stick to it.
Is Morse code still used today?
Yes, though in a narrow set of roles. Amateur radio operators use it most, and some navigation radio beacons still identify themselves in Morse. Hobbyists, scouts, and puzzle fans also use it for fun and for signaling with light.
Conclusion: Start to Write Morse Code Today
To write Morse code, replace each letter with its dot-and-dash pattern, put a space between letters, and put a slash between words. The three habits that matter most are using consistent symbols, never dropping spaces, and reading your message back to confirm it. Keep a chart nearby until the short letters feel automatic, then add the rest in small groups.
Ready to try it yourself? Go to morsecodecoder.com to translate text to Morse code, decode Morse back to plain text, and check everything you write. Then send your first message to a friend and see whether they can decode it.