ToolyStation
Runs in your browser · Nothing uploaded

Morse Code Generator

Convert text into Morse code. Set the speed (WPM and playback rate) and the tone, listen to it, then save the code as text or the sound as an MP3 or WAV file.

Text to convert

Converts letters A–Z into international Morse code. Numbers and punctuation are converted too.

0 / 1000

Morse code

Type some text above and the Morse code will appear here.

Sound settings

×1 is 20 WPM. A dot is now 60 ms and a dash 180 ms.

Each character is sent at the speed above, but the gaps between characters and words are stretched to lower the overall speed. A common way to practise copying by ear.

600–800 Hz is the most common range. Lower sounds softer, higher sounds crisper.

MP3 is small and easy to share; WAV is uncompressed audio.

International Morse code chart and rules

International Morse code (ITU-R M.1677-1) gives every letter, digit and common punctuation mark its own pattern of dots and dashes. Frequent letters such as E (.) and T (-) get the shortest codes.

Letters (A–Z)

  • A.-
  • B-...
  • C-.-.
  • D-..
  • E.
  • F..-.
  • G--.
  • H....
  • I..
  • J.---
  • K-.-
  • L.-..
  • M--
  • N-.
  • O---
  • P.--.
  • Q--.-
  • R.-.
  • S...
  • T-
  • U..-
  • V...-
  • W.--
  • X-..-
  • Y-.--
  • Z--..

Numbers

  • 1.----
  • 2..---
  • 3...--
  • 4....-
  • 5.....
  • 6-....
  • 7--...
  • 8---..
  • 9----.
  • 0-----

Punctuation

  • ..-.-.-
  • ,--..--
  • ?..--..
  • '.----.
  • !-.-.--
  • /-..-.
  • (-.--.
  • )-.--.-
  • &.-...
  • :---...
  • ;-.-.-.
  • =-...-
  • +.-.-.
  • --....-
  • _..--.-
  • ".-..-.
  • $...-..-
  • @.--.-.

Morse code rules

Everything is measured in units

A dot is 1 unit and a dash is 3 units. Inside a character the elements are 1 unit apart, characters are separated by 3 units and words by 7 units. Keeping these ratios is what makes Morse readable at any speed.

Speed is counted in words per minute

WPM is based on the word 'PARIS', which takes exactly 50 units including the gap after it. One unit lasts 1.2 seconds divided by the WPM, so at 20 WPM a dot is 60 ms and a dash 180 ms.

Letters are case-insensitive

Morse code has no lowercase or uppercase. 'sos' and 'SOS' produce the same signal, so this generator shows every letter in capitals.

Numbers always have five elements

Every digit is five dots and dashes long: 1 is .---- and 0 is -----. That makes digits easy to tell apart from letters by rhythm alone.

Writing Morse as text

When Morse is written down, a full stop stands for a dot and a hyphen for a dash. Codes are separated by a single space and words by a slash, which is the format this generator uses for copying and TXT files.

Procedural signals are sent as one unit

Some signals, such as the distress call SOS (...---...), are sent as one continuous pattern without gaps between the letters. This generator sends the letters of words separately, with normal gaps.

Korean uses its own jamo codes

Korean Morse assigns codes to Hangul consonants and vowels and reuses the same dot-dash patterns as Latin letters. Switch the input language to 한국어 to convert Hangul; the Korean page lists the full Korean chart.

Related guides

About this tool

The Morse Code Generator turns text into Morse code and plays it as real sound. In English mode it uses international Morse code; in 한국어 mode it splits Hangul syllables into jamo and uses Korean Morse code. Numbers and punctuation are converted in both modes.

Speed is shown both in WPM, the standard Morse unit, and as an easy-to-read playback rate. You can set the tone and volume, listen right away, and save the result as text (TXT) or audio (MP3 or WAV). Everything happens inside this browser and your text is never sent to a server.

When it comes in handy

Learning to copy by ear

Type words you know and start at a slow rate. Turn on Farnsworth timing to keep the character rhythm at full speed while stretching only the gaps, which helps you learn each letter as a sound.

Puzzles and escape rooms

Create an audio clue that spells the answer in Morse. Save the code as text, the sound as a file, or both.

Sound effects for video and games

Generate a short message at the pitch and speed you want and download it as MP3 or WAV, ready for a video editor or a game project.

How to use it

  1. 1

    Pick the input language: English or 한국어. Korean and English share the same codes, so only one language is converted at a time.

  2. 2

    Type your text in 'Text to convert'. The codes for each character and the plain-text version appear instantly in the 'Morse code' box.

  3. 3

    Under Sound settings, choose the speed (rate and WPM), tone and volume. For practice, try turning on Farnsworth timing.

  4. 4

    Press 'Play'. The code being sounded is highlighted. Changing a setting stops playback; press Play again to hear the new settings.

  5. 5

    Copy the code or save it as TXT, or choose MP3 or WAV and download the audio.

How it works

How text becomes code

Each letter, digit or punctuation mark is looked up in the international Morse table. Spaces in your text become word gaps. In 한국어 mode each Hangul syllable is first split into its jamo, and jamo without their own code (double consonants, compound vowels) are sent as two basic jamo.

WPM and playback rate

WPM is how many times the word 'PARIS' (50 units) could be sent in a minute. A unit lasts 1.2 seconds divided by WPM, so 20 WPM gives a 60 ms dot. This tool treats 20 WPM as ×1: ×2 is 40 WPM and ×0.5 is 10 WPM.

