Metric | Value | Copy |
---|---|---|
Unit (ms) | {{ Math.round(unit_ms) }} | |
Total units | {{ total_units }} | |
Duration (s) | {{ duration_seconds.toFixed(2) }} | |
Characters | {{ char_count }} | |
Words | {{ word_count }} | |
Letters encoded | {{ letter_count }} | |
Unknown chars | {{ unknown_count }} | |
Dots | {{ dots }} | |
Dashes | {{ dashes }} | |
Input text | {{ input_text }} | |
Morse | {{ morse_display }} |
Morse code is a timing based alphabet that represents letters, numbers, and some symbols as short and long signals. Use this text to Morse code converter when you want a clear pattern you can also listen to. It turns everyday writing into dots and dashes you can read at a glance while the audio version teaches the cadence behind the marks.
Enter any short message or paste a paragraph. You see the coded sequence and can play a tone version to hear spacing at your chosen speed. Punctuation and numbers are handled where defined, and uncommon symbols are either skipped or replaced with a placeholder so the pattern stays readable clearly.
Example: Type SOS MEET AT 7 and you will see sequences like ... --- ... / -- . . - / .- - / --... and hear a steady tone that matches the marks. If you include accented letters or unusual punctuation they may not map, so you can keep or replace them using a simple placeholder.
For clearer practice, slow the spacing between letters and words while keeping characters crisp with Farnsworth timing. Pick a comfortable pitch and volume so long sessions stay easy on the ears. Add a brief silence before and after playback if you want really clean cues for recording or group teaching.
International Morse code maps characters to dots and dashes, forming elements and gaps that create rhythm. A dot defines the base time unit; a dash lasts three units. Gaps follow a simple rule set: one unit between elements of a letter, three units between letters, and seven units between words. Words per minute (WPM) sets the physical size of one unit using the common PARIS convention.
Farnsworth timing stretches only the spaces between letters and words while keeping element speed unchanged. When the effective Farnsworth rate is set lower than the character rate, letter gaps adopt three units at the Farnsworth scale and word gaps adopt seven units at that scale; otherwise, gaps use the main unit. The mapping includes A–Z, 0–9, and common marks such as period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, straight quote, dollar, and at sign.
Read outputs as rhythm and timing: the Morse text shows structure; dot and dash counts indicate element balance; total units and duration summarize how long playback will take. Faster character speed compresses elements; Farnsworth spacing lengthens the silence between letters and words without changing element lengths, which helps learners hear clear character shapes.
Symbol | Meaning | Unit/Datatype | Source |
---|---|---|---|
u | Dot time unit | s | Derived |
uf | Farnsworth unit | s | Derived |
WPM | Words per minute | number | Input |
f | Farnsworth rate | number | Input |
N• | Dot count | count | Derived |
N— | Dash count | count | Derived |
Nsym | Symbol count | count | Derived |
Nigap | Inter‑letter gaps | count | Derived |
Nwgap | Inter‑word gaps | count | Derived |
lead, tail | Silence before/after audio | s | Input |
T | Total playback time | s | Derived |
freq | Tone frequency | Hz | Input |
volume | Tone level | percent | Input |
Parameter | Meaning | Unit/Datatype | Typical Range | Sensitivity | Notes |
---|---|---|---|---|---|
Speed | Character rate | WPM | ≥ 1 | High | Controls element length u. |
Farnsworth | Effective spacing rate | WPM | 0 or < Speed | Medium | Affects letter/word gaps only. |
Frequency | Tone pitch | Hz | ≥ 100 | Low | No effect on timing. |
Volume | Tone level | % | 0–100 | Low | Amplitude with headroom. |
Lead/Tail silence | Padding before/after | s | ≥ 0 | Low | Improves cueing. |
Unknown policy | How to handle unmapped | enum | skip/replace | Medium | Replacement uses a placeholder mapping. |
Placeholder char | Symbol to substitute | char | length 1 | Low | If unmapped, falls back to ? mapping. |
Letter separator | Between letters | string | any | Low | Default is a single space. |
Word separator | Between words | string | any | Low | Default is / with spaces. |
Constant | Value | Unit | Source | Notes |
---|---|---|---|---|
Sample rate | 44100 | Hz | Implementation | PCM render for WAV export. |
Fade time | 0.003 | s | Implementation | Softens edges to prevent clicks. |
Start offset | 0.05 | s | Implementation | Stabilizes playback scheduling. |
Bit depth | 16 | bits | Implementation | Mono PCM. |
Headroom | 0.9 | ratio | Implementation | Reduces clipping risk. |
Field | Type | Min | Max | Step/Pattern | Notes |
---|---|---|---|---|---|
Speed (WPM) | number | 1 | — | 1 | Character rate; must be ≥ speed of Farnsworth. |
Farnsworth WPM | number | 0 | — | 1 | Effective rate; ignored if 0 or ≥ Speed. |
Frequency | number | 100 | — | 1 | Tone pitch for playback and export. |
Volume | number | 0 | 100 | 1 | Master level. |
Lead silence | number | 0 | — | 0.05 | Padding before tone. |
Tail silence | number | 0 | — | 0.05 | Padding after tone. |
Unknown policy | select | — | — | skip/replace | Replace uses placeholder mapping. |
Placeholder char | text | — | — | maxlength 1 | Falls back to ? mapping if needed. |
Letter separator | text | — | — | string | Shown in encoded output. |
Word separator | text | — | — | string | Shown between words. |
Text file input | file | — | — | plain text | Reads local text content. |
Input | Accepted Families | Output | Encoding/Precision | Rounding |
---|---|---|---|---|
Text | Typed or pasted message | Morse string | Letter and word separators configurable | Not applicable |
File | Plain‑text file | Metrics table | Counts and time values | Unit ms rounded; seconds to 2 dp |
— | — | WAV audio | Mono 16‑bit PCM at 44.1 kHz | Exact sample synthesis |
— | — | CSV / JSON | Fields for inputs, totals, timeline sample | As displayed |
Message: HELLO
Settings: Speed 20 WPM; Farnsworth 10 WPM; lead 0.2 s; tail 0.2 s.
Output Morse: .... . .-.. .-.. ---
. The timing reflects faster elements at 20 WPM but wider gaps at 10 WPM for clarity.
Files are processed locally; nothing is uploaded. No data is transmitted or stored server‑side. Audio generation uses the device’s sound stack.
Convert plain text into Morse and hear the timing.
Example: Text MEET AT 7 at moderate speed produces -- . . - / .- - / --...
with clear word spacing and a concise duration.
Pro tip: set a short lead silence to make precise recordings easier to trim.
It widens the spaces between letters and words while keeping dot and dash lengths fixed. Characters remain crisp; the overall rhythm slows for easier learning.
The duration is computed from element and gap counts using the exact unit size. Displayed milliseconds are rounded and seconds show two decimals, so totals may differ slightly from raw sums.
Letters A–Z, digits 0–9, and common punctuation including period, comma, question mark, apostrophe, exclamation mark, slash, parentheses, ampersand, colon, semicolon, equals, plus, hyphen, underscore, straight quote, dollar, and at sign.
Yes. Pitch sets the tone frequency and volume sets the output level. These controls affect sound only, not timing or total duration.
No. Text and audio are handled on the device. Downloads are created locally and not uploaded.
After the page loads, encoding and playback run on the device. You can keep working without a connection.
Enter your message, set a comfortable speed, optionally apply Farnsworth, then play the tone or download the audio for practice.
Tip Use a lower Farnsworth rate with a higher character speed to hear crisp shaping with generous spacing.
Tip Set a short lead silence to align multiple practice recordings easily.
Tip Custom separators can make printed handouts easier to scan.
Tip Keep volume moderate to avoid speaker distortion during long dashes.
Tip Practice with short words first; then reduce Farnsworth spacing as recognition improves.