# Morse code translator > How do you write, play and hear Morse code? Turn text into Morse code and back, play it as sound or light, decode it from the microphone or camera, or key it by hand. Translate text to Morse code and back, play it as sound or light at ARRL speeds, decode Morse from your microphone or camera, or key it by hand. - Page: https://how.box/morse/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/morse/?d={d}&m={m}&wpm={wpm}&f={f}&ewpm={ewpm}&v={v}&hz={hz} - `d` (encode, decode or key): encode (text to Morse), decode (Morse to text) or key (key Morse by hand). Example: `decode`. - `m` (text): The text, or the written Morse code when d=decode. Example: `... --- ...`. - `wpm` (number 5 to 60): Character speed, 5–60 WPM (PARIS). Example: `20`. - `f` (boolean): Farnsworth timing on (1) or off (0). Example: `true`. - `ewpm` (number 2 to 60): Farnsworth overall speed in WPM, slower than wpm. Example: `10`. - `v` (tape or tree): The drawing: tape or tree (the Morse tree). Example: `tree`. - `hz` (whole number 300 to 1200): Tone pitch, 300–1200 Hz. Example: `600`. Example answer: https://how.box/morse/?d=decode&m=...+---+...&wpm=20&f=1&ewpm=10&v=tree&hz=600 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `morse_encode`: Encode text as International Morse code (ITU-R M.1677-1) and time it. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"morse_encode","arguments":{"message":"... --- ...","wpm":20,"farnsworth":true,"effective_wpm":10}}}` - GET: https://how.box/mcp/run/morse_encode?message=...+---+...&wpm=20&farnsworth=true&effective_wpm=10 - `morse_decode`: Decode written Morse code into text. - MCP: POST https://how.box/mcp `tools/call` with `{"name":"morse_decode","arguments":{…}}`; input schema in https://how.box/agent-tools.json. ## How it works Morse code writes each letter as short and long signals: dots and dashes. The International Morse code is defined by ITU-R Recommendation M.1677-1. Its timing has one unit: a dot lasts one unit, a dash three, the gap inside a letter one, between letters three and between words seven. Speed is counted in words per minute (WPM) with the standard word PARIS, which is exactly 50 units long including its word gap. So one unit lasts 1.2 / WPM seconds: at 20 WPM a dot is 60 ms and a dash 180 ms. Farnsworth timing, as standardized by the ARRL, sends letters at the character speed c but stretches the gaps so the whole message runs at the slower speed s: a word gains ta = (60c − 37.2s) / (sc) seconds, shared 3 : 7 between letter and word gaps. Receiving works on this device. For sound, the tool measures the strength of the tone in short slices (the Goertzel method); for light, the brightness of the camera's target square in each frame. Either way it decides when the signal is on, tells dots from dashes by their lengths, which also give the speed, and reads the gaps as letters and words; your own keying is read the same way. A camera sees about 30 frames a second and a dot needs about three of them, so light is reliable up to about 0.4 × frame rate WPM: 12 WPM at 30 frames a second. Flashing light can trigger seizures. The accessibility rule WCAG 2.3.1 allows more than three flashes a second only over a small area, so the signal lamp stays under that area and the large light keeps to 5.5 WPM. The full-screen flash breaks the rule and asks first, every time. Ä, Å, Ö, Ü and Ñ are not part of the ITU code; the tool uses their common signals and marks them. ## FAQ **What does WPM mean in Morse code?** Words per minute, counted with the 50-unit word PARIS. At 20 WPM, PARIS fits 20 times in a minute, so one unit is 60 / (50 × 20) = 0.06 seconds. **Why is PARIS the standard word?** Its dots, dashes and gaps add up to exactly 50 units, close to an average English word. Using one agreed word makes speeds comparable; the ARRL timing standard uses it. **What is Farnsworth timing?** Letters are sent fast enough that you learn their sound as a whole, with extra space between letters and words to give you time. ARRL practice below 18 WPM sends the letters at 18 WPM. **Which speeds are standard?** There is no single legal speed set. The quick picks are the speeds of the ARRL W1AW code practice (5, 7.5, 10, 13, 15, 20, 25, 30 and 35 WPM) and its bulletins (18 WPM). **Why is the light small?** Flashing faster than three times a second can trigger seizures. WCAG 2.3.1 allows it only over a quarter of a 10° field of view, 341 × 256 pixels on a 1024 × 768 screen (about 21,800 square pixels). The lamp is 128 pixels square, well under that, so it may flash at any speed. A larger light keeps to 5.5 WPM. **Is the microphone sound or the camera image recorded or sent anywhere?** No. Sound and image are analysed on your device while listening or the camera is on, and are not recorded, stored or uploaded. Stop, or leave the page, and the device is released. **Why does decoding make mistakes?** It needs a steady tone with clear gaps. Turn up the volume, lower the sensitivity in a noisy room, or set a fixed pitch. The first letters can change once the speed is known. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)