Morse code translator — text to Morse, Morse to text, with a WAV file

Type text to get International Morse code with letters split by spaces and words by a slash, or switch direction to read dots and dashes back as text; tick one box to also download the signal as a WAV sound file.

Live demo · real result from this tool
Direction

Morse code

... --- ... --..-- / .... . .-.. .--. / .. ... / --- -. / - .... . / .-- .- -.--

Processed on your device — nothing is uploaded.

How to use the Morse code translator

  1. Choose the Direction: Text → Morse or Morse → text.
  2. Type or paste into Input. For decoding, you can use . and -, or the look-alikes •, ·, – and —.
  3. To hear the code, tick Create an audio file (WAV), then set Speed (5–40 words/min) and Tone (300–1200 Hz).
  4. Copy the result, or download morse.wav when the audio box is ticked.

What it does and when to use it

Morse code writes each character as a short pattern of dots and dashes. The tool follows the international table in ITU-R M.1677-1, the version used by radio amateurs and by navigation beacons that identify themselves in Morse. Typical uses are practising for a licence exam, checking a message you copied down by ear, writing a coded clue for a treasure hunt, or making a short tone file for a video.

If you are spelling something out over a voice line, the NATO phonetic alphabet is the better choice. For knocking signals, try the tap code, and for number-for-letter puzzles the A1Z26 cipher.

How it works

Encoding converts your text to uppercase, splits it into words at any whitespace, and looks up each character. Letters inside a word are joined with one space; words are joined with /. Any character missing from the table is dropped and named in a warning instead of disappearing silently.

Decoding first turns dot and dash look-alikes into . and -, splits words at /, |, three or more spaces or a line break, then reverses the lookup.

The WAV file uses standard Morse timing: a dash is three dots long, the gap inside a letter is one dot, between letters three dots and between words seven. The tool writes 8-bit mono sound at 8,000 samples per second, with a short fade on each beep so it does not click. Everything happens in your browser.

Worked examples

The distress signal. SOS becomes ... --- .... With audio ticked at 18 words/min, the file is 14,968 bytes and lasts about 1.9 seconds.

Mixed input. Hi, Ana! 😀 #7 becomes .... .. --..-- / .- -. .- -.-.-- / --.... The comma and exclamation mark have Morse codes, but the emoji and # do not, so the tool warns: No Morse code for: 😀 # — skipped.

Decoding. ... --- ... / .-. ...-- reads back as SOS R3.

Limits and tips

  • Spacing is meaning. ...---... with no spaces is one unknown symbol, not SOS. Add a space between letters.
  • SOS is sent in real radio work as one unbroken signal. The translator always spaces the letters, which is how it is written in text.
  • To learn Morse by ear, listen at a character speed of 15–20 words/min and give yourself longer gaps between letters, rather than reading the chart.
  • Only the International table is used. American railroad Morse and non-Latin alphabets are not supported.

Frequently asked questions

How are letters and words separated?
When encoding, the tool puts one space between letters and " / " between words. When decoding, it also accepts a vertical bar, three or more spaces, or a new line as a word break, so code copied from other sites usually works.
Why do I see a � in the decoded text?
That sequence of dots and dashes is not in the International Morse table. Often two letters were run together without a space, for example ...--- instead of ... ---.
Which characters can be encoded?
A to Z, 0 to 9 and the punctuation . , ? ' ! / ( ) & colon ; = + - _ " $ and @. Lowercase is converted to uppercase. Accented letters, emoji and symbols such as
How fast is the audio?
Speed sets words per minute using the standard word PARIS, so one dot lasts 1.2 ÷ speed seconds. At the default 18 words per minute a dot is about 67 ms and a dash about 200 ms.
Is Morse code a secret code?
No. It is a public encoding that anyone with a chart can read. Use it for radio practice, puzzles, escape rooms and jewellery engravings, not to hide information.

Sources

  1. Recommendation ITU-R M.1677-1, International Morse code — ITU, accessed 2026-10-07

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close