Morse Code Translator
This free morse code translator turns any message into International Morse Code, or decodes dots and dashes back into readable text. It works out the direction on its own, the translation shows up as you type, and a Play button lets you hear the code as real 600 Hz beeps.
Direction is detected automatically: dots, dashes and slashes are decoded, anything else is encoded.
Morse code
... --- ...
Examples
How to use
- 1
Type your message, or paste Morse code made of dots, dashes and slashes.
- 2
Read the translation at once: the tool works out the direction by itself.
- 3
Press Play to hear the code at standard timing (60 ms dit, 180 ms dah).
- 4
Copy or download the result with the buttons under the tool.
How this morse code translator works
Type anything into the field and the tool decides what to do with it. When your input holds only dots, dashes, spaces and slashes, it runs as a morse decoder and turns those signals back into text. Everything else is read as plain text and encoded to Morse. You never choose a mode and there is no convert button, since the result refreshes on every keystroke.
The translator carries the full International Morse Code (ITU) set: the 26 letters A to Z, the digits 0 to 9, and 18 punctuation marks that include the period, comma, question mark, slash and at sign. Characters with no Morse equivalent, such as emoji or accented letters, get skipped instead of breaking the line.
Reading the output
Morse has no lowercase and no letter breaks of its own, so the tool follows the usual writing conventions:
- One space separates letters, so SOS becomes
... --- ... - A slash separates words, so HI MOM becomes
.... .. / -- --- -- - Decoded text always returns in uppercase, because Morse writes A and a with the same signal.
Here is a worked example. The phrase I love you becomes .. / .-.. --- ...- . / -.-- --- ..-: three words, eight letters, every letter break marked by a single space.
Hearing the code: what the Play button does
Morse was built for the ear rather than the eye. The Play button turns the code into a 600 Hz tone, a pitch close to what operators actually use on the air. Timing keeps the classic 1:3 ratio:
| Element | Duration |
|---|---|
| Dit (dot) | 60 ms |
| Dah (dash) | 180 ms |
| Gap inside a letter | 60 ms |
| Gap between letters | 180 ms |
| Gap between words | 420 ms |
With a 60 ms unit, that lands near 20 words per minute, a common speed for amateur radio exams and everyday CW contacts. Listening while you read the dots and dashes is also the fastest way to learn the alphabet, since your brain picks up rhythms far better than symbol tables.
Where a text to morse code converter is actually useful
People reach for a morse code converter more often than you would guess: cracking a puzzle from an escape room or a geocache, checking a tattoo or engraving idea before it turns permanent, prepping for a ham radio licence, or showing kids how people talked before phones. SOS in Morse, ... --- ..., is still read worldwide as a distress signal, and flashing it with a torch remains a real emergency trick.
For the whole alphabet at a glance, the companion reference table lists every letter, digit and punctuation mark with its code, and each row carries a copy button.
Morse Code Alphabet
| Character | Morse | Type |
|---|---|---|
| A | .- | Letter / Lettre |
| B | -... | Letter / Lettre |
| C | -.-. | Letter / Lettre |
| D | -.. | Letter / Lettre |
| E | . | Letter / Lettre |
| F | ..-. | Letter / Lettre |
| G | --. | Letter / Lettre |
| H | .... | Letter / Lettre |
| I | .. | Letter / Lettre |
| J | .--- | Letter / Lettre |
| K | -.- | Letter / Lettre |
| L | .-.. | Letter / Lettre |
| M | -- | Letter / Lettre |
| N | -. | Letter / Lettre |
| O | --- | Letter / Lettre |
| P | .--. | Letter / Lettre |
| Q | --.- | Letter / Lettre |
| R | .-. | Letter / Lettre |
| S | ... | Letter / Lettre |
| T | - | Letter / Lettre |
| U | ..- | Letter / Lettre |
| V | ...- | Letter / Lettre |
| W | .-- | Letter / Lettre |
| X | -..- | Letter / Lettre |
Parameters
Every field of this tool can be prefilled from the URL. Use these query parameters:
| Parameter | Type | Default |
|---|---|---|
| text | string | SOS |
Example : https://www.veltotools.com/string/morse-code-translator?text=SOS
API
The same tool is available as a free JSON API, with the same parameters as above. No key, no sign-up.
Frequently asked questions
Updated Jul 20, 2026