Morse Code Translator with Audio Playback

Convert text to Morse code and back with audio playback. Hear the dots and dashes played through your speakers as you type.

Runs in your browser. No data leaves your device.

Frequently Asked Questions

How does the Morse Code Translator work?

Each letter and number is mapped to its International Morse Code sequence (dots and dashes) via a lookup table. Encoding iterates through each character, looks up the Morse pattern, and joins them with spaces (letters) and slashes (words). Decoding reverses the lookup. Audio playback creates short and long Web Audio API oscillator tones for dots and dashes with timed silences between elements.

Can I hear the Morse code?

Yes. Click the play button to hear the dots and dashes as audio tones through your speakers or headphones. The timing follows standard International Morse Code specifications.

Can I translate Morse code back to text?

Yes. The tool works in both directions. Paste Morse code using dots (.) and dashes (-) with spaces between letters and the tool converts it back to readable text.

What characters are supported?

All 26 letters (A-Z), digits (0-9), and common punctuation marks. The tool uses the International Morse Code standard used worldwide in amateur radio and emergency signaling.