Skip to content

Menu

Text to Morse

Convert text to Morse code

Runs entirely in your browserText & DiffFree, no sign-up
Loading tool

01What is Text to Morse?

Morse code turns each letter into a short pattern of dots and dashes, and this converter does that in both directions as you type. It covers A to Z, the digits 0 to 9 and the punctuation listed in the ITU's International Morse Code recommendation (ITU-R M.1677-1): period, comma, question mark, apostrophe, slash, both brackets, colon, equals, plus, hyphen, quotation mark and @. On top of that it includes the widely used non-ITU codes for !, &, ;, _ and $. Encoding works in a simple, predictable way. Your text is uppercased first, because Morse has no letter case. Each character is looked up in the table, letters inside a word are joined with one space, and words are joined with the separator you pick: a double space, a slash or a pipe. Any run of whitespace counts as one word break, so line breaks and doubled spaces collapse. A character with no entry in the table, like é or #, is dropped without a warning. Keep that in mind before you send something important. Here's a quick example. Type Hello World with the slash separator and you get .... . .-.. .-.. --- / .-- --- .-. .-.. -.. as the raw output. The main panel shows the same thing with middle dots and minus signs, which are easier to read on screen. Copy raw gives you plain dots and hyphens for code or chat. Copy display gives you the typographic version for a poster or slide. Below the output, a Character Breakdown grid pairs each letter with its code. You can hide it when you only want the result. A collapsible Full Morse Code Reference lists every code the tool knows. Click the mode button and it becomes a decoder. The decoder treats a slash, a pipe, two or more spaces or a line break as a word gap. It accepts plain . and - as well as the typographic · and − that the encoder displays, so you can paste its own output back in. A code that isn't in the table comes out as the replacement character � rather than vanishing. That makes a missing letter gap easy to spot. There are honest limits. The tool works on text only. It doesn't play audio, flash a light or handle timing. It doesn't know prosigns like AR or SK as single symbols. Decoding always returns uppercase. Conversion happens in the page's JavaScript, so your message stays in your browser tab.

Puzzle and escape room designers, amateur radio learners and makers wiring up LED or buzzer projects use it to encode and check Morse text. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Text to Morse

  1. Leave the mode button on Text → Morse, or click it to switch to Morse → Text (switching clears the input).
  2. When encoding, pick a Word Separator: Double Space, / (Slash) or | (Pipe).
  3. Type or paste into the input box, or load an example such as SOS Signal or Coordinates.
  4. Read the Morse Code Output, the Raw line under it and the Character Breakdown grid.
  5. Click Copy raw for plain dots and hyphens, or Copy display for the typographic version.

03Worked examples

Input: SOS
Result: ... --- ...
The display panel shows this as ··· −−− ··· with middle dots and minus signs.
Input: Hello World (separator: / (Slash))
Result: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
Letters are split by one space and words by the chosen separator.
Input: Hi there (separator: | (Pipe))
Result: .... .. | - .... . .-. .
Two spaces between words still give a single word separator.
Input: café #1 (separator: / (Slash))
Result: -.-. .- ..-. / .----
é and # have no Morse entry, so they are dropped silently.
Input: LAT 40.7128 (separator: / (Slash))
Result: .-.. .- - / ....- ----- .-.-.- --... .---- ..--- ---..
Digits and the period are encoded, so coordinates come through intact.
Input: ... --- ... / .... . (decode)
Result: SOS HE
Decoded text is always uppercase. Typing ...--- with no gap gives � instead.

04Common use cases

  • Encoding a clue for an escape room, geocache or puzzle hunt, with slashes so it survives being printed or pasted
  • Checking your copy while practising Morse for an amateur radio licence or club event
  • Generating the dot and dash pattern for an Arduino or Raspberry Pi LED or buzzer sketch
  • Decoding a Morse string found in a CTF challenge or game, and spotting bad letter gaps through the � marker
  • Preparing the typographic dot and minus version of a name for an engraving, print or slide
  • Quickly looking up a single punctuation code, like @ or the question mark, in the reference table

05Tips

  • If a decoded message shows �, look for a missing gap between letters. ...--- is one unknown code, while ... --- decodes to SO.
  • Pick the slash separator for chat apps and HTML, which often squash double spaces into one and merge your words.
  • Accented letters and symbols like # or % are not in the table and disappear from the output, so spell them out first.
  • Standard timing is one unit for a dot, three for a dash, three between letters and seven between words. Use that ratio in LED or buzzer code.
  • The decoder accepts the tool's own display output, so you can round-trip a message to check it.

06Related concepts

Morse code, International Morse, Amateur radio, CW, Encoding.

Frequently Asked Questions

What is Text to Morse?

Text to Morse is a free, browser-based developer tool on AIDToolStack. Convert text to Morse code It requires no installation or sign-up and works entirely in your browser.

Is Text to Morse free to use?

Yes. No sign-up, no fees and no usage cap.

Does Text to Morse store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe