Convert text to Morse code dots and dashes

Translate supported Latin text into International Morse symbols or decode spaced dot-and-dash groups.

freeworks offlinenothing uploaded
ToolMorse Code Translator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Encoding uppercases mapped letters and joins every signal group with one space while a word space becomes slash. Decoding recognizes slash or at least three spaces between words, one space between characters, and writes ? for an unknown signal group.

  • The table covers A–Z, digits, and a fixed punctuation subset from written International Morse.
  • Slash is a visible plain-text word separator; audible transmission instead depends on timed signal and gap lengths.

Worked example

Text to Morse
Convert 'SOS' to Morse code
Input
											SOS
										
Output
												... --- ...
											

When to use this

Amateur-radio lessons check character patterns, scouting activities encode short messages, and telegraph demonstrations distinguish symbols from transmission timing.

Edge cases

  • é and other unsupported letters pass through during encoding rather than being transliterated to E.
  • An unknown group such as ..--.-.- decodes to ? instead of disappearing.
  • Multiple source word spaces create repeated slash tokens, while decoding also accepts a gap of three or more spaces.

References