Morse Code Generator

Encode and decode text to Morse code.

Generator

About Morse Code Generator

Morse code represents each letter, digit, and common punctuation mark as a unique combination of short signals (dots, ·) and long signals (dashes, —). A single space separates characters within a word, and a slash or triple space separates words. This tool implements the International Morse Code standard, covering A–Z, 0–9, and widely used punctuation. It is ideal for students, educators, scouts, amateur radio enthusiasts, and anyone curious about this historic communication method.

How to Use Morse Code Generator

  1. Select Text → Morse to encode plain text, or Morse → Text to decode Morse sequences.
  2. Type or paste your content in the input area. For decoding, separate letters with a space and words with a slash (/).
  3. The result appears automatically. Click Copy result to place it on your clipboard.
  4. Switch modes at any time to convert in the opposite direction.

Key Features

  • Bidirectional conversion — encode text to Morse or decode Morse to text
  • Supports the full International Morse Code alphabet (A–Z, 0–9, common punctuation)
  • Instant, real-time output as you type
  • One-click copy to clipboard
  • 100% client-side — no server communication, complete privacy

When to Use This Tool

  • Studying for an amateur radio (ham) license exam
  • Creating educational materials or classroom activities about Morse code
  • Encoding secret or fun messages for games, escape rooms, or puzzles
  • Decoding Morse signals you have received or transcribed
  • Quick reference for Morse patterns when you cannot recall a specific letter

Technical Details

The encoder maps each supported character to its International Morse Code equivalent and joins letters with a single space, words with a slash. Unsupported characters (emoji, accented letters outside the standard set) are silently skipped. The decoder reverses the process by splitting on slashes for words and spaces for characters. All logic executes in JavaScript within your browser — no network requests are made. For a related encoding tool, try our Text to Binary Converter or the classic Caesar Cipher.

Conclusion

Whether you are learning Morse code for the first time or need a quick reference tool, this free Morse Code Generator provides fast, accurate, and private conversion between text and Morse. Run it directly in your browser with no installation or sign-up required.

Frequently Asked Questions

What is Morse code?
Morse code represents letters and numbers as sequences of dots (·) and dashes (—). Each character has a unique pattern. It was widely used for telegraphy and radio and remains relevant in amateur radio and emergency signaling.
What characters are supported?
The tool supports A–Z, 0–9, and common punctuation (space, period, comma, question mark, exclamation mark, etc.). Unsupported characters are skipped when encoding.
How should I format Morse input for decoding?
Separate individual letters with a single space and words with a slash (/). For example: .... . .-.. .-.. --- / .-- --- .-. .-.. -.. decodes to "HELLO WORLD".
Is my data sent to a server?
No. Encoding and decoding happen entirely in your browser using JavaScript. Nothing is uploaded, and your text remains private on your device.