Morse code encoder and decoder
Convert ASCII letters and digits to dot-dash text and back
All input is processed in this browser and is never sent to a server or written to local storage.
Enter data or load the example, then process it.
Up to 10,000 UTF-16 units. Only ASCII letters, digits and the documented separators are supported.
Supported input and rules
This tool supports the International Morse subset A–Z and 0–9. Encoding accepts ASCII letters in either case and outputs uppercase semantics. Whitespace runs become one word boundary. Decoding uses a space between letter codes and a slash between nonempty words; dots and ASCII hyphens are required.
How to use the result
Choose a direction and enter text or Morse groups. Unknown letters, punctuation, unsupported Unicode characters and invalid code groups are rejected instead of silently dropped. When decoding, repeated whitespace can separate letter groups, but an empty word between slashes is invalid.
Worked example
SOS 123 becomes ... --- ... / .---- ..--- ...--. Decode the same sequence to obtain SOS 123. Original letter case, repeated spaces and line layout are not preserved; the output is normalized text suitable for checking a written exercise.
Scope and limitations
There is no audio recognition, tone playback, flashing light or transmission timing. Procedural signals, national extensions, punctuation and Chinese-character encodings are outside this subset. Dots and dashes here represent written symbols, not an encrypted or confidential message.