Morse Code Translator
Translate text, decode local Morse audio, tap a key, or export a practice WAV.
Playback settings
Morse reference
Runs locally in your browser. Nothing is uploaded or sent to a server.
Enter text or dots and dashes to get Morse code or readable text immediately. Auto selects the direction for ordinary text and Morse containing at least two ASCII marks; use Morse → Text for a single mark or typographic symbols. Decode a local audio file, practice with Tap key, or download WAV. Playback settings offer speed, pitch, Farnsworth spacing, Sound, Light and supported Vibration. Translation and audio processing run locally in your browser.
Updated
Related Tools
Audio Cutter
Select the sound you need. Keep it, or cut it out.
text-toolsCharacter Counter
Count visible characters and UTF-8 bytes, with a letter, digit, space, and symbol breakdown.
text-toolsOnline Notepad
Keep multiple local notes, replace literal text, restore saved versions, and export a JSON backup.
developer-toolsBase64 Encode / Decode
Convert text or files, repair Base64 padding, choose charsets, and process separate lines locally.
generatorsPassword Generator
Generate random passwords, word-based passphrases, or PINs with rules that match your destination.
How do I translate a message into Morse code and back?
Enter HELLO WORLD in Text → Morse. The result is .... . .-.. .-.. --- / .-- --- .-. .-.. -..: single spaces separate letters, and the slash separates words. Switch to Morse → Text and paste that result to recover HELLO WORLD. Conversion updates as you type; Play starts signaling rather than triggering translation.
Case is not preserved: lowercase input is converted to uppercase before lookup. Runs of text whitespace collapse into one word separator, so a round trip preserves the message rather than its original capitalization or layout. Use Copy for the displayed translation, or draft a message in the online notepad before translating.
What is Morse code?
Morse code represents characters with short dots and longer dashes. Samuel Morse and Alfred Vail developed the telegraph system in the nineteenth century; International Morse Code is specified in ITU-R M.1677. E is a dot, T a dash and I two dots. Letter boundaries matter: ... is S, whereas . . . is EEE. This translator uses a fixed character table, not language prediction.
Which characters, separators and errors does the translator handle?
The table contains 26 letters, 10 digits and 18 punctuation marks. These include periods, commas, question marks, parentheses, quotation marks and @. A literal slash encodes as -..-., keeping A/B distinct from A B. Unsupported characters become ? with a warning during encoding; unknown dot-dash sequences also decode as ?, though ordinary invalid codes do not produce a separate warning.
For decoding, separate letters with whitespace and words with a slash or at least three whitespace characters. The interface also accepts a vertical bar as a word separator. Explicit decoding normalizes middle dots, bullets and several typographic dash characters. Auto is narrower: it requires at least two ASCII dots or dashes and permits only marks, separators and whitespace. Select Morse → Text for a single mark, typographic symbols or bracketed prosigns.
For playback and WAV export, use a standalone slash between words. Three spaces decode correctly as a word boundary in text, but the audio scheduler treats whitespace as token separation and needs the slash to insert a word-length pause. Review both your separators and any question marks before making a practice recording.
How do I decode a local Morse audio file?
Use Open Morse audio file under Decode a local Morse audio file. Files above 25 MB are rejected, and the browser must be able to decode the selected audio codec. Successful import replaces the input with detected Morse and selects Morse → Text. The status reports estimated WPM and frequency, with a reminder to review noisy recordings.
The decoder averages channels, measures signal and silence durations, and groups them into marks and gaps. It does not transcribe speech. When marks have nearly identical lengths, the selected character speed supplies a timing hint; a short recording of only dots or only dashes is therefore ambiguous. Silence can return “No Morse tone detected.” Trim unwanted material with the audio cutter and check the resulting letters manually.
How do speed and Farnsworth spacing affect the sound?
Open Playback settings. Speed ranges from 5 to 40 WPM; Pitch (Hz) ranges from 300 to 1000. Defaults are 20 WPM and 600 Hz. The PARIS timing convention uses 50 units per word, giving a dot duration of 1200 / WPM milliseconds. Dashes last three units; internal, letter and word gaps last one, three and seven units respectively.
At 20 WPM, dots last 60 ms, dashes 180 ms and ordinary letter gaps 180 ms. Enable Farnsworth spacing to separate Character speed from Effective speed. At character speed 20 and effective speed 10, dots remain 60 ms while letter gaps become about 654 ms. Effective speed cannot exceed character speed. The extra time goes into letter and word gaps, leaving each character's internal rhythm intact.
How do I save and repeat a practice recording?
Press Download WAV to create morse-code.wav as 16-bit mono PCM at 44.1 kHz. Export uses the selected pitch and timing, including Farnsworth gaps, and refuses schedules longer than ten minutes. Shorten the message or increase speed if export becomes unavailable. Empty schedules cannot be downloaded.
Use Pause and Resume during playback, or enable Repeat to practice the same message again. Stop ends playback. Sound, Light and supported Vibration share the playback schedule. Light starts off; enabling it stretches the whole schedule to a minimum dot unit of 167 ms, keeping repeated dot flashes below three per second. Flashing can affect photosensitive users. WAV export keeps its original timing independently of this playback adjustment.
How does Tap key turn presses into letters?
Select Tap key and hold Hold to tap, or focus that button and use Space. A press shorter than two dot units counts as a dot; a press at or above that threshold counts as a dash. At 20 WPM, the dividing point is 120 ms. Gaps over two units separate letters, and gaps over five units separate words. These boundaries are measured between recorded presses, with decoded output updating as presses are released. Clear resets the keyed message. No microphone is used.
What are Morse prosigns?
Prosigns combine marks into one uninterrupted procedural signal. Enter a supported name in angle brackets to encode it. Ordinary SOS contains letter gaps; <SOS> produces ...---... without them. Unknown bracketed names produce a question mark and warning. When raw codes overlap punctuation, punctuation takes precedence: AR shares +, BT shares = and KN shares (. Explicit bracketed tokens decode to their bracketed names.
| Prosign | Code | Meaning |
|---|---|---|
| <SOS> | ...---... | Distress call |
| <AR> | .-.-. | End of message |
| <SK> | ...-.- | End of contact |
| <BT> | -...- | Break, new paragraph |
| <KN> | -.--. | Go ahead, named station only |
What are the Morse patterns for letters and numbers?
Use this chart for manual checking. Spaces within each chart cell visually separate marks, not letters; remove those spaces when entering one character. Expand Morse reference in the tool for punctuation too. Browse Developer Tools for other encoders, including the Base64 encoder and decoder.
| Character | Morse Code | Character | Morse Code | Character | Morse Code | ||
|---|---|---|---|---|---|---|---|
| A | · − | J | · − − − | S | · · · | ||
| B | − · · · | K | − · − | T | − | ||
| C | − · − · | L | · − · · | U | · · − | ||
| D | − · · | M | − − | V | · · · − | ||
| E | · | N | − · | W | · − − | ||
| F | · · − · | O | − − − | X | − · · − | ||
| G | − − · | P | · − − · | Y | − · − − | ||
| H | · · · · | Q | − − · − | Z | − − · · | ||
| I | · · | R | · − · | ||||
| 0 | − − − − − | 1 | · − − − − | 2 | · · − − − | ||
| 3 | · · · − − | 4 | · · · · − | 5 | · · · · · | ||
| 6 | − · · · · | 7 | − − · · · | 8 | − − − · · | 9 | − − − − · |
How to Use Morse Code Translator
-
Auto
Type or paste your message. Choose Text → Morse to encode explicitly, Morse → Text to decode, or Tap key to key a message with Hold to tap.
-
Decode a local Morse audio file
Optionally use Open Morse audio file to select a recording up to 25 MB. Review the decoded text and estimated WPM and frequency.
-
Playback settings
Set Speed from 5 to 40 WPM and Pitch (Hz) from 300 to 1000. Enable Farnsworth spacing for Character speed and Effective speed, then select Sound, Light or supported Vibration.
-
Play
Listen or watch, use Pause and Resume, enable Repeat for practice, or press Stop. Use slash separators between words when playing pasted Morse.
-
Copy
Copy the translation or select Download WAV to save the audio. WAV export is available for nonempty audio schedules lasting no more than 10 minutes.