Morse Code Audio Decoder

Turn Morse code sound into text. Upload a recording or listen through your microphone, and the decoder finds the tone, works out the speed and writes out the text. From the microphone, letters appear as the sound plays.

Or drop an audio file here. WAV and MP3 work in every current browser.

Decoded text
Dots and dashes
Pitch
-
Speed
-
Spacing
-
Tone pitch

Audio is decoded on your device. Your recording and microphone sound are never uploaded.

How the Morse code audio decoder works

You don't need to tell it the pitch or the speed. It works both out from the sound in four steps. Press Try a sample to watch it happen.

  1. Find the tone: It scans from 250 to 1500 Hz for the strongest steady pitch and locks onto it. The pitch box under the tool shows what it picked.
  2. Listen to that pitch only: Every 5 milliseconds it measures how loud that one frequency is, with a Goertzel filter (a filter tuned to a single frequency). Sound at other pitches, like hum or voices, is mostly ignored.
  3. Mark tone on and tone off: The on and off levels adjust to how loud the recording and its background are. The off level sits lower than the on level, so a tone that wavers near the edge doesn't break into pieces.
  4. Turn lengths into letters: In International Morse Code a dash lasts three dots, so any tone longer than two dots counts as a dash. Silence follows the same rule: one dot inside a letter, three between letters, seven between words.

The dot length gets updated after every tone, so a sender who speeds up halfway through doesn't throw it. Speed is shown in words per minute (WPM), measured with the word PARIS. At 20 WPM one dot lasts 60 milliseconds.

Farnsworth spacing works too. That's the style where letters are sent at full speed and the gaps between them are stretched. The gaps inside a letter stay one dot long, and that's how the decoder tells stretched spacing apart from slow sending. When it spots stretched gaps, the Spacing box shows the overall speed next to the letter speed.

Tips for a clean decode

  • Upload when you can: A file is cleaner than a microphone pointed at a speaker, because room noise and echo can't get in. WAV and MP3 files work in current browsers. Other formats, like OGG or M4A, depend on your browser.
  • Get the microphone close: Hold your phone or laptop near the speaker and keep the room quiet. The page asks your browser to turn off noise suppression, echo cancellation and automatic volume, since these can cut or fade a steady tone.
  • Give it a few letters: Live text appears about a second behind the sound, because a letter only counts as finished once the gap after it is long enough. The first letters can change while it settles on the speed.
  • Set the pitch by hand if the output looks wrong: If the recording has a louder sound than the Morse, like music or a second station, the decoder may lock onto that. Tick "Set the pitch by hand" and slide it to the Morse tone. A file decodes again each time you move the slider.

What it can't decode

Very noisy signals: In tests with synthetic audio and added white noise, it decoded cleanly with noise as loud as the tone and failed when the noise was twice as loud. A weak radio signal buried in static is likely to come out with wrong letters.

Very uneven hand-sent Morse: In tests, it handled tones and gaps randomly up to 15% longer or shorter than they should be, and often failed at 40%. A sender whose dashes are barely longer than their dots, or whose letter gaps are as short as the gaps inside letters, may get split or merged letters.

More than one signal: It follows one pitch at a time. With two stations on the air, it follows the stronger one.

Clicks and light: It needs a tone. Telegraph sounder clicks and flashing lights have no pitch to lock onto.

Prosigns sent as one signal: SOS is sometimes sent as one signal with no gaps between letters, as ...---.... No single character has that code, so it shows as #. Sent with normal letter gaps, it reads as SOS.

FAQ

Can I translate Morse code audio to text?

Yes. Upload the recording or press Listen with microphone and play the sound near your device. The decoder finds the tone, works out the speed and writes the text. From the microphone, the text appears as the sound plays. It also shows the dots and dashes it heard.

How do I decode Morse code from a video?

Press Listen with microphone, then play the video out loud. If the video is on the same computer, turn the speakers up so the microphone can hear them. If you can save the video's sound as an audio file, upload that instead, so room noise can't get in.

What speed Morse code can it read?

It read synthetic test recordings cleanly from 5 to 30 words per minute (WPM), including Farnsworth spacing, where the letters are fast and the gaps between them are long. You never set the speed. It measures it from the tones.

Why does the decoded text show # or the wrong letters?

A # means a group of dots and dashes that isn't a character in International Morse Code. Wrong letters and # can come from noise breaking a tone in two, letters sent with almost no gap between them, or the decoder locking onto the wrong sound. A prosign sent as one signal, like SOS with no gaps, also shows as #. Try a cleaner recording or set the pitch by hand.

Is my recording uploaded anywhere?

No. The decoding runs in your browser. Your audio file and your microphone sound stay on your device.