Morse Code Translator

Convert text to Morse code or decode Morse back to text — full International Morse alphabet, digits, and punctuation, with adjustable separators. Runs entirely in your browser, no server, no sign-up.

Result

What this tool does

Translate plain text into International Morse code, or decode Morse code back into text — instantly and right in your browser. Nothing is sent to a server: it runs locally, works offline, and needs no sign-up. Pick a Direction, paste your input, and optionally tweak the separators.

Direction

DirectionWhat it does
encode (default)Turns text into Morse — SOS becomes ... --- ....
decodeTurns Morse back into text — ... --- ... becomes SOS.

Encoding is case-insensitive (Hello and HELLO give the same Morse). Any character that isn't in the Morse alphabet is replaced by the code for ?, so the output is still decodable.

Separators

Morse code on its own is just dots and dashes — the spacing is what tells letters and words apart. You can set both:

Leave a field blank to use its default. When decoding, the tool also accepts an underscore (_) anywhere a dash (-) would appear.

Supported characters

Examples

InputDirectionOutput
SOSencode... --- ...
Hello Worldencode.... . .-.. .-.. --- / .-- --- .-. .-.. -..
... --- ...decodeSOS
.... .. / -.-- --- ..-decodeHI YOU
2026encode..--- ----- ..--- -....

FAQ

Is it free and private?

Yes — your input never leaves your device, and the translator keeps working offline once the page has loaded. There is no sign-up and nothing is logged.

Which Morse standard does it use?

The International Morse code (ITU-R M.1677-1) alphabet — the same letters, digits, and punctuation used worldwide for amateur radio and signalling, plus a few everyday extras like @ and $.

What happens to characters that have no Morse code?

When encoding, any character outside the supported set is replaced by the code for ? (..--..) so the message still translates cleanly.

How do I decode Morse with unusual spacing?

Set the Letter separator and Word separator to match the spacing in your input. For example, if words are split with a pipe (|) and letters by a single space, set the word separator to | and leave the letter separator blank.

Can I convert numbers and punctuation?

Yes — digits 0–9 and common punctuation (. , ? ! / : ; = + - " $ @ and more) all have Morse codes and round-trip both ways.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool morse-code "SOS"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/morse-code/?text=SOS&direction=encode&letter_sep=%7C%20%E2%86%92%20e.g.%20...%7C---%7C...&word_sep=%20%2F%20

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.