Browser-based video tool · MP4, WebM, MOV → PNG or JPG stills

Video Frame Extractor

Pull exact stills out of a video: at times you type, every few seconds, or a set number spaced evenly, plus the frame on screen while you scrub. Each file is named after its timestamp, and you can save one, a ZIP of all of them, or a labelled contact sheet. The video is decoded by your browser and never uploaded.

Video

Any video this browser can play. MP4 (H.264) and WebM work almost everywhere.

Drop a video here or click to choose

.mp4, .webm, .mov, .m4v

Which frames

Up to 500 frames a run.

Pick frames by

Frames come from the middle of equal slices of the range, so none lands on a black first frame or the last instant.

Image format

Frames

Extracted frames appear here

Choose a video to start.

Video Frame Extractor

Operator: Abdulla Al Fahad. How tools are built and checked

A still from a video is often the thing a document needs: the slide where the price appears, the frame where a warning light turns on, the moment a child takes a first step. Screenshotting a paused player works once, at whatever resolution the player happens to show, and it gets slow past a handful of frames. This page takes exact timestamps, or a regular spacing, and writes each frame as a PNG or JPG at the video's own resolution or a width you pick.

Every frame is decoded by the browser from the file already on your disk. The page seeks to each time in turn, copies the picture onto a canvas and encodes it, so the work happens in the tab and nothing is sent anywhere. Frames are named after their timestamps, so a folder of output sorts in the same order as the video, and you can download them one at a time, as a ZIP, or as a single labelled contact sheet.

Key features

  • Frame timestamps typed as a list, as every N seconds within a range, or as a count spread evenly over a range.
  • Grab current frame, which takes the frame on screen at the moment you click.
  • PNG or JPG output with a quality slider for JPG, at the video's size or at most 1920, 1280, 960, 640 or 320 px wide.
  • Timestamp file names with milliseconds, so a folder sorts the same way as the video.
  • Per-frame Save links, a ZIP of every frame stored without recompression, and a Clear button.
  • Contact sheet with 2 to 10 columns, thumbnail widths from 120 to 480 px, a header with the file name, length and resolution, and a time label under each frame.
  • Progress with a frame count and a Cancel button; caps that tell you what was cut.

Picking timestamps, sizes and the thumbnail grid

The list mode reads each entry as a time in one of three forms: seconds such as 83.5, minutes and seconds such as 1:23.5, or hours too such as 00:01:23. Entries may be separated by commas, spaces, semicolons or new lines, which is why a decimal comma is not accepted here; use a dot. In a test list, 1:23.5 and 83.5 were read as the same instant, so the second was dropped as a repeat, and 00:01:23 was read as 83 seconds; 9:99 was refused because the seconds field must stay under 60. Repeated times are dropped with a count, and a time past the end of the video is listed by name so you can correct it.

The every-N-seconds mode starts at the From time and steps forward by the gap you type, including the end time when it falls exactly on a step. A 10-second range with a 2.5-second gap gives 0, 2.5, 5, 7.5 and 10. The gap must be at least 0.04 seconds, which is one frame at 25 fps.

The N-frames mode does not start on the first or last instant. It cuts the range into N equal slices and takes the middle of each, so a 10-second range with 4 frames gives 1.25, 3.75, 6.25 and 8.75 seconds. The first frame of many clips is black, and the last instant often holds a fade, so the middle of each slice is the safer default. If N is more than the limits allow, the page spreads the allowed number across the whole range and says so in a note; it does not stop at the cap.

Frame names carry the timestamp to the millisecond: 1.5 seconds becomes frame-00m01s500.png, 83.5 seconds becomes frame-01m23s500.jpg, and a time past an hour adds the hours, as in frame-01h02m03s250.png. The names are in the same format for a list, an interval and a grab, so files from separate runs can be sorted together.

How it works

For each time, the page pauses the player and seeks to it. It waits for the seeked event and, where the browser supports presented-frame callbacks and the tab is visible, for the frame to reach the screen, for up to 120 ms more. After three seeks in a row with no presented-frame signal, it stops waiting for one, because the browser then never reports it for that player.

The frame is drawn at the output size onto a canvas, which is encoded with canvas.toBlob as PNG or as JPG at the quality you chose. The contact sheet is drawn onto another canvas from the captured blobs, with the header and labels added in the page, and then encoded the same way.

The ZIP is built with JSZip, which the page loads only when you ask for one. Files go in with no compression, because PNG and JPG are already compressed and recompressing them would only cost time.

Common use cases

  • A teacher pulls the frames at 0:12, 0:47 and 1:58 out of a recorded lecture to paste into a worksheet, saved as PNG so the handwriting on the board stays sharp.
  • A reviewer of a product demo lists the moments in a 3-minute screen recording where the error dialog is on screen, and downloads them as a ZIP to attach to a bug report.
  • A wedding photographer's assistant wants twelve evenly spaced stills from a 90-second ceremony clip, and a contact sheet with 4 columns of 320 px thumbnails so the client can pick one.
  • A researcher samples a frame every 5 seconds from a 20-minute lab video, at 640 px wide as JPG, to make a timeline for a coding spreadsheet.

How to use this tool

  1. Pick the clip by dragging it onto the dashed area or opening the file picker; its length and resolution appear once it loads.
  2. Pick a mode and type the times, the gap or the count. The page shows how many frames the choice makes.
  3. Choose PNG or JPG, the maximum width and, for JPG, the quality, then click Extract frames.
  4. Save the frames one at a time, download them as a ZIP, or build a contact sheet from them.

