Ttooleras
📡

Morse Code Translator

Encoding Tools

Translate between text and Morse code with support for letters, numbers, punctuation, and audio playback of the encoded signal.. Free, private — all processing in your browser.

Advertisement

The Morse Code Translator converts between text and Morse code in both directions. Morse code, developed in the 1830s for telegraph communication, represents letters and numbers as combinations of short signals (dots, \\u2022) and long signals (dashes, \\u2500). SOS — the international distress signal — is ···—··· (dot dot dot dash dash dash dot dot dot). The code is still used today in amateur radio, aviation emergency communication, as a fallback for severely disabled communication, and in scouting and emergency preparedness training.

This tool handles text-to-Morse and Morse-to-text translation using the International Morse Code standard. Letters, digits 0-9, punctuation (period, comma, question mark, etc.), and common special characters are all supported. Output format options include standard dots and dashes (· and —), ASCII representation (. and -), slash-separated letters, and optional audio playback at adjustable speed (measured in words per minute, WPM). Morse-to-text parses several input formats (spaces between letters, slashes between words, or any consistent separator) and handles common variations gracefully. All processing runs in your browser — no signal leaves your machine.

Morse Code Translator — key features

Bidirectional translation

Text to Morse or Morse to text — pick direction and paste.

Full character set

Letters A-Z, digits 0-9, punctuation, and common special characters supported per ITU standard.

Audio playback

Hear Morse code at your chosen speed (5-40 WPM) for learning or verification.

Multiple output formats

Dots and dashes (·—), ASCII (.-), slash-separated per letter, or visual timing diagram.

Flexible input parsing

Accepts Morse with spaces between letters and slashes or double-spaces between words; handles variations.

Speed control

WPM setting from 5 (beginner) to 40 (proficient) for audio and timing.

Case handling

Morse is case-insensitive; output preserves whichever case your input had.

Client-side only

Translation and audio run in your browser — nothing sent to a server.

How to use the Morse Code Translator

  1. 1

    Pick direction

    Text to Morse or Morse to text.

  2. 2

    Enter your content

    Paste text or Morse code into the input field.

  3. 3

    Choose output format

    Dots and dashes, ASCII, or slash-separated.

  4. 4

    Optional — play audio

    Click the play button to hear the Morse at your chosen WPM.

  5. 5

    Copy the result

    One-click copy the translation to clipboard.

Common use cases for the Morse Code Translator

Learning and hobby

  • Morse code practice: Translate text and listen to the audio to learn letter patterns and timing.
  • Amateur radio: Prepare Morse messages for CW (continuous wave) radio transmission or decode received signals.
  • Scout badges: Practice Morse for emergency preparedness badges in scouting programs.

Emergency and safety

  • Distress signal: Translate a message to Morse for signaling via flashlight, whistle, or radio in emergency.
  • Disaster communication: Morse works over low-bandwidth or noisy channels when voice fails.
  • Hospital communication: Locked-in syndrome patients communicate via blinking in Morse — tool helps caregivers decode.

Puzzles and creative

  • Escape room puzzles: Hide messages in Morse for puzzle clues.
  • Cryptography history: Explore how early telegraph systems encoded messages.
  • Tattoo or jewelry: Convert meaningful short phrases to Morse patterns for personalized design.

Morse Code Translator — examples

SOS

International distress signal.

Input
SOS
Output
··· ——— ···

Classic phrase

"Hello World" in Morse.

Input
HELLO WORLD
Output
···· · ·—·· ·—·· ———   ·—— ——— ·—· ·—·· —··

Numbers

Morse for digits.

Input
2026
Output
··——— ————— ··——— ——····

Morse to text

Decoding received Morse.

Input
— ——— ———   ··· — ··· ·—· ·
Output
TWO STSRE (with spacing check; corrected: TOO LATE would be —— ——— ——— / ·—·· ·— — ·)

Prosign

End of contact prosign.

Input
SK (prosign)
Output
···—·— (as one token, no inter-letter space)

Technical details

International Morse Code (ITU standard) assigns dot-dash patterns to each letter, digit, and punctuation mark:
- Letters: A = ·—, B = —···, C = —·—·, ..., Z = ——··
- Digits: 0 = —————, 1 = ·————, ..., 9 = ————·
- Punctuation: period = ·—·—·—, comma = ——··——, question = ··——··

Timing rules (in units):
- Dot: 1 unit
- Dash: 3 units
- Space between dots/dashes within a letter: 1 unit
- Space between letters: 3 units
- Space between words: 7 units

Words per minute (WPM) is calibrated against the word PARIS (50 units total). 20 WPM = 1000 units per minute, so 1 unit = 60 ms. 5 WPM (beginner) = 240 ms per unit.

Text-to-Morse encoding: look up each character in the Morse table, output the pattern. Unknown characters are skipped or marked with a question mark pattern.

