Morse Code Encoder / Decoder
Edit either side — updates live. Words separated by / in Morse.
About
The Morse Code Encoder / Decoder converts plain text to international Morse code and decodes Morse code back to readable text instantly as you type. It covers all A–Z letters, digits 0–9, and common punctuation marks. The built-in audio playback uses the Web Audio API to play the encoded message as authentic beeps — no external library, no audio file downloads, 100% private. Speed is adjustable from 10 to 25 WPM (words per minute) using the PARIS standard. The interactive cheatsheet below the editor lets you click any character to insert it directly into the input, making it a great tool for learning Morse code.
How to use
- 1 Type text in the left panel to see the Morse code equivalent appear on the right in real time.
- 2 To decode, enter Morse code (dots and dashes) in the right panel — letters separated by spaces, words by /.
- 3 Click "Play audio" to hear the Morse code as beeps. Adjust speed with the WPM selector (10–25 WPM).
- 4 Click any character in the Morse Code Cheatsheet to append it to the text input.
- 5 Use the copy button on either panel to copy the result to your clipboard.
- What is Morse code and who uses it today?
- Morse code is a character encoding system that uses sequences of dots (short signals) and dashes (long signals) to represent letters, digits, and punctuation. While no longer used for commercial long-distance communication, it remains active in amateur (ham) radio, aviation navigational beacons (VOR/NDB identifiers), and accessibility technology — people with motor impairments can use Morse code as an input method via switch devices.
- How do I separate words when entering Morse code to decode?
- Separate individual letters with a single space and separate words with a forward slash (/). For example, "... --- ..." represents SOS, and "... --- ... / --- -.-" represents "SOS OK". This tool auto-encodes your text in the correct format when you type normally.
- How does the audio playback work?
- The audio uses the browser's Web Audio API to synthesise a 650 Hz sine-wave tone entirely in your browser — no audio files are downloaded and no data is sent to any server. Speed is measured in WPM using the PARIS standard: at 15 WPM, one dit (dot) lasts 80 ms. A dash (dah) is 3× a dit, the inter-letter gap is 3× a dit, and the inter-word gap is 7× a dit.
- What WPM speed should I choose?
- 10–12 WPM is a comfortable beginner speed. 15–18 WPM is used in amateur radio novice exams. 20+ WPM is considered proficient. Start slow to learn the rhythm of each character, then increase the speed as you become familiar. The PARIS standard defines one word as 50 dit-units, so the timing scales precisely.