Free Morse Code Translator
Convert text to Morse code and back. Listen to the audio playback of your message in real time.
Letters play at the speed on the left; the gaps between them stretch to the gap speed. Good for learning to hear whole letters.
Encoding, not encryption. Morse code is a public encoding standard β it provides no confidentiality or security. Anyone who sees the output can instantly decode it.
Morse code reference
Common uses
- Learn Morse CodeType familiar words and see their Morse code β learn to read and write Morse code letter by letter.
- Encode Messages for Ham RadioConvert radio messages to Morse code for amateur radio (CW) operators and exams.
- Send Secret Morse Code MessagesEncode messages in Morse code for fun, games, puzzles, and escape rooms.
- Learn SOS and Emergency Morse SignalsLearn the internationally recognised SOS signal and other emergency Morse code patterns.
- Aviation Morse Code ReferenceDecode navigation beacon identifiers and aviation Morse code signals used in VORs and NDBs.
How It Works
The tool encodes and decodes text using a hardcoded International Morse Code lookup table β no library, no server call. Conversion, audio playback, and WAV export all run entirely in the browser using the Web Audio API.
- 1Lookup table conversionEach character is uppercased and matched against a 54-entry MORSE object (A-Z, 0-9, and common punctuation). Letters become dot-dash sequences separated by spaces; word boundaries become a forward slash. Decoding reverses the same table. Unknown characters are flagged rather than silently dropped.
- 2ITU-standard timing calculationThe tool derives all timing from a single unit: 1.2 seconds divided by your chosen words-per-minute (the PARIS standard). A dot is 1 unit, a dash is 3, the gap between letters is 3 units, and the gap between words is 7 β matching the ITU-R M.1677 specification.
- 3Web Audio API playbackPressing Listen creates an AudioContext and schedules one OscillatorNode per dot or dash at your chosen tone frequency (400β1000 Hz). A tiny linear ramp on the GainNode smooths each beep's attack and release to avoid clicks. No audio files are fetched β the waveform is synthesised on the fly.
- 4Offline WAV exportDownload WAV uses OfflineAudioContext to render the same oscillator schedule to an AudioBuffer at 44100 Hz without playing it aloud, then a hand-written DataView encoder packs the samples into a standard 16-bit mono RIFF/WAV binary and triggers a file download β no server involved.
Related Tools
URL Encoder & Decoder
Encode and decode URLs and query strings. Supports encodeURIComponent, decodeURIComponent, and query string parsing.
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to plain text. Instant, private, and free.
HTML Encoder & Decoder
Encode special characters to HTML entities or decode entities back to plain text. Instantly, in your browser.