Video Compressor

Your video is re-encoded inside this browser. On most browsers it finishes much faster than the video's length using WebCodecs, falling back to a real-time method when that isn't supported.

Loading the tool...

When to use it

Fit under an attachment limit

When an email or form has a size cap, choose "Target size" under "How to shrink" and type a number slightly below the cap into "Make it under (MB)". The bitrate is worked out from the video length, so no trial and error.

Drop the resolution, not the look

To share a 4K phone clip, lower "Resolution" to 1080p or 720p and leave quality on Normal. On a phone screen the difference is hard to see while the file shrinks a lot.

Strip sound from a screen demo

If the clip is a silent demo, turn off "Keep sound". Only the picture remains, which is slightly lighter and also removes any mic hiss.

How to use

  1. Choose a video file.
  2. Pick target resolution and quality.
  3. Download the compressed video.

How it works

When the browser supports WebCodecs, the video is demuxed with mp4box.js, re-encoded to H.264/AAC by the browser's hardware encoder and muxed into MP4 with mp4-muxer, as fast as your device allows. Otherwise it falls back to recording a hidden player in real time with MediaRecorder. In both cases the video stays on your device and is never uploaded. Your file is processed in this browser and is not uploaded. To check this yourself, watch the browser's DevTools Network tab while you use the tool (step-by-step guide).

More tips

Why videos get so big

Video file size comes down to resolution, length, and bitrate (how much data is packed into each second). Modern phones often shoot in 4K by default, and higher resolution means a bigger file. If you're just sharing it over a messaging app, dropping the resolution usually won't be noticeable on screen.

Will it save as MP4 or WebM?

Most current versions of Chrome, Edge, and Safari save the result as MP4 (H.264), which plays on virtually any device. Depending on the browser, some setups may only produce WebM, which some older phones or messaging apps can't play. If that happens, try again in a desktop browser like Chrome, Edge, or Safari to get an MP4 instead.

Alternatives: built-in Windows and iPhone tools

Windows includes Clipchamp by default on Windows 11. You can import a video and export it at a lower resolution/quality setting to shrink the file. The Windows Photos app can also re-save video at a different quality in some versions.

iPhone doesn't have a dedicated built-in video compressor, but choosing a smaller size option when sharing from the Photos app (instead of "Actual Size") sometimes shrinks it somewhat — behavior varies by messaging app.

Common problems

  • An iPhone video (HEVC .mov) won't open: if your browser can't play a video format, it can't compress it either. Try Safari or a recent Chrome/Edge build that supports HEVC.
  • Barely any size reduction after compressing: this usually means the video was already heavily compressed, or your target size was set too close to the original given the video's length. Try "Smallest" or a lower target size.
  • Target size is too small to work: if the target size is extremely small relative to the video's length, quality would need to drop to nearly zero, so the tool enforces a limit. Try lowering the resolution or raising the target size slightly.

FAQ

How long does it take?

On most browsers it uses a fast WebCodecs path and finishes much faster than the video's length. If your browser or file can't use that path, it automatically switches to the real-time method, which takes about as long as the video. Keep this tab open until it's done.

Is my video uploaded?

No, it never leaves your device.

How do I keep as much quality as possible?

Choose "By quality", pick High and keep the resolution on Original. The saving is smaller but it stays closest to the source. If size matters more, use Smallest.

Can I compress without the sound?

Yes. Turn off "Keep sound" and the result is an MP4 with no audio.

Can I compress AVI or MKV files?

The listed inputs are MP4, MOV and WebM. A video your browser cannot play will not open and you may see a message that the video could not be read.

It says the result is not smaller than the original.

A video that is already heavily compressed may not shrink more. Lower the resolution or choose Smallest, then press "Try other settings".

Can I save as H.265 or GIF?

No, you cannot pick a codec. Most browsers save an MP4 with H.264 video and AAC sound; browsers that cannot record MP4, such as Firefox, save WebM instead and the tool tells you.

Open source used

The fast WebCodecs path demuxes video with mp4box.js (BSD-3-Clause) and muxes the result back into MP4 with mp4-muxer (MIT). Both libraries are served unmodified from this site.

Last checked: October 8, 2026 · Dagochim team

Related tools

Related guide

See the How to Compress a Video for Free guide for a step-by-step walkthrough.