How to write and decode text in Morse code

Convert A–Z letters and digits to dots and dashes or decode a Morse sequence.

Practical guideUpdated Approx. reading time: 4 min
On this page

Format and limits

Enter A–Z letters, digits 0–9 and whitespace. Output uses one space between letters and a slash / between words. Lowercase becomes uppercase. Accents, ñ, punctuation and emoji are not supported: deliberately remove or replace them before converting. Line breaks and consecutive whitespace are normalized to one word boundary. To decode, separate letter codes with spaces and words with /. Unknown codes cause an error rather than being omitted. Input is limited to 100,000 characters. This tool generates text, not sound or timed signals, and is not an emergency communication channel. Uppercase spelling is recovered, but original capitalization and spacing cannot be reconstructed.

Step-by-step example

Load SOS 2026 and convert. SOS must become ... --- ... with a slash before the digits. Copy the result and choose reverse conversion to recover SOS 2026. Repeat with lowercase sos: the output is identical. Try an accented letter to verify it is rejected rather than silently discarded.

SOS 2026
→
... --- ... / ..--- ----- ..--- -....
  1. Enter your data or load the tool’s example.
  2. Choose the options and press the main button.
  3. Check the result before copying or downloading it.

Copy, download and repeat

Start with the example and observe the relationship between input and output before pasting a complete document. The example is deliberately small so that you can check it without another application. Then replace its data with a representative sample of your case and adjust the options. The main button performs the operation; loading the example only fills the controls. If you modify any input after calculating, the previous result is hidden so that you do not copy a version that no longer corresponds to the data. Run the operation again after every change. Clear restores the initial form values and discards the result on the page. Copy places the output text on the clipboard when the browser allows it. Download creates a file only when you explicitly request it; calculating does not start downloads. Keep a separate copy of the input if you need to repeat the work later, because this form is not a project archive and does not maintain an operation history.

Review before sharing

Check a short sample whose result you can predict and another case containing the details that matter for your work. Inspect both the beginning and the end of the output; an apparently correct result may belong to an earlier input if you have saved several copies outside this page. If an error appears, reduce the sample until you find the offending data and review the stated limits. Do not remove information merely to dismiss a warning: first check whether the chosen operation represents what you need. Before using a download in another program, open it and inspect its characters, structure and values. The file contains the result rather than the form settings. If you need to explain how it was produced, retain the input and the options used as well.

TRY IT YOURSELF

Step-by-step example

Load SOS 2026 and convert. SOS must become ... --- ... with a slash before the digits. Copy the result and choose reverse conversion to recover SOS 2026. Repeat with lowercase sos: the output is identical. Try an accented letter to verify it is rejected rather than silently discarded.

SOS 2026

... --- ... / ..--- ----- ..--- -....

Enter A–Z letters, digits 0–9 and whitespace. Output uses one space between letters and a slash / between words. Lowercase becomes uppercase. Accents, ñ, punctuation and emoji are not supported: deliberately remove or replace them before converting. Line breaks and consecutive whitespace are normalized to one word boundary. To decode, separate letter codes with spaces and words with /. Unknown codes cause an error rather than being omitted. Input is limited to 100,000 characters. This tool generates text, not sound or timed signals, and is not an emergency communication channel. Uppercase spelling is recovered, but original capitalization and spacing cannot be reconstructed.