Tools

Home
Text to BinaryBase64 Encode/DecodeHash GeneratorUTF-8 Encode/DecodeURL Encode/Decode

ASCII to Morse Converter

Convert ASCII text to Morse code online. Each character becomes its dot-and-dash Morse pattern.

Your files never leave your browser
INPUT (ASCII TEXT)0 chars
OUTPUT (MORSE CODE)0 symbols
Ready·ASCII to Morse

Type ASCII text on the left and watch each letter map to its dot-and-dash Morse pattern on the right. Pick your dot character, dash character, and how letters and words get separated — then play the result back as audio if you want to hear the rhythm. And everything runs in your browser. Nothing gets uploaded.

How to Use

Enter your text in the left panel. You can type, paste, or click Sample for example text.

Choose dot/dash characters and set the letter separator and word separator to suit your needs.

Click Convert or leave Live mode enabled for real-time conversion as you type.

Copy, Download, or Swap the result. Enable Play audio to hear the Morse code as beeps.

Frequently Asked Questions

What characters can be converted to Morse code?

This tool supports all 26 English letters (A-Z), digits 0-9, and common punctuation including period, comma, question mark, exclamation mark, apostrophe, slash, parentheses, ampersand, colon, semicolon, equals sign, plus, hyphen, underscore, quotation mark, dollar sign, and the at sign. Letters are case-insensitive. Any unsupported characters are replaced with a question mark placeholder in the output.

How does the audio playback work?

When "Play audio" is enabled and you convert text, the tool generates audio tones using the Web Audio API directly in your browser. A short beep represents a dot and a longer beep represents a dash. Gaps between elements, letters, and words follow standard Morse timing ratios: 1 unit for intra-character gaps, 3 units between letters, and 7 units between words.

Can I convert Morse code back to ASCII text?

Yes. Click the Swap button to switch the output into the input panel, which automatically changes the mode to Morse-to-ASCII. The tool will parse the Morse patterns (separated by spaces for letters and slashes or pipes for words) and convert them back to the corresponding text characters.

What is the standard Morse code timing?

In International Morse Code, a dot lasts 1 time unit and a dash lasts 3 units. The gap between dots and dashes within a character is 1 unit, between characters is 3 units, and between words is 7 units. This tool follows these ratios when playing audio. The default speed produces clearly audible results, though professional operators typically use faster speeds of 15-25 words per minute.

When would I need to convert ASCII to Morse code?

Common use cases include learning Morse code, amateur (ham) radio communication, emergency signaling practice, encoding messages for puzzles or games, educational projects about encoding systems, and historical communication studies. Morse code remains relevant in aviation, maritime safety, and as an accessibility input method for people with limited mobility.

Share: