Morse Code Translator — Free Text to Morse Converter

Free, private, serverless Morse code translator. Convert text to Morse code and back with audio playback — 100% client-side.

🔒 100% Private
Completely Free
🌐 Runs in Browser
📦 Export Ready

Morse Code Translator — Free Text to Morse Converter

Tool Workspace

Ready

Loading tool...

  1. Text to Morse — Type or paste text in the left panel. Morse code appears instantly below using dots (.) and dashes (-).
  2. Morse to Text — Enter Morse code in the right panel using dots and dashes. Separate letters with spaces and words with ' / ' or triple spaces.
  3. Play Audio — Click 'Play' to hear the Morse code as audio beeps. Adjust speed with the WPM slider.
  4. Copy — Click 'Copy Morse' or 'Copy Text' to copy results to clipboard.

Morse Code Translator — Convert Text to Morse Code and Back

The Morse Code Translator is a free, instant-use tool for converting between plain text and Morse code. It features bidirectional translation, audio playback with adjustable speed, and a complete reference chart. Whether you're learning Morse code, working on amateur radio communications, creating educational materials, or just exploring this fascinating encoding system, this tool provides everything you need.

All processing runs entirely in your browser using JavaScript. No data is sent to any server.

What is Morse Code?

Morse code is a character encoding system that represents letters, numbers, and punctuation as sequences of short signals (dots/dits) and long signals (dashes/dahs). Developed by Samuel Morse and Alfred Vail in the 1830s for use with the electric telegraph, it became the primary method of long-distance communication for over a century.

Despite being largely replaced by modern digital communications, Morse code remains relevant in amateur radio, aviation emergency signals, accessibility applications, and as an educational tool for understanding concepts like encoding and signal processing.

How Morse Code Works

  • Dot (dit) — A short signal, the basic time unit
  • Dash (dah) — A long signal, three times the length of a dot
  • Letter gap — Silence equal to three dots between letters
  • Word gap — Silence equal to seven dots between words

Complete Morse Code Reference

Letters: 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: 0 (-----) 1 (.----) 2 (..---) 3 (...--) 4 (....-) 5 (.....) 6 (-....) 7 (--...) 8 (---..) 9 (----).

Features

  • Bidirectional Translation — Convert text to Morse and Morse to text in separate panels.
  • Audio Playback — Hear Morse code as audio beeps using the Web Audio API. Pure 600 Hz sine wave tones.
  • Adjustable Speed — Control playback speed from 5 to 30 words per minute (WPM).
  • Reference Chart — Expandable chart showing all 36 letter and number codes.
  • Real-Time — Results appear instantly as you type.
  • Copy to Clipboard — Copy Morse code or decoded text with one click.

Common Use Cases

  • Learning — Practice Morse code encoding and decoding with instant feedback.
  • Amateur Radio — Prepare messages for CW (continuous wave) transmission.
  • Emergency Signals — The universal distress signal SOS (... --- ...) is Morse code.
  • Education — Teach students about encoding, signal processing, and communication history.
  • Accessibility — Some assistive technologies use Morse code as an input method.
  • Fun — Encode secret messages, create Morse code art, or add Morse to designs.

Privacy

All conversions and audio playback run in your browser. No data is transmitted. Works offline.

Frequently Asked Questions

What characters are supported?

All 26 English letters (A-Z), digits 0-9, and common punctuation marks including period, comma, question mark, exclamation mark, apostrophe, slash, parentheses, ampersand, at sign, equals, hyphen, plus, and quotation marks.

How does audio playback work?

The tool uses the Web Audio API to generate pure sine wave tones at 600 Hz. A dot (dit) plays for one time unit, a dash (dah) plays for three time units. Speed is adjustable from 5 to 30 words per minute (WPM). The standard unit duration is 1.2/WPM seconds.

What is the difference between dots and dashes?

In Morse code, a dot (dit) is a short signal and a dash (dah) is a long signal three times the length of a dot. Letters are separated by spaces equal to three dots, and words are separated by spaces equal to seven dots.

Can I use this offline?

Yes. Once loaded, the translator works completely offline. No internet connection is needed for text conversion or audio playback.

Is my data uploaded?

No. All processing runs 100% in your browser. No data is transmitted to any server.