Morse Code Generator

Convert text to morse code with audio playback. Encode and decode messages, listen to morse sounds, and download morse code translations online free.

Enter text above to generate morse code

Professional Morse Code Translator

Morse code has been used for over 180 years in telecommunications, from telegraph operators to amateur radio enthusiasts. Our generator converts any text to authentic morse code patterns instantly. Hear your message played back at adjustable speeds, perfect for learning or verifying your translations. The audio uses standard ITU timing with customizable WPM settings ranging from beginner (5 WPM) to expert (25 WPM) levels.

Audio Playback

Common Morse Code Phrases

SOS
... --- ...
International distress signal
HELLO
.... . .-.. .-.. ---
Common greeting
WORLD
.-- --- .-. .-.. -..
World
CQ
-.-. --.-
Calling any station
OK
--- -.-
Acknowledgment

How this Morse Code Generator works

This comprehensive utility functions as both a translator and a learning tool, converting standard text into International Morse Code and vice versa. The conversion engine supports the full standard alphabet (A-Z), numerals (0-9), and common punctuation, mapping each character to its precise dot-dash sequence. The decoder parses morse input using slash (/) separators for words, translating signals back into readable text.

A standout feature is the Web Audio API integration, which synthesizes authentic 600Hz sine wave tones to play back generated code. Users can adjust playback speed from 5 WPM (beginner) to 25 WPM (expert), making it an effective ear-training tool for amateur radio enthusiasts. The visual display renders dots and dashes clearly, aiding visual memorization.

For offline use or messaging, the tool offers a downloadable text file of the translation. The interface creates a seamless workflow: type a message, listen to the morse output, and copy the code instantly. Whether for educational purposes, encoding secret messages, or utility in radio communication hobbies, the tool provides accurate, adjustable, and interactive morse code generation.

How to Use

1

Enter Text

Type or paste text to convert to morse code, or paste morse code to decode.

2

Listen or Copy

Play the audio to hear the morse code or copy the output.

3

Download

Download your morse code as a text file for reference.

Example Usage

Converting text to morse code:

Input
Hello World
Output
.... . .-.. .-.. --- / .-- --- .-. .-.. -..

Frequently Asked Questions

What is Morse code?
Morse code is a method of encoding text using dots (.) and dashes (-) to represent letters and numbers. It was developed by Samuel Morse in the 1830s for telegraph communication.
How does the audio playback work?
Our generator uses the Web Audio API to produce authentic morse code tones at 600Hz. You can adjust the speed using WPM (Words Per Minute) settings from 5 to 25 WPM.
What does SOS sound like in morse code?
SOS is represented as three dots, three dashes, three dots (... --- ...). It is the most recognized distress signal and was chosen because it is easy to transmit and recognize.
Can I decode morse code back to text?
Yes! Click the toggle button to switch to decode mode. Enter morse code using dots (.) and dashes (-), with spaces between letters and slashes (/) between words.
What WPM speed should I use?
Beginners should start at 5 WPM. Standard amateur radio speed is 13 WPM. Experienced operators often use 20-25 WPM or higher.

Related Tools

The Morse Code Generator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

Featured on

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge