Extract frames from a video as images
A video is a series of still pictures, and sometimes one of them is exactly what you need: a sharp moment from a phone clip, a thumbnail, a slide from a screen recording, or a step-by-step series for instructions. This tool saves single frames of a video as PNG or JPG images. It is a frame grabber: unlike a screenshot of the player, the snapshot holds only the picture, without controls or borders. You can grab the frame you are looking at, take one frame every few seconds, or spread a number of frames evenly over the video or a part of it. The frames appear as thumbnails; pick the ones you want and download them one by one or together in a ZIP file. The video is read in your browser and never uploaded.
Three ways to pick frames
- Current frame: play or scrub the video, pause it and press Grab this frame. The -1 frame and +1 frame buttons step through the video one frame at a time, based on the frame rate the tool measures, or 30 frames per second when it cannot measure it.
- Every N seconds: one frame at the start time, then one every N seconds until the end time. With 2 seconds from 0:10 to 0:20 you get frames at 0:10, 0:12, 0:14, 0:16, 0:18 and 0:20.
- Number of frames: the part between the start and end time is cut into equal pieces and the tool takes the frame in the middle of each piece. With 5 frames over a 10 second video you get frames at 1, 3, 5, 7 and 9 seconds. Taking the middle avoids the first and last frames, which are often black or blurred.
The From and To fields limit the series to a part of the video; the Current time buttons fill in where the player stands. One run saves up to 200 frames, and the plan line shows how many frames a setting gives before you start.
PNG or JPG, quality and size
According to MDN, PNG uses lossless compression and JPG lossy compression. A PNG frame therefore keeps the pixels as your browser decoded them, which suits editing and printing. A JPG frame drops some detail in exchange for a smaller file. The quality slider sets the JPG quality from 40 to 100 and is handed to the browser's image encoder as a number from 0.4 to 1. Higher values keep more detail and make bigger files.
The image size menu keeps the size of the video or scales the frames down so the long side is at most 1920, 1280 or 640 pixels. Frames are never enlarged. With the WebCodecs video decoder, the rotation flag stored in the video file is applied, so upright videos come out upright. The captions under the thumbnails show each file size, counted with 1 KB as 1,024 bytes.
File names with time stamps
Every image is named after its time in the video, in minutes, seconds and milliseconds: a frame at 12.345 seconds becomes frame-00m12s345.png, and a frame at 1 hour, 2 minutes and 3.45 seconds becomes frame-1h02m03s450.jpg. The names sort in time order in a file manager. When your browser has the WebCodecs video decoder, the time is the exact time stamp of the decoded frame. Without it, the tool moves a hidden video player to each time and draws what it shows, and the name uses the time it asked for.
Memory, iPhone and iPad
Each saved frame stays in the memory of the page as an image file until you clear the list or leave the page, and a ZIP is built in memory as well. Phones and tablets have less memory than computers, so on an iPhone or iPad keep series short, choose JPG and a smaller size, and download in batches. The list holds up to 400 frames. Very large frames are scaled down to the largest canvas the browser can draw; on iPhone and iPad with iOS 17 or older that is 16.7 megapixels, according to the WebKit source code. The tool tells you when this happens.
How to extract frames from a video
- 1Drop an MP4, MOV, WebM or MKV video on the box, or tap it to pick one from your device.
- 2For one still, pause at the moment you want and press Grab this frame. For a series, choose Every N seconds or Number of frames, set From and To, and press Extract frames.
- 3Pick PNG or JPG, the quality and the size before you start.
- 4Tick the frames you want and press Download selected, or download single frames with the button under each one.
To turn a clip into an animation, use Video to GIF. To make the saved images smaller, use the image compressor, or PNG to JPG to convert PNG frames afterwards.
How it works and open-source software
Where the browser has the WebCodecs video decoder, the frames are decoded by mediabunny, licensed under the Mozilla Public License 2.0 (MPL-2.0). Otherwise a hidden video player is moved to each time. Each frame is drawn on a canvas and saved with the browser's own image encoder. The ZIP file is packed with fflate (MIT license), without compressing the images again.
Sources
- MDN: Image file type and format guide: PNG uses lossless compression, JPG lossy compression
- MDN: HTMLCanvasElement.toBlob(): PNG and JPG output and the quality number from 0 to 1
- mediabunny: Media sinks: reading decoded frames as canvases at given time stamps, with the rotation from the file metadata
- WebKit: CanvasBase.cpp: the canvas area limit on iPhone and iPad
- mediabunny license (MPL-2.0)
Related guides
- JPG vs PNG vs WebP vs AVIF: Which Format to Use
- MP4 vs WebM vs MOV: Containers, Codecs and What to Export
- Lossy vs Lossless Compression: What You Lose and When
Frequently asked questions
Is my video uploaded?
No. Your browser reads the video from your device, draws the frames on a canvas and saves them as images in the same tab. Nothing is sent to a server.
Should I save PNG or JPG?
PNG uses lossless compression, so the image keeps the pixels the browser decoded. JPG uses lossy compression, which drops some detail; the quality slider sets how much. The size of every saved image is shown under its thumbnail, so you can compare. For one still to edit or print, PNG is the safe choice.
How do I get a frame at an exact moment?
Pause the video near the moment, then use the -1 frame and +1 frame buttons to step to the frame you want and press Grab this frame. The file name and the caption show the time of the frame, to the millisecond.
Why are some frames skipped?
When the times you ask for are closer together than the frames of the video, several times land on the same frame. The tool saves that frame once and tells you how many repeats it skipped.
How many frames can I save?
Up to 200 per run and 400 in the list. Every frame is kept in memory as an image file until you leave the page or clear the list, so phones in particular can run out of memory with many large frames. Choose JPG or a smaller size for long series.
Which videos work?
Any video your browser can decode. With the WebCodecs video decoder the tool reads MP4, MOV, WebM and MKV files frame by frame. Without it, the tool uses the browser video player, which handles the formats that player can play.