- Translator
- Decode video
How to decode Morse code from a video
Step through the video one frame at a time and note the frame where the light comes on and the frame where it goes dark. If the clip contains both dots and dashes, the shortest repeated flash is one unit: flashes of one and three units are dots and dashes, and dark gaps of one, three and seven units separate signals, letters and words; write the code down and translate it.
Decode a video or your camera
Choose a video file, or press Use camera and point it at a blinking light. Tap the light in the picture, or let the tool pick the area that changes most. It measures that area's brightness frame by frame and shows the text, the speed and the marks it saw, so you can check the reading. Your video and your camera picture stay on this device: nothing is uploaded.
This decoder needs JavaScript. Without it, log the flashes by hand with the steps below.
Or drop a video file anywhere in this box.
Tap or click the blinking light. With the keyboard, focus the picture and use the arrow keys to move the chosen area.
The line is the brightness of the chosen area, the dashed line is the level that counts as lit, and the bars below mark the time judged lit.
Decoded text
- Speed
- Frame rate
- One dot lasts
- Characters
Marks it saw
Showing the last 400 characters. The text above has all of them.
It reads one light at a time, in a picture that stays still: a tripod or a steady hand, and a lamp that fills a visible part of the frame. The frame rate sets the top speed. It needs at least two frames for every dot, so a 30 fps video can carry about 18 words per minute at most. A real camera blurs each frame and adjusts its exposure, so leave a margin below that figure, and anything faster can come out wrong. Sunlight, moving cars or screens behind the lamp, and a camera that lowers its frame rate in dim light also cause wrong letters. A ? marks a group that is not a character.
In short:
- Find out the video's frame rate.
- Step through it one frame at a time and log the frame where the light comes on and the frame where it goes dark.
- Turn the log into run lengths: frames lit, frames dark.
- If the clip contains both dots and dashes, take the shortest repeated lit runs as one unit; read 1 unit as a dot and 3 as a dash.
- Read dark runs of 1, 3 and 7 units as a gap inside a letter, between letters and between words, then translate.
Live camera decoder or uploaded video?
When choosing an online Morse camera translator, check which input it accepts. A live camera tool receives a stream from the camera and needs camera permission under the browser's media-capture rules (W3C, Media Capture and Streams). A file control may instead open the camera to record a clip for submission. W3C explicitly distinguishes that file-capture mechanism from access to real-time streams (W3C, HTML Media Capture). A camera button alone does not establish that a tool reads flashes live.
For a saved recording, choose a tool that explicitly accepts video files. Keep the original clip, identify the lamp you want to read and use the frame log below to check a short part of the result. Treat automatic text as a proposed reading until you have checked its character boundaries. For a beacon example to check against your frame log, see the Capitol Records Morse light.
How does a light decoder turn video into text?
Applying the ITU timing rules to a blinking lamp means measuring both its lit intervals and its dark intervals. The long signal is three short signals; the gaps distinguish marks within a letter from separate letters and words (ITU-R M.1677-1). Converting the flashes to text therefore requires a sequence over time. A single screenshot of a lit lamp cannot tell you how long it was on or what pause followed it; that follows from the timing information the code requires (ITU-R M.1677-1).
If your image instead contains printed dots and dashes, use the workflow for reading Morse from a picture. For a blinking light, keep filming through the pauses. If a boundary remains unclear, write down both possible groupings and compare them with another occurrence in the clip. Avoid choosing a letter solely because it completes a familiar word. The Morse timing guide explains the signal and gap proportions.
Start with the frame rate
A video is a series of still frames, and everything you measure comes in whole frames. One frame lasts 1000 ÷ fps milliseconds, so 33 ms at 30 frames per second. Depending on the model, an iPhone records at 24, 25, 30, 60 or 120 fps (Apple, iPhone User Guide), and Slo-mo is set by default to record 1080p at 240 fps on the back camera (Apple, iPhone User Guide).
With standard spacing, the length of a dot depends on the sending speed: one unit lasts 1200 ÷ WPM milliseconds (ARRL, QEX, April 1990). Divide one by the other and you get how many frames a dot covers. The table assumes a constant capture rate and standard spacing; for Farnsworth sending, use character speed for the dot length:
| Sending speed | One dot | 24 fps | 30 fps | 60 fps | 240 fps |
|---|---|---|---|---|---|
| 5 WPM | 240 ms | 5.8 | 7.2 | 14.4 | 57.6 |
| 10 WPM | 120 ms | 2.9 | 3.6 | 7.2 | 28.8 |
| 15 WPM | 80 ms | 1.9 | 2.4 | 4.8 | 19.2 |
| 20 WPM | 60 ms | 1.4 | 1.8 | 3.6 | 14.4 |
The light can switch at any moment between two frames, and the change only shows on the next frame, so any length you measure can be off by up to one frame. With two frames per dot, that is half a dot; with five or more, it hardly matters. If you are filming the light yourself, use Slo-mo or the highest frame rate you have. Keep in mind that with Auto FPS on, an iPhone can lower the frame rate to 24 fps on its own in low light to improve the picture (Apple, iPhone User Guide).
For flashing practice, avoid rapid or large bright flashes. WCAG allows at most three flashes in any one-second period unless the flashing stays below its defined thresholds (W3C, WCAG 2.2).
How to log the flashes, step by step
- Open the clip in a player that steps by frames. In QuickTime Player on a Mac, Right Arrow stops playback and moves forward one frame, and Left Arrow moves back one (Apple, QuickTime Player User Guide).
- Pick one spot to watch. Choose the brightest part of the lamp and ignore reflections around it.
- Log the changes, not every frame. Write down the number or timestamp of each frame where the light first appears lit, and each frame where it first appears dark again.
- Subtract to get run lengths. Lit runs are the flashes; dark runs are the gaps.
- Find the unit. The shortest lit runs cluster around one length. A flash is a dot or a dash, and a dash lasts three dots (ITU-R M.1677-1), so anything under two units is a dot and anything longer is a dash. First check that the clip contains both lengths: a fragment made only of dashes, such as O, has no dot to measure.
- Sort the dark runs. The gap inside a letter lasts one unit, between letters three and between words seven (ITU-R M.1677-1). Under two units: same letter. Two to five: next letter. Over five: next word. These midpoint cutoffs are a decoding aid for standard spacing. With Farnsworth timing, the letter and word gaps are stretched (ARRL, QEX, April 1990); compare the local gaps rather than applying the same cutoffs blindly.
- Translate. Write the dots and dashes with a space between letters and a slash between words, and paste them into the Morse code translator.
For a repeating game signal with a fixed word list, follow Keep Talking and Nobody Explodes Morse code.
For a light signal from a game, compare your recording with the Fortnite bunker Morse guide.
How the decoder on this page works
It follows the same steps as the frame log above, only faster. Nothing is uploaded: the steps run in your browser.
- It watches one spot. It averages the brightness of a small area in every frame. You choose the area by tapping the light. If you do not, it picks the area whose brightness changes most from frame to frame, after taking off any change that hits the whole picture at once, such as the camera adjusting its exposure.
- It decides lit or dark. It compares each frame with the darkest and the brightest level seen over the last few seconds, so a lamp that slowly gets brighter or dimmer in the picture is still followed. A change is placed halfway between the two frames where it first showed.
- It measures the runs. Lit and dark stretches become lengths in seconds from the frame times, so a video with an uneven frame rate is still read correctly. Stretches much shorter than a dot are dropped as flicker.
- It sorts what it measured. Lit lengths fall into short dots and long dashes, and dark ones into gaps inside a letter, between letters and between words. It needs no speed setting. A group that matches no character shows as ?, never as a guess.
The marks under the text are the dots and dashes it saw for each character, and the trace shows what it judged lit. If a letter looks wrong, compare its marks with the Morse code alphabet, and tap another spot: the frames are kept, so a new area is read at once without playing the video again.
What the frame rate allows
Because it needs at least 2 frames for every dot, the frame rate sets the top speed. A dot lasts 1.2 ÷ WPM seconds, so the fastest speed is 0.6 × the frame rate, in words per minute.
| Video frame rate | One frame | Fastest speed |
|---|---|---|
| 24 fps | 41.7 ms | 14.4 WPM |
| 30 fps | 33.3 ms | 18 WPM |
| 60 fps | 16.7 ms | 36 WPM |
Faster than that, a dot and the gap after it can share a single frame, and the decoder flags the reading. A browser plays a video at the rate your screen can show and may skip frames it cannot, so a high-frame-rate clip can be read at a lower rate than it was shot at; the frame rate in the results is the rate actually read. In our tests, computer-made blinking clips at 24, 30 and 60 fps decoded without a mistake at exactly these speeds, with sensor noise, uneven frame times and slow changes of exposure added. A real camera needs margin below these figures, because motion blur and automatic exposure smear the edges of each flash. A real lamp is harder still: reflections, a shaking hand, a bright window in the picture or heavy noise in dim light cause wrong letters, so check a short part of the result against your own frame log.
A worked example: YES at 30 fps
Here is the log you would get from the word YES flashed at 12 words per minute and filmed at 30 fps. At that speed a unit is 100 ms, exactly 3 frames.
| Letter and flash | First lit frame | First dark frame | Frames lit | Reads as | Frames dark after | Means |
|---|---|---|---|---|---|---|
| Y, flash 1 | 0 | 9 | 9 | dash | 3 | same letter |
| Y, flash 2 | 12 | 15 | 3 | dot | 3 | same letter |
| Y, flash 3 | 18 | 27 | 9 | dash | 3 | same letter |
| Y, flash 4 | 30 | 39 | 9 | dash | 9 | next letter |
| E, flash 1 | 48 | 51 | 3 | dot | 9 | next letter |
| S, flash 1 | 60 | 63 | 3 | dot | 3 | same letter |
| S, flash 2 | 66 | 69 | 3 | dot | 3 | same letter |
| S, flash 3 | 72 | 75 | 3 | dot | — | end |
The groups are : Y, E, S. A real clip is rarely this tidy: expect runs of 2 or 4 frames where this one has 3, which is why the cut-offs sit halfway between the ideal lengths. Check it in the translator
Errors that change the message
| What you see | Likely cause | What to do |
|---|---|---|
| Dots and dashes look almost the same length | Too few frames per dot for the sending speed | Film in Slo-mo if you can, or compare each flash with the longest ones in the clip |
| Short dark gaps inside a letter seem to vanish | A one-unit gap lasts only a frame or two at low frame rates | Step back and forth over the spot; a single dark frame counts |
| Your durations come out far too long | The clip plays back in slow motion | Count frames and use the rate it was recorded at, or work in units only |
| The frame rate is not what you set | Low-light recording lowered it automatically | Measure the unit from the clip itself instead of trusting a number |
| Every flash is about the same length | Sent by hand without clear dashes, or not Morse at all | Look for the 1 to 3 ratio across the whole clip before decoding |
| A flash breaks into two for one frame | Something passed in front of the light, or the camera moved | Ignore breaks much shorter than one unit |
Slo-mo clips are recorded at the high rate but play back slowly (Apple, iPhone User Guide), which is why counting frames is safer than timing the playback with a stopwatch. And a light switched by hand rarely keeps exact proportions: a 1973 thesis on hand-sent Morse (audio from a key, not video) found that the lengths of dots, dashes and spaces spread out around the ideal values instead of landing on them (Naval Postgraduate School, 1973).
What any decoder has to cope with
Whatever reads a clip, you or software, has to sort flash lengths that are only a few frames long and rarely exact. The same thesis says a device that reads hand-sent Morse needs a way to cope with code whose dots and spaces are not in the ideal proportions and whose speed changes (Naval Postgraduate School, 1973). It worked with sound, so the point carries over to light only as a comparison, which is why a decode from any tool is worth checking against your own frame log.
If the video also carries the signal as sound, decoding the soundtrack can be easier: Decode Morse code from audio shows how. The upcoming iPhone app has a decoder that listens to a beeping signal and shows the letters. For help choosing which signal to decode in a game clip, see the Inscryption Morse guide.
Related skills
For a film example where the scene's context matters as much as the marks, read Interstellar Morse code.
For a film scene to check with this workflow, read the Parasite Morse code guide.
Reading light live, without a camera, is covered in Morse code with a flashlight, and eye blinks in Blink Morse code with your eyes. Every code is in the Morse code alphabet, and the one signal everyone should recognize on sight is SOS in Morse code.
Sources
- Recommendation ITU-R M.1677-1, International Morse code. ITU Radiocommunication Sector, October 2009.
- A Standard for Morse Timing Using the Farnsworth Technique, Jon Bloom, KE3Z. ARRL, QEX, April 1990.
- Record a video with your iPhone camera, iPhone User Guide. Apple Support, checked 6 November 2026.
- Change video recording settings on iPhone, iPhone User Guide. Apple Support, checked 6 November 2026.
- Keyboard shortcuts and gestures in QuickTime Player on Mac. Apple Support, checked 6 November 2026.
- An automatic radiotelegraph translator and transcriber for manually sent Morse, William E. Althoff (master's thesis). Naval Postgraduate School, December 1973.
- Understanding Success Criterion 2.3.1: Three Flashes or Below Threshold. W3C Web Accessibility Initiative, checked 6 November 2026.
- Media Capture and Streams, camera input and permission. W3C, checked 10 November 2026.
- HTML Media Capture, file capture versus real-time streams. W3C, checked 10 November 2026.