Text Tools

Morse Code Translator

Translate text to/from Morse code and play it as sound.

Type text or Morse code (dot ., dash -, space, /) to convert in real time.

Result

-

Please enter text or Morse code.

Note: uses the International (ITU) Morse code standard; characters not in the table (e.g. Hangul) are skipped.
What is this converter?

The Morse code converter transliterates text into International (ITU) Morse code and back to text in real time. You can also play the result as sound using WebAudio. Everything runs in your browser, so nothing you type is sent to a server.

Notation rules

A dot is written as . and a dash as -. Symbols within a letter are written together, letters are separated by a space, and words are separated by a slash (/).

e.g. SOS → ... --- ..., HI THERE → .... .. / - .... . .-. . .-.-.-

With Auto-detect, input made only of dots, dashes, spaces and slashes is treated as Morse→text; otherwise it's treated as text→Morse.

Playback rules
  • Dot = 1 unit tone
  • Dash = 3 units tone
  • Gap within a letter = 1 unit
  • Gap between letters = 3 units
  • Gap between words = 7 units

Press Stop any time to stop playback.

Morse code table
CharMorseCharMorse
What is Morse code?
Morse code represents letters, digits and punctuation as combinations of dots (short signals) and dashes (long signals). This tool uses the International (ITU) Morse code standard.
How is text written as Morse code?
A dot is `.` and a dash is `-`. Symbols within a letter are written together, letters are separated by a space, and words are separated by a slash (`/`).
Do I need to pick a direction every time?
No. With "Auto-detect", input made only of dots, dashes, spaces and slashes is treated as Morse-to-text; otherwise it is treated as text-to-Morse. You can still pick a direction manually.
What rules does the sound playback follow?
Sound is played with the browser's WebAudio oscillator. A dot is 1 unit long and a dash is 3 units long; the gap within a letter is 1 unit, between letters 3 units, and between words 7 units.
What happens to unsupported characters?
Characters not in the table (e.g. Hangul) beyond A-Z, 0-9 and basic punctuation (. , ? ! / ( ) & : ; = + - _ " $ @, space) are skipped during conversion.