Morse Code Generator
This Morse code generator turns your message into code and sound. Set the speed and tone, then press Download WAV for an audio file.
Off: gaps match the letter speed.
Ideas for Morse code messages
Press one to load it, change the words if you like, then press Download WAV.
Escape rooms and puzzles
Ringtones and alerts
Videos, cards and games
How to use the Morse Code Generator
- 01
Type your message
Type or paste up to 5,000 characters in the Text box, and the code appears in the Morse code box. Or press an idea in the lists below.
- 02
Set the sound
Sound settings is open on this page. Pick a Speed from 5 to 40 WPM, a Tone from 300 to 1,200 Hz and a Volume.
- 03
Listen
Press Play to check how it sounds, and Stop to cut it short.
- 04
Save or send it
Press Download WAV for an audio file, Copy code for the dots and dashes, or Share link for a link that opens with your message.
Download Morse code as a WAV file
Press Download WAV to save your message as a 16-bit mono WAV file at 22,050 Hz. It uses your current Speed, Tone and Volume, so the file sounds the way the message sounded when you pressed Play. The file is named after the first few words of your text.
Each tone is a sine wave that fades in and out over 5 ms, so there are no clicks at the edges. WAV opens in most audio and video editors.
The file is made in your browser and nothing is uploaded, so private messages stay private.
Choose a speed, spacing and tone
The defaults are 20 WPM and 600 Hz. Change them in Sound settings. Your choices are saved in this browser and used on every page of the site.
- Speed: 5 to 40 WPM. Slow speeds suit puzzles that people decode by ear; faster speeds sound like a radio operator at work.
- Farnsworth spacing: keeps each letter at full speed but stretches the gaps between letters and words. Set how slow with Overall speed, from 3 WPM up to 1 below the letter speed.
- Tone: 300 to 1,200 Hz. Pick a pitch that is comfortable to listen to and stands out from any music or speech you mix it with.
- Volume: 0 to 100%. It sets the loudness of playback and of the WAV file.
How the timing works
The generator uses standard PARIS timing. One unit lasts 1,200 divided by the WPM, in milliseconds, so 60 ms at 20 WPM. A dot is 1 unit and a dash is 3. The gap inside a letter is 1 unit, between letters 3 and between words 7.
With Farnsworth spacing on, the generator uses the ARRL formula to lengthen only the gaps between letters and words. The dots and dashes keep the letter speed, which is what makes Farnsworth audio good for learners.
Ideas for your Morse code audio
A short WAV file fits in many places:
- Escape rooms: play a clue from a speaker and hang a printed Morse code alphabet chart on the wall so players can decode it.
- Ringtones: download a short message, such as a name, and set it as a ringtone or alert sound. Phones differ, so check your phone's help pages for how to add a custom sound.
- Videos and games: drop the WAV into your editor as a sound effect or a hidden message.
- Practice: make a file of words at your target speed and listen to it away from the screen.
Questions and answers
Can I download Morse code as an MP3?
No. The download is a WAV file (16-bit mono, 22,050 Hz). Most audio editors and converters can turn it into an MP3 if you need one.
Can I use the WAV file in a video or a game?
Yes. The file is a tone made from your own text, and you can use it anywhere, including commercial work. You don't need to credit us.
How long can the message be?
Up to 5,000 characters. At 20 WPM, about 20 five-letter words take a minute, so long texts make long files.
Why does my Morse code sound slow at a high speed?
Farnsworth spacing is probably on. It keeps the letters fast but stretches the gaps to the Overall speed. Turn it off in Sound settings and the gaps match the letter speed again.
Can the generator make a beep or a light instead of a tone?
The sound is always a pure sine tone; change its pitch with Tone. For a visual signal, the lamp on the page flashes with each tone while it plays. The WAV file holds the sound only.