This page's code did not start.

Opening index.html directly from a folder blocks JavaScript modules, so nothing will happen when you choose a video. Serve the folder over http instead:

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

Video Cropper — crop a video online

Cut a clip down to the part that matters.

Language: English
View source
Your videos are processed in your browser. No processing upload.

Every frame is decoded, cropped and encoded by your own browser, on your own hardware. Nothing here can fetch or send anything — there is no network feature in this tool at all — and there is no server on the other end of this page to send a video to even if there were.

Live check: checking…

Offline: checking…

Don't take our word for it: open DevTools, watch the Network tab, and crop a clip. Not one request carries a frame, a filename, or a byte of what you chose. Or unplug from the internet and crop one anyway — a tool that sent your video away to be processed would simply stop.

1 Choose a video

2 Set the crop

Play the clip, or drag the slider under it, to pick the frame you line the box up against. Drag inside the box to move it, or any corner to resize. With the box focused, the arrow keys nudge it a pixel at a time, Alt + arrows resize it, and holding Shift makes each step ten.

Width and height move in steps of two, because H.264 has no way to store an odd-sided frame.

3 Crop it

Quality Never more than the original spent on the same area — re-encoding above that only makes the file bigger.

Output frame
—
Kept
—
Length
—
How
—

View as Markdown

How to crop a video

  1. Choose a video. Drop an MP4, MOV, M4V or WebM onto the picker, or select one by hand. It is read straight off your disk by the browser; nothing is sent anywhere while you do it.
  2. Drag the box over the part you want to keep. Drag inside it to move it and any corner to resize. Lock it to a shape first — 1:1 for a square post, 9:16 for a phone, 16:9 for a wide frame — or type an exact pixel box into the four fields underneath. Play the clip, or drag the slider under it, to pick the frame you line the box up against.
  3. Choose how much quality to spend. The picture has to be encoded again, because a cropped frame is a different picture. "Balanced" keeps it close to what the file already spent on that area; "Best quality" spends more. The sound is kept unless you turn it off.
  4. Crop it and download. The work happens on your own hardware, so how long it takes depends on your machine rather than on a queue. The finished video is handed straight to your browser's downloads.

The longer version

How to crop a video to a different shape Cut a clip down to a square, a 9:16 portrait, or an exact pixel box. Which ratio each platform wants, why cropping has to re-encode when trimming does not, and what that costs.

Questions

Is my video uploaded anywhere?

No. It is read, decoded, cropped and encoded by your own browser on your own hardware. There is no server side to this tool, and the page's Content-Security-Policy names every address it may contact — none of them belongs to this site. Unplug from the internet and crop a clip anyway if you would rather check than be told.

Which video formats can I crop?

MP4, M4V and MOV are read directly, whatever is inside them: H.264, HEVC, AV1 or VP9, as long as your browser can decode that codec. Anything else your browser can play — WebM most obviously — is cropped by playing it and recording the result instead, which works but takes as long as the clip is long. A file the browser can neither read nor play, which in practice means AVI, WMV, FLV and most MKVs, is refused with a message saying so rather than failing halfway through.

Is there a limit on the size or length of the video?

There is no limit built into the tool, and the file is not read into memory all at once — it is walked through a few megabytes at a time. The practical ceiling is the finished video, which is assembled in memory before you download it, and the time your machine takes to encode it.

Does the sound survive?

On the MP4 path, exactly: the audio is copied across sample by sample without ever being decoded, so it is byte for byte what was in the file. On the recording path it is captured from playback and encoded again, which costs a little quality. Either way there is a checkbox to leave it out entirely.

Does cropping lose quality?

The picture is encoded again, because a cropped frame is a different picture and there is no way to store it without writing the pixels out afresh. What the tool will not do is spend more than the original did on the same area, since re-encoding above that only makes the file bigger without making it look better.

Can I trim the length as well?

Not here, but next door. This tool changes the shape of the picture and nothing else: the clip that comes out is exactly as long as the one that went in, with its timing and its sound intact. Trimming is a separate job and is a separate tool — the Video Cutter marks the parts of a clip worth keeping and saves them as one file, without re-encoding a frame.

Why do the width and height move in steps of two?

H.264, the codec in an MP4, stores the picture in blocks and has no way to describe a frame with an odd number of pixels on a side. Rather than quietly rounding your crop after you set it, the box only ever offers even numbers in the first place.

Is it free, and do I need an account?

It is free, and there is no account, no sign-in, no trial and no watermark. The site carries advertising, which is what pays for it; the ads are not given anything about your video.