Random Morse Code Generator

Generates a random run of letters/digits or dictionary words, then encodes it to International Morse Code, displaying both the source text and the Morse output side by side — unlike this site's Morse encoder/decoder tools, which transform text you type in rather than generating it. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-26

Overview

Introduction

This tool generates random text — either a run of letters and digits or a run of dictionary words — and immediately encodes it to International Morse Code, showing both side by side.

It's designed for Morse code practice: since you don't choose the source text, you get fresh material for decoding drills every time.

What Is Random Morse Code Generator?

A client-side generator that first picks random characters or words, then runs the result through a standard International Morse Code lookup table.

Unlike this site's Morse Code Encoder and Decoder tools — which transform whatever text or Morse you paste in — this tool supplies its own random input, so there's nothing to type.

How Random Morse Code Generator Works

In letters mode, each character is picked independently at random from A-Z and 0-9.

In words mode, each word is picked independently at random from a built-in list of common short words, then joined with spaces.

The resulting text is uppercased and each character is looked up in a standard Morse code table, with letters within a word joined by a space and words joined by ' / '.

When To Use Random Morse Code Generator

Use this for self-testing Morse code reading skills: try decoding the Morse output before revealing the source text.

Use it to generate fresh practice material for a Morse code training app or worksheet without having to think up sample sentences yourself.

Features

Advantages

  • Combines generation and encoding in one step, unlike separately typing sample text into an encoder.
  • Two modes (letters vs. words) suit different practice difficulty levels.
  • Runs entirely client-side with no network calls.

Limitations

  • The word list is a small built-in set of common short words, so 'words' mode won't produce grammatically meaningful sentences, only a sequence of individually valid words.
  • Only letters A-Z and digits 0-9 are supported — punctuation and prosigns (like the Morse equivalents of a period or SOS) are not included in the encoding table.

Examples

Letters mode

Input

(no input; generated from settings)

Output

Text: FQKRT
Morse: ..-. --.- -.- .-. -

Five random letters encoded with a single space between each letter's Morse pattern.

Words mode

Input

(no input; generated from settings)

Output

Text: signal ocean spark
Morse: ... .. --. -. .- .-.. / --- -.-. . .- -. / ... .--. .- .-. -.-

Three random words, with '/' marking the boundary between each word's Morse sequence.

Best Practices & Notes

Best Practices

  • Start with 'letters' mode at a short length for beginner decoding practice, then move to 'words' mode as you improve.
  • Cover the source text before attempting to decode the Morse output, to actually test your reading skill.
  • Regenerate repeatedly for a steady stream of fresh practice material rather than reusing the same output.

Developer Notes

The Morse lookup table is defined locally in this tool's own lib file rather than imported from the site's existing Morse encoder/decoder tools, keeping this generator's bundle self-contained since the table itself is tiny (36 entries) and rarely changes.

Random Morse Code Generator Use Cases

  • Practicing Morse code reading and decoding skills
  • Generating quiz material for a Morse code training app
  • Demonstrating the letter-space vs. word-slash convention in Morse code notation

Common Mistakes

  • Expecting 'words' mode output to form a coherent sentence rather than an unrelated sequence of words.
  • Forgetting that word boundaries use '/' while letter boundaries within a word use a plain space — conflating the two when decoding by hand.

Tips

  • Increase the length gradually as your decoding speed improves.
  • Cross-check your manual decoding attempt against the displayed source text rather than another Morse reference, since this tool encodes with the standard ITU table.

References

Frequently Asked Questions