Browser-local text utility

Morse Code Translator

Translate text into International Morse code or decode dots and dashes back into text. Enter either format, choose the direction, and copy or play the result.

Enter text and choose an action.

Method and example

The mapping follows in-force ITU-R Recommendation M.1677-1. Characters use spaces between signals and a slash between words. Visual dot and dash variants are normalized before decoding.

Worked example

SOS becomes ... --- ... . HELLO WORLD becomes .... . .-.. .-.. --- / .-- --- .-. .-.. -.. .

Behavior and limits

  • Supports A–Z, 0–9, and the documented punctuation shown below.
  • Decoded letters are uppercase because Morse does not encode letter case separately.
  • Unsupported text characters are rejected; invalid Morse tokens appear as � with a warning rather than a fabricated letter.
  • Playback is user-initiated, uses standard dot/dash timing at 12, 18, or 24 WPM, and can be stopped at any time.
  • Microphone, audio-file, camera decoding, and audio export are outside this tool.

Common mistakes

  • Running letters together without character spaces
  • Using an unsupported nine-dot token
  • Expecting uppercase and lowercase to have different signals
  • Treating the slash word separator as a letter

Morse code alphabet

A .- · B -... · C -.-. · D -.. · E . · F ..-. · G --. · H .... · I .. · J .--- · K -.- · L .-.. · M -- · N -. · O --- · P .--. · Q --.- · R .-. · S ... · T - · U ..- · V ...- · W .-- · X -..- · Y -.-- · Z --..

Morse code numbers

0 ----- · 1 .---- · 2 ..--- · 3 ...-- · 4 ....- · 5 ..... · 6 -.... · 7 --... · 8 ---.. · 9 ----.

Common Morse code punctuation

Period .-.-.- · comma --..-- · question mark ..--.. · apostrophe .----. · slash -..-. · parentheses -.--.- · colon ---... · semicolon -.-.-. · equals -...- · plus .-.-. · hyphen -....- · quotation mark .-..-. · at sign .--.-.

How spaces work in Morse code

Use one space between encoded characters. A slash separates words in the translator output, so HI THERE becomes .... .. / - .... . .-. ..

Common Morse code examples

SOS → ... --- .... HELLO → .... . .-.. .-.. ---. THANK YOU → - .... .- -. -.- / -.-- --- ..-.

International Morse source

The mapping and spacing method were reviewed against ITU-R M.1677-1 (10/2009), International Morse code, reviewed September 1, 2026. Optional playback uses a 1,200 ÷ WPM dot duration, a three-dot dash, one-dot element gaps, three-dot letter gaps, and seven-dot word gaps. Playback is synthesized locally after the user selects Play.

Supported punctuation: period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, quotation mark, dollar sign, and at sign.

Large-text handling

Character counting, case conversion, and reversal accept up to 5,000,000 UTF-16 code units and run only after an explicit action. Morse translation uses a lower 100,000-character text limit because encoded output can expand substantially.