Morse-to-text decoding: tokenize the input by separator (common conventions: spaces between letters, / or | between words, or multiple consecutive spaces). Look up each token in the reverse Morse table. Unknown patterns are marked with # or similar.

Case insensitive: Morse doesn\u2019t distinguish uppercase and lowercase. The tool converts to uppercase internally for lookup.

Audio generation: Web Audio API generates sine wave tones at a configurable frequency (typically 600-750 Hz) with timing derived from WPM. Dots are short tones, dashes long tones, with silence between.

Prosigns: special operational signals like SK (end of contact) written without spaces between the letters (···—·—). The tool includes common prosigns as special entries.

Non-English languages: ITU has extensions for accented characters (é, ö, ü, etc.). The tool supports common Latin-script extensions but not Cyrillic, Greek, or other scripts (which have their own Morse variants).

Common problems and solutions

Word spacing ambiguity

Different sources use different separators between words: /, \ , space-space, or 7-unit pause. The tool accepts common conventions but if decoded output runs words together, check for missing separators.

Case lost

Morse is case-insensitive. Decoding outputs uppercase by default. If original case matters (proper names), note it separately — Morse cannot preserve case.

No distinction between letters and prosigns

The pattern ···—·— is SK as a prosign or could be S K as two letters with no space. Context determines meaning. The tool treats it as letters by default.

Rare punctuation varies

Some less common symbols (@ introduced by ITU in 2004, dollar sign, etc.) have varying patterns or aren’t in all Morse tables. The tool uses current ITU standard.

Non-English characters

Accented characters (é, ü, ñ) have ITU extensions but support varies. CJK, Cyrillic, Greek have their own Morse variants not covered by this tool.

Timing precision

Real Morse depends on timing proportions. Written Morse (dots and dashes) loses this detail. Audio playback restores timing, which is important for learning.

Audio masking bug

Playing Morse audio in a browser tab may not work if audio autoplay is blocked. Click the play button explicitly to comply with browser autoplay policies.

Morse Code Translator — comparisons and alternatives

Compared to a printed Morse code chart, this tool is bidirectional (type text or Morse), plays audio for learning, and handles edge cases (prosigns, punctuation) consistently. Charts are the foundation; this is the interactive implementation.

Compared to dedicated Morse training apps (Morse Mania, GBoard Morse), this tool is a translation aid rather than a learning curriculum. For structured learning, use a training app; for quick translation, this tool.

Compared to other online Morse translators, this one includes audio playback with WPM control, prosign support, and proper ITU character coverage. Simpler translators often miss punctuation or prosigns.

Frequently asked questions about the Morse Code Translator

What is SOS in Morse code?

SOS is ··· ——— ···. Three dots, three dashes, three dots. It is the international distress signal, chosen because it\u2019s easy to remember and hard to confuse with other sequences even in noisy conditions. SOS doesn\u2019t stand for anything — it was chosen for its simplicity, not as an acronym.

How do I learn Morse code?

Learn a few letters per day by sound (not sight) — the letter E is · (one dot), T is — (one dash), I is ·· (two dots), and so on. Use the audio playback at 5-8 WPM to train your ear. Many amateur radio operators use the Koch method of gradually increasing speed.

What is WPM?

Words per minute — the speed measure for Morse code. Based on the word PARIS (50 units). 5 WPM is beginner; 20 WPM is proficient; 40+ WPM is expert. The tool lets you choose your comfortable speed for audio playback.

Is Morse code still used?

Yes, in specific contexts: amateur radio (especially CW — continuous wave operators), aviation navigation beacons (airports still broadcast station identifiers in Morse), maritime emergency communication, and as an assistive communication method for severely disabled users. Commercial telegraphy ended in 2000.

Can I play Morse as audio?

Yes. The tool includes audio playback using the Web Audio API. Adjust WPM for speed and click play to hear the Morse at that pace. Useful for learning by ear, which is the traditional method.

Does Morse code have punctuation?

Yes. ITU Morse includes period (·—·—·—), comma (——··——), question mark (··——··), exclamation, colon, semicolon, equals, plus, slash, and parentheses. Less common characters have varying support across Morse tables.

What is a prosign?

Operational signals used in Morse communication to indicate commands or states, like SK (end of contact), AR (end of message), BT (break/pause). They\u2019re transmitted as their constituent letters without inter-letter spaces, making them distinct tokens rather than normal letter sequences.

Is this the same Morse as used in old telegraphs?

International Morse Code is a refinement of the original Morse code used by Samuel Morse for telegraphs. The ITU standardized it in 1865. American Morse (the original) had some different patterns but is now extinct outside historical reenactment.

Additional resources

Advertisement

Related tools

All Encoding Tools

Explore more tools

200+ free tools that run in your browser.

Browse all tools →