FormatterHQ

Morse Code Translator

Translate text into International Morse code or decode dots and dashes back into text. Both sides update live as you type.

Loading tool…
Ready.

How to use the Morse Code Translator

  1. Type or paste into the Text box, or click Sample. You can also drop a text file on either box, or load one into the Morse code box with its Open file button.
  2. The Morse code box updates live as you type. It works both ways — edit the Morse code side to convert back, or click ⇄ Swap to exchange the sides.
  3. Use Copy or Download on either box to take the result, or Clear to start again.

Morse code translator in both directions

This Morse code translator converts letters, digits and common punctuation into International Morse code, and turns Morse back into text. It shows two linked boxes: type text on one side and the dots and dashes appear on the other, or type Morse code and read the text — whichever side you edit drives the conversion.

Example

Text:

SOS Help is on the way

Morse code:

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

And back again: ... --- ... / .... . .-.. .--. → SOS HELP.

Notation used

  • A dot is . and a dash is -.
  • Letters are separated by one space.
  • Words are separated by / . When decoding, a vertical bar or three or more spaces also count as a word break.
  • Each line is translated separately, so line breaks are preserved.
  • Typographic dots and dashes (•, ·, –, —) and underscores are accepted when decoding, which helps with text copied from web pages.

Supported characters

The 26 letters (Morse has no case, so output text is uppercase), the digits 0–9 and the punctuation . , ? ' ! / ( ) & : ; = + - _ " $ @. Characters without a Morse equivalent, such as ~ or emoji, are skipped when encoding. When decoding, an unknown sequence is shown as � so you can spot it.

Timing, for sending by light or sound

ElementLength
Dot1 unit
Dash3 units
Gap inside a letter1 unit
Gap between letters3 units
Gap between words7 units

At 20 words per minute, one unit lasts 60 milliseconds. Distress signal SOS is traditionally sent as one continuous sequence ...---... without letter gaps.

A little history

Samuel Morse and Alfred Vail developed their telegraph code in the 1830s and 1840s. The International Morse code used today was standardised later and is maintained by the ITU (Recommendation ITU-R M.1677-1). It is still used by amateur radio operators, in aviation navigation beacons that identify themselves in Morse, and as an accessibility input method on some devices.

For other ways of representing text, try Text to Binary or Text to ASCII Codes. The translator runs in your browser.

Common decoding problems

  • Missing letter gaps. ...---... without spaces could be SOS, but also many other combinations. The translator needs a space between letters to know where one ends, so add them before decoding.
  • Prosigns. Operators send some procedure signals as one run, such as AR (.-.-., end of message) and SK (...-.-, end of contact). They decode as the characters that share their pattern, like + for AR, or as � when there is none.
  • Look-alike dashes. Word processors turn hyphens into en or em dashes. Those are accepted, but other symbols are not: a stray character stops decoding with an error that names it, while � marks a dot-dash sequence that is not in the code table.

If you are learning to receive Morse, practise with Farnsworth timing: characters are sent at full speed but with longer gaps between them, so you learn each letter as a sound rather than counting dots and dashes.

Frequently asked questions

What is SOS in Morse code?
SOS is ... --- ... (three dots, three dashes, three dots). In practice it is sent as one continuous signal without the usual gaps between letters.
How are words separated in Morse code?
In writing, a slash (/) between words is common; in transmission, a gap of seven units. This tool outputs / and accepts /, | or three spaces when decoding.
Does Morse code have lowercase letters?
No. Morse code has no case, so decoded text is always uppercase.
Why are some of my characters missing in the output?
Characters without a standard Morse code, such as ~, # or emoji, are skipped during encoding.

Last updated October 3, 2026

Related tools

Code to ASCII Convert source code or any text into a list or array of ASCII character codes for JavaScript, Python or C. QR Code Generator Create free QR codes for URLs, text, Wi-Fi, vCards, e-mail, SMS, phone numbers, locations and events. Custom colours, PNG and SVG. QR Code Reader & Scanner Scan QR codes from an image, screenshot or your camera and see the content — links, Wi-Fi passwords, contacts — safely before opening. vCard QR Code Generator Put your contact details in a vCard QR code for business cards and badges: name, company, phone, e-mail, website and address. Wi-Fi QR Code Generator Make a Wi-Fi QR code so guests can join your network by scanning — SSID, password and security type, printable PNG or SVG. PEM to DER Converter Convert PEM certificates, keys and CSRs to binary DER: view it as hex or Base64 or download the .der file. PEM to JWK Converter Convert PEM public keys, private keys and certificates (RSA, EC, Ed25519) to JSON Web Keys or a JWKS with a thumbprint kid. ROT13 Encoder / Decoder Encode or decode ROT13 text instantly. ROT13 shifts each letter 13 places, so the same operation hides and reveals spoilers. SAML Response Decoder Decode Base64 or deflated SAMLResponse and SAMLRequest messages into readable XML and summarise issuer, NameID, conditions and attributes. String to Byte Array Convert a string into its UTF-8 byte values as a decimal list, array or signed Java byte array. String to Hex Convert text to hexadecimal: each UTF-8 byte of the string is written as two hex digits. Text to ASCII Codes Convert each character of your text to its ASCII / Unicode code in decimal, hex, octal, binary or HTML form.