What Farnsworth timing does

Characters are sent at the full character speed while the gaps between characters and words are lengthened to reach a lower overall speed, following the ARRL formula. Learning at slow character speeds tends to make people count dots and dashes; Farnsworth timing avoids that.

How the sound is made

A sine tone at the chosen pitch is switched on and off following the code timing. Each tone fades in and out over 5 ms so there are no clicks. Playback and file export use the same timing, so the file sounds exactly like what you heard.

Measured lengths and file sizes

At 20 WPM, the Korean greeting 안녕하세요 takes 12 codes and about 7.5 s, while HELLO takes 5 codes and about 2.9 s — about 2.5× longer, because Korean sends a code for every jamo, including the silent initial ㅇ. On the other hand, 사랑해 (about 4.4 s) came out shorter than I LOVE YOU (about 5.6 s). WAV files take about 2.6 MB per minute and MP3 about 0.5 MB. The method and full results are in the related guide 'Morse Code Speed (WPM) and Length'.

Understanding the output

Text code (TXT)

Dots are written as full stops (.) and dashes as hyphens (-), with one space between codes and ' / ' between words. This format pastes cleanly into other Morse decoders and documents.

MP3

Saved as 64 kbps mono, about 0.5 MB per minute, which is easy to send or drop into a video. The MP3 encoder is only loaded the first time you download an MP3.

WAV

Uncompressed 16-bit mono at 22.05 kHz, about 2.6 MB per minute. Choose it when you plan to edit the audio further or want to avoid any compression.

Per-character view

The result box shows which code each character became, drawn as dots and dashes. During playback the code being sounded is highlighted so you can follow along.

Tips for specific situations

Start at ×1 with Farnsworth

Listening at ×0.5 makes you count elements. Keep the character speed around ×1 (20 WPM) and use Farnsworth to bring the overall speed down to about 10 WPM; you will learn each letter's rhythm faster.

A comfortable tone

600–700 Hz is easy on the ears for long sessions. Start with a low volume when using headphones.

Keep word spaces in puzzles

Word gaps are the only thing that separates words in Morse, so keep normal spacing in clues to make them solvable.

MP3 to share, WAV to edit

Use MP3 for messengers and websites, and WAV when you will cut or process the sound in an editor.

Keep the code with the audio

When you make a puzzle, save the TXT code alongside the audio file. It is handy as an answer key or a hint.

FAQ

Is it free? Do I need an account?

It is free and needs no sign-up or installation. Type your text and the code appears; playing and saving happen on this page.

Is my text sent to a server?

No. Converting, playing and creating MP3 or WAV files all happen in this browser. Closing the tab clears what you typed.

Can I mix English and Korean?

Only one language is converted at a time. Korean jamo and Latin letters share the same codes (for example ㅗ and A are both .-), so a mixed message could not be read back reliably. Numbers and punctuation work in either mode.

Which characters are supported?

Letters A–Z, digits 0–9 and common punctuation: . , ? ' ! / ( ) & : ; = + - _ " $ @. In 한국어 mode, Hangul syllables and jamo are supported as well. Other characters are listed as skipped.

What is the difference between WPM and the playback rate?

WPM is the standard Morse speed unit; the rate is relative to 20 WPM, which is ×1. They show the same setting two ways: ×1.5, for example, is 30 WPM.

What speed range is available?

5 to 40 WPM, which is ×0.25 to ×2. That covers the usual range for learning and practice.

Should I choose MP3 or WAV?

MP3 for sending or uploading, WAV for further editing. Morse is a simple tone, so MP3 sounds practically the same.

Does it work on iPhone?

Yes, in current Safari and Chrome. If the iPhone is in silent mode, web audio may be muted, so check the silent switch.

How long can the audio be?

Up to 1,000 characters of text and 10 minutes of audio. At slow speeds, split long text or raise the speed.

How is SOS sent?

Type SOS in English mode and you get ... --- ... . A real distress call runs the three letters together without gaps; this generator keeps the normal letter gaps.

Can it turn Morse back into text?

Yes. Paste the code into the Morse Code Decoder to turn it back into text. 'Open in decoder' in the result box sends the code you just made straight there. You can also upload the MP3 or WAV you made to the Morse code audio decoder and read the text back from the sound.

Troubleshooting

I press Play but hear nothing.

Check the device volume and silent mode first, and make sure Bluetooth headphones are not connected to another device. If it still fails, reload the page and play again.

Korean text produces no code.

In English mode Hangul is not converted. Press 'Switch to 한국어' in the notice, or select 한국어 at the top.

Some characters are listed as skipped.

Emoji, CJK ideographs and some symbols have no Morse code. Replace them with letters or supported punctuation.

It says the audio is too long.

Audio is limited to 10 minutes. Raise the speed or turn off Farnsworth timing to shorten it, or split long text.

Playback stopped by itself.

Changing the text or any sound setting stops playback. Press Play again to hear the new settings.

Limitations

  • English and Korean cannot be mixed in one conversion. Create them separately.
  • Procedural signals such as SOS sent as a single run are not supported; letters are always separated by normal gaps.
  • Emoji, CJK ideographs and other characters without a Morse code are skipped.
  • Text is limited to 1,000 characters and audio to 10 minutes.
  • Silent mode or browser settings can mute the sound.
  • Turning Morse back into text is done in the Morse Code Decoder.

More in Text & Codes