Text & String Utilities100% Client-Side

Encode Text as Morse Code

Paste text to see the Morse code for supported letters, digits, and punctuation. Characters become groups of dots and dashes separated by spaces. A slash separates words and existing line boundaries remain. The tool uppercases words before mapping them, so lowercase text is accepted. This is useful for learning the written form of Morse or preparing a fixture that a text decoder can read.

Input
8 chars•1 lines
Output

Reverse tool

Decode Morse Code to Text

Decode space-separated Morse groups into letters and digits. Use a slash or wider gap to separate words and preserve line breaks between messages.

Open Decode Morse Code to Text
Example input
... --- ... / .... . .-.. .--.
Example output
SOS HELP

How to Use the Convert Text to Morse Code Online

  1. 1Paste the message, keeping line breaks where you want separate rows in the result.
  2. 2Read each dot-and-dash group as a single encoded character.
  3. 3Use the slash markers to identify where one word ends and the next begins.
  4. 4Copy the output or paste it into Morse to Text to verify the supported characters.

Input & Output Examples

The letters in go are uppercased for lookup, and the slash separates the digit from the word.

Input Sample
go 2
Expected Output
--. --- / ..---

The slash in the source becomes its own code group, and the second line remains separate.

Input Sample
A/B?
OK
Expected Output
.- -..-. -... ..--..
--- -.-

Practical Developer Workflows

  • Prepare written exercises for recognizing Morse letters and digits.
  • Encode a short label or classroom example and compare it with its decoded form.
  • Build a fixture with several words and a line break for a Morse text parser.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The encoder converts each word to uppercase internally, so you can paste lowercase and mixed-case text. Morse groups do not retain letter case. Decoding a supported letter produces its uppercase form on this site.

Explore Other Tools

12 suggested tools

View all tools