Video Compressor

Shrink a video's file size by re-encoding it at a lower bitrate or resolution, right in your browser. Pick a quality preset or type a target size in MB, optionally downscale to 1080p, 720p or 480p, and compare the estimated and actual size. Your video is never uploaded.

Drag and drop a video here, or click to choose a file

MP4, MOV, WebM, MKV and more — processed in your browser, nothing is uploaded

Usage examples

Getting a phone video under an email attachment limit

Gmail attachments are limited to 25 MB, so choose Target file size and enter 24. The tool works out the video bitrate that fits the clip's length and shows the estimated size before you start.

Turning a 4K recording into a lighter 1080p file

Pick 1080p and Balanced: a 30 fps 1080p video gets about 8.7 Mbps, a quarter of the pixels of 4K, which is plenty for watching on a laptop or phone.

Fitting a long screen recording under an upload cap

For a 10-minute recording and a 100 MB limit, Target file size reserves 128 kbps for audio and leaves about 1.1 Mbps for video — usually fine for slides and code at 1080p or 720p.

Sending a clip in a chat app

720p with the Smaller file preset gives about 1.9 Mbps at 30 fps, roughly 15 MB per minute, which uploads quickly on mobile data and still looks sharp on a phone screen.

Archiving videos with a newer codec

If your browser offers HEVC, VP9 or AV1, those codecs generally look better than H.264 at the same bitrate, so you can keep the size and gain quality — as long as the devices you'll play it on support them.

Quick reference

Kush gauge video bitrate at 30 fps by motion level, and size per minute at Balanced

ResolutionSmaller fileBalancedHigher quality1 minute (Balanced)
480p (854×480)0.9 Mbps1.7 Mbps3.4 Mbps12.9 MB
720p (1280×720)1.9 Mbps3.9 Mbps7.7 Mbps29.0 MB
1080p (1920×1080)4.4 Mbps8.7 Mbps17.4 Mbps65.3 MB
1440p (2560×1440)7.7 Mbps15.5 Mbps31.0 Mbps116 MB
2160p (4K) (3840×2160)17.4 Mbps34.8 Mbps69.7 Mbps261 MB

Frequently asked questions

Is my video uploaded to a server?

No. Decoding, resizing and re-encoding all happen inside your browser using the WebCodecs API (usually with your device's hardware video encoder) and the open-source Mediabunny library. The video never leaves your device.

How does the tool choose the bitrate?

Quality presets use the Kush gauge, a widely used rule of thumb for H.264: width × height × frames per second × 0.07 × a motion factor (1 for Smaller file, 2 for Balanced, 4 for Higher quality). If that would exceed the original's bitrate, it's capped at 90% of the original so the file can't grow. In Target file size mode the tool divides 95% of your target by the video's length and subtracts the audio bitrate.

Why is the actual size different from the estimate?

The estimate is simply bitrate × duration. Encoders treat the bitrate as a target, not an exact amount: simple footage such as slides or a static camera often comes out smaller, and very detailed or fast-moving footage can come out a little larger. Container overhead adds a small amount too, which is why target-size mode aims 5% below your number. At very low bitrates, such as a few hundred kbps for HD video, the encoder may not be able to go that low and the file can end up above your target; lowering the resolution fixes that.

Why didn't my video get much smaller?

Videos from streaming sites and many apps are already compressed efficiently, so re-encoding at a similar bitrate saves little. The biggest savings come from lowering the resolution (720p has less than half the pixels of 1080p) or choosing a lower preset or target size. The result always shows the original and compressed sizes side by side.

Which output format should I choose?

H.264 in MP4 is the safe choice: it plays on practically every phone, computer, TV and website. HEVC, VP9 and AV1 usually give better quality at the same bitrate, but not every device or browser can play them — HEVC in particular isn't supported by every browser. Only formats your browser can actually encode are listed.

What happens to the audio and frame rate?

The frame rate is kept as in the original. The main audio track is copied unchanged when it's 192 kbps or less and fits the output format; otherwise it's re-encoded to 128 kbps stereo AAC (MP4) or Opus (WebM). Only the main video and audio tracks are kept.

How long does compression take, and is there a size limit?

Every frame has to be decoded and re-encoded, so it depends on the video's length and resolution and on your device; with a hardware encoder it is often faster than real time. A progress bar is shown and you can cancel at any time. There's no server limit, but the compressed file is kept in browser memory until you download it, so multi-gigabyte files can run out of memory, especially on phones.