Example

Every 5 seconds from a 1280 × 720 clip of 20 seconds, as JPG at 640 px

Source: 1280 × 720 px, 0:20.00 long
From 0:00.00 · To 0:20.00 · Every 5 seconds
JPG, quality 90 · Maximum width 640 px

What the page plans and writes

Times: 0:00.00, 0:05.00, 0:10.00, 0:15.00, 0:20.00 (5 frames)
Output: 640 × 360 px each
Names: frame-00m00s000.jpg, frame-00m05s000.jpg … frame-00m20s000.jpg
ZIP: video-frames.zip, named from the video's file name, five files, no compression
Contact sheet at 3 columns, 240 px thumbnails: 3 × 2 grid, 768 × 410 px

Tips for best results

  • Use Grab current frame when you do not know the time yet. Pause or scrub the player, click it, and the frame under the playhead is added to the list; the time it was taken at appears under the thumbnail.
  • Pick a maximum width before extracting. PNG files grow with the pixel count, so a 640 px frame is a fraction of the size of the same frame at full HD, and the JPG quality slider trims JPG output further.
  • Use PNG for text, diagrams and screen recordings, where JPG leaves rings around letters. Use JPG at 85 to 90 for camera footage, where photographic detail is the part PNG compresses poorly.
  • Build the contact sheet after the frames are final. It is drawn from the frames in the list, so adding or clearing frames afterwards means making the sheet again.
  • Look at the count and the notes under the timestamps before you click Extract frames. A note says when the list was cut short by a cap, and it names the last time that was kept.

Common pitfalls

The frame limit is 500 per run, and there is also a total pixel budget of 600 million pixels. At 1920 × 1080 that is 289 frames; at 3840 × 2160 it is 72. Lower the maximum width to get more frames from a 4K source.

A seek that takes longer than 10 seconds stops the run with an error. Files with few keyframes, very large files and files on slow network drives can be slow to seek; re-saving them as MP4 with H.264 usually fixes it.

The page draws each frame over a black canvas, so a frame never has transparency, and letterbox bars in the source are kept as black pixels in the output.

The picture in a frame is what the player shows after it seeks to that time. The page does not check the frame's own timestamp against the one you asked for, so on a difficult codec the image can be the frame just before the time you typed.

Cancel throws away the frames of the run that was stopped. Frames already in the list from an earlier run stay, but nothing from the cancelled run is kept.

A contact sheet is limited to 16,000 px on a side and 16 million pixels, chosen to stay under the canvas area iOS Safari allows, about 16.7 million pixels. The page works the size out before drawing: with 10 columns of 480 px thumbnails from a portrait 9:16 video, three rows fit at 4,904 × 2,729 px and a fourth row is refused, because the sheet would be 4,904 × 3,612 px. A smaller thumbnail size or fewer rows fixes it, since more columns make the sheet shorter.

Choosing a size for the frames

The output width is fixed by you, not by the video, so a 4K source can be exported at 1920 px for a slide or at its full 3840 px for print. The page never enlarges a frame; a source narrower than your choice keeps its own width. The height follows the aspect ratio, rounded to whole pixels.

The width matters for two reasons. The file size grows with the pixels, and the pixel budget caps how many frames fit in one run. At 1280 × 720, the 600 million pixel budget allows about 650 frames, which is more than the 500-frame limit, so the frame count is the limit that applies. At 1920 × 1080 the pixel budget is the one that bites.

Reading the contact sheet

The sheet's header carries the file name, the length to the hundredth of a second, the resolution and the number of frames. Each thumbnail is the frame drawn at the width you choose, with its time under it in the m:ss.hh form that the time fields use. Thumbnails keep the source's aspect ratio, so a portrait video makes tall cells.

A layout is worked out before anything is drawn. Five frames in three columns at 160 px wide from a 640 × 360 source make a 528 × 320 px image: 16 px of margin on each side, 8 px between cells, and a 56 px header. The page shows the grid size under the controls, so you can see whether a layout will fit before you draw it.

Frequently asked questions

Why do I get fewer frames than I asked for?

A list or an every-N-seconds run stops at 500 frames, or at the 600 million pixel budget, so at 1920 × 1080 the limit is 289 frames; the note under the controls names the last time kept. A count run is different: the page reduces N to the allowed number before spacing, so the frames still cover the whole range, and the note says how many were requested and how many were spread.

What happens to frames already in the list when I extract again?

Extract frames replaces the list with the new run. Grab current frame adds to the list, and a frame whose file name matches an earlier one replaces it. Clear empties the list.

Can I get a frame from a YouTube or Instagram link?

No. The page only opens video files on your device, and it does not fetch anything from the web.

Does the ZIP compress the images?

No. PNG and JPG are already compressed, so the ZIP stores them as they are. The total is the sum of the frames, and the ZIP is only a container.

What does the contact sheet show, and can it be a JPG?

It shows the frames in the order of their times, with the file name, length and resolution in the header. It can be saved as JPG at a fixed quality of 90, or as PNG for a sharper sheet of text or diagrams.

Are my video files uploaded?

Each frame is written by your browser from the video already open on your machine. The page sends no frame anywhere: the ZIP and the contact sheet are assembled locally from the same image data the Save links use.