The distress signal
Paste a small example into the tool and change one part at a time.
Encodes to ... --- ... - three dots, three dashes, three dots.
Translate text to Morse code and back, with audio playback.
Last updated
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
A Morse code translator converts ordinary text into Morse code - the pattern of short and long signals (dots and dashes) used in telegraphy and radio - and converts Morse back into readable text. Each letter, digit, and punctuation mark has its own unique sequence of dots (·) and dashes (−).
In written Morse, a dot is . and a dash is -. Letters within a word are separated by a single space, and words are separated by a slash /. So SOS is ... --- ..., and SOS Coddy becomes ... --- ... / -.-. --- -.. -.. -.--.
Beyond writing it out, this tool can *play* the code aloud using authentic timing - a dash lasts three times as long as a dot, with precise gaps between letters and words - so you can learn Morse by ear. Everything runs locally in your browser.
SOS (··· −−− ···) became the international distress signal because it's short and unmistakable.Choose Text → Morse to encode, or Morse → Text to decode dots and dashes back into letters.
Enter any text, or paste Morse using dots and dashes with spaces between letters and a slash ( / ) between words.
Press Play to hear the Morse code as beeps with correct dit/dah timing - a great way to practice by ear.
Copy the result with one click, or hit swap to reverse the conversion on the current output.
The full International Morse code chart - letters, digits and the punctuation the translator understands. Every digit is exactly five symbols. A dot is one unit, a dash three; the gap between letters is three units and between words seven.
| Character | Morse | Character | 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 | --.. |
| 1 | .---- | 6 | -.... |
| 2 | ..--- | 7 | --... |
| 3 | ...-- | 8 | ---.. |
| 4 | ....- | 9 | ----. |
| 5 | ..... | 0 | ----- |
| . | .-.-.- | , | --..-- |
| ? | ..--.. | ! | -.-.-- |
| ' | .----. | " | .-..-. |
| / | -..-. | @ | .--.-. |
| ( | -.--. | ) | -.--.- |
| & | .-... | : | ---... |
| ; | -.-.-. | = | -...- |
| + | .-.-. | - | -....- |
| _ | ..--.- | $ | ...-..- |
Paste a small example into the tool and change one part at a time.
Encodes to ... --- ... - three dots, three dashes, three dots.
Copy the original value, run the tool, then compare the result.
Words are separated by / , so you get .... .. / - .... . .-. ..
Take a value from your own work and use this tool to inspect or prepare it.
Paste this in Morse → Text mode to get LOVE.
Type your text in Text → Morse mode. Each character is replaced by its dot-and-dash code, letters separated by spaces and words by a slash ( / ).
Switch to Morse → Text mode and paste your dots and dashes. Separate letters with a space and words with a slash; the tool converts them back to readable text.
Yes - press Play to hear the code as beeps with authentic timing (a dash is three times as long as a dot). It's a great way to learn Morse by ear.
Yes. The translator covers A–Z, 0–9, and common punctuation such as period, comma, question mark, and slash.
Yes. Press Listen, allow the microphone, and play the Morse near it - from a phone, a radio or another tab. Each tone is timed and written as a dot or a dash, gaps become letter and word breaks, and the text appears as it arrives. Set Speed close to the sender's speed so the first letters are read correctly; the decoder then follows the sender's timing on its own.
The Speed slider sets words per minute using the PARIS standard: one unit is 1.2 ÷ WPM seconds, so 20 WPM is a 60 ms dot and a 180 ms dash. 5 to 40 WPM covers everything from a first lesson to a contest operator. The download, the lamp and the flash pane all use the same speed.
Download .wav saves the exact beeps you hear at the chosen speed and tone as a WAV file. Share link copies a URL that opens this translator with your text already in place, so the other person hears the same message. Embed gives you a snippet to put the translator on your own page.