Works on this device
Morse Code Translator
Type text to get Morse code, or type dots and dashes to get text. You can hear the code, save it as a sound file, and read Morse from a recording. It uses the International Morse code.
Translate
Type letters, figures and punctuation. The Morse code appears as you type.
One space between letters. A slash ( / ) or two or more spaces between words. The text appears as you type.
The Morse code box reads all three forms.
One space is always between letters.
Ready. Your text and the sound stay in this browser.
Play as sound
From 5 to 60. A dot lasts 1.2 ÷ speed seconds.
From 200 to 2000. A higher number is a higher tone.
Letters keep the speed above. The gaps between letters and words are longer.
Used with Farnsworth timing. From 1 to the speed of the letters.
From 0 (no sound) to 100. Start low if you use headphones.
Nothing to play yet.
- Dot
- –
- Dash
- –
- Gap between letters
- –
- Gap between words
- –
- Length of the sound
- –
- Dots and dashes
- –
Read Morse from a sound file
Choose a recording of one steady tone, up to 10 MB and 10 minutes. It is opened in this browser and is not sent anywhere. The code that is found goes into the Morse code box.
No file read yet.
International Morse code chart
| Character | Code | Name |
|---|---|---|
| A | .- | Letter |
| B | -... | Letter |
| C | -.-. | Letter |
| D | -.. | Letter |
| E | . | Letter |
| É | ..-.. | Accented letter E |
| F | ..-. | Letter |
| G | --. | Letter |
| H | .... | Letter |
| I | .. | Letter |
| J | .--- | Letter |
| K | -.- | Letter |
| L | .-.. | Letter |
| M | -- | Letter |
| N | -. | Letter |
| O | --- | Letter |
| P | .--. | Letter |
| Q | --.- | Letter |
| R | .-. | Letter |
| S | ... | Letter |
| T | - | Letter |
| U | ..- | Letter |
| V | ...- | Letter |
| W | .-- | Letter |
| X | -..- | Letter |
| Y | -.-- | Letter |
| Z | --.. | Letter |
| 1 | .---- | Figure |
| 2 | ..--- | Figure |
| 3 | ...-- | Figure |
| 4 | ....- | Figure |
| 5 | ..... | Figure |
| 6 | -.... | Figure |
| 7 | --... | Figure |
| 8 | ---.. | Figure |
| 9 | ----. | Figure |
| 0 | ----- | Figure |
| . | .-.-.- | Full stop (period) |
| , | --..-- | Comma |
| : | ---... | Colon or division sign |
| ? | ..--.. | Question mark |
| ' | .----. | Apostrophe |
| - | -....- | Hyphen or dash or subtraction sign |
| / | -..-. | Fraction bar or division sign |
| ( | -.--. | Left-hand bracket |
| ) | -.--.- | Right-hand bracket |
| " | .-..-. | Inverted commas (quotation marks) |
| = | -...- | Double hyphen |
| + | .-.-. | Cross or addition sign |
| × | -..- | Multiplication sign |
| @ | .--.-. | Commercial at |
| <SN> | ...-. | Signal: Understood |
| <HH> | ........ | Signal: Error (eight dots) |
| <K> | -.- | Signal: Invitation to transmit |
| <AS> | .-... | Signal: Wait |
| <SK> | ...-.- | Signal: End of work |
| <KA> | -.-.- | Signal: Starting signal |
How to use the Morse code translator
- To make Morse code, type or paste your message in the Text box. The code appears in the Morse code box as you type.
- To read Morse code, type or paste it in the Morse code box. Use a dot ( . ) and a hyphen ( - ). Put one space between letters and a slash ( / ) between words. The text appears in the Text box.
- Choose Copy Morse code or Copy text to use the result in another place.
- Choose Play to hear the message. Set the speed, the tone and the volume first. Pause and Stop are beside it.
- Choose Download sound (WAV) to save the same sound as a file.
- To read Morse from a recording, choose a file under Read Morse from a sound file.
The code and the timing
The table is the International Morse code of Recommendation ITU-R M.1677-1 (2009): 26 letters, the accented letter É, the figures 0 to 9, 14 punctuation marks and signs, and 6 signals. The full list is in the chart on this page. Capital and small letters have the same code.
The same recommendation sets the timing. A dash is as long as 3 dots. The gap between the parts of one letter is 1 dot. The gap between two letters is 3 dots. The gap between two words is 7 dots.
Speed is in words per minute with the standard word PARIS. That word and the gap after it take 50 dot lengths. So one dot lasts 60 ÷ (50 × speed) = 1.2 ÷ speed seconds. At 20 words per minute a dot lasts 0.06 seconds.
Farnsworth timing helps learners. Each letter is sent at the full speed, and the gaps between letters and between words are made longer. PARIS has 31 dot lengths of signals and 19 dot lengths of gaps between letters and words. The 19 gap lengths share the time 60 ÷ overall speed − 31 × 1.2 ÷ letter speed seconds.
Worked example
The text SOS gives ... --- .... S is three dots and O is three dashes. Each S takes 5 dot lengths, the O takes 11, and the two gaps between letters take 3 each. That is 5 + 3 + 11 + 3 + 5 = 27 dot lengths. At 20 words per minute a dot is 0.06 seconds, so the sound lasts 27 × 0.06 = 1.62 seconds.
With Farnsworth timing at a letter speed of 20 and an overall speed of 10, the gap share is (60 ÷ 10 − 31 × 1.2 ÷ 20) ÷ 19 = 0.2179 seconds. The gap between letters is 3 × 0.2179 = 0.654 seconds and the gap between words is 7 × 0.2179 = 1.525 seconds.
Signals, other ways to write the code, and sound files
- Signals. Write a signal as letters between angle brackets. The letters are then sent with no gap between them:
<SK>is End of work,<KA>is the Starting signal,<AS>is Wait,<SN>is Understood and<HH>is Error (eight dots).<SOS>gives the distress signal as one group. - 0 and 1. There is no standard for Morse code with 0 and 1. This page uses 0 for a dot and 1 for a dash. It reads this form in the Morse code box and can write it.
- Words. The page can also write and read the spoken form: di or dit for a dot, dah for a dash, as in di-dah for A.
- Look-alike marks. The Morse code box also reads the middle dot and the bullet as a dot, and the underscore, the minus sign and the long dashes as a dash.
- Sound files. The page finds the sounds and silences in the file, takes the shortest sounds as dots, and reads longer sounds as dashes. The sound must be one steady tone with little noise. The file is opened in this browser and is not sent anywhere.
Limits you should know
- A character that is not in the table is left out and named under the boxes. This is true for the exclamation mark, the ampersand, the percent sign and for accented letters other than É. The recommendation spells a percent sign as 0/0.
- Only the International Morse code for Latin letters is offered. American Morse and the codes for Arabic, Korean, Cyrillic, Greek and Japanese letters are not included.
- The page does not read Morse from a picture, a video, a camera, a flashing light or the microphone. A flashing light is not offered because fast flashes can harm some people.
- A recording with noise, speech, music, fading or a tone that changes gives wrong results. A message of one-letter words, or one sent with very long gaps, may be read with the wrong word breaks.
- Sound is at most 10 minutes long. The WAV file has 8,000 samples per second, 16 bits and one channel. Its tone is at 80% of the full level, whatever the volume slider shows.
- A change of speed or tone while the sound plays is used the next time you choose Play. The volume slider works at once.
- Your text, the code and the sound stay in this browser. The page does not store or send them.