· —
Encoding & Decoding

Morse Code Translator

Encode and decode International Morse Code and play it back with the Web Audio API.

01

Tool

Morse output
-.-. --.- / -.-. --.- / -.. . / .... .- -- ... - .- - .. --- -.
Decoded text
02

How it works

International Morse Code encodes each character as a sequence of dits (·) and dahs (—). A dah is 3 dit-lengths; intra-character gap is 1 dit; inter-character gap is 3 dits; inter-word gap is 7 dits. WPM sets the dit length as 1200 / WPM in milliseconds (PARIS standard).

03

How to use

  1. Type text on the left to see Morse on the right, or paste dots and dashes to decode.
  2. Adjust WPM and tone frequency (typical CW pitch is 600–800 Hz).
  3. Press Play to hear the Morse; use Stop to abort playback.
04

Frequently asked questions

Which characters are supported?

A–Z, 0–9, and common punctuation using International Morse.

Why can't I hear anything?

Some browsers block audio until you interact. Click Play once after typing.