Morse Code Encoder

encode Mode

Batch Input

0 Items

0 Output lines

0 Characters

Explore Our Tools

Workflow & Usage

  1. Enter your text or Morse code in the left textarea.
  2. Use the Encode / Decode toggle inside the input area to switch modes.
  3. Optional controls:
    • Batch by newline — convert one line at a time
    • Trim lines — ignore extra whitespace in batch mode
  4. View the result instantly on the right and copy with one click.

Invalid symbols are replaced with a placeholder during decoding so the rest of the line remains readable.


Encoding Rules

Text → Morse

  • Letters are converted to dot/dash sequences
  • Letters are separated by spaces
  • Words are separated by /

Example:

HELLO WORLD → .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Morse → Text

  • Dot/dash sequences are converted back to characters
  • Spaces separate letters
  • / separates words

Example:

.... . .-.. .-.. --- / .-- --- .-. .-.. -.. → hello world

Common Use Cases

  • Learning or teaching Morse code
  • Solving puzzles and CTF challenges
  • Encoding secret or playful messages
  • Decoding signals and clues
  • Educational demonstrations

Tips & Best Practices

  • Use spaces between letters and / between words when decoding.
  • Extra whitespace is ignored in batch mode when trimming is enabled.
  • Morse code is not case-sensitive.
  • Unsupported symbols are skipped during encoding.

How It Works

  • Input text is normalized to lowercase
  • Characters are mapped to standard Morse representations
  • Decoding reverses this mapping
  • Each line is processed independently
  • All logic runs locally in real time

Frequently Asked Questions

Morse code is a system of encoding letters, numbers, and symbols using sequences of dots (.) and dashes (-). It was historically used for telegraphy and signaling.

Letters are separated by spaces, and words are separated using a forward slash (/).

This tool supports letters A–Z, digits 0–9, and common punctuation such as periods, commas, question marks, and more.

Yes. Enable batch mode to convert one line per row.

No. All encoding and decoding happens locally in your browser.

Read More From Our Blog