🎬

Video Compressor

Compress a video to a required file size in your browser using FFmpeg (WebAssembly) — a free, open-source engine. Nothing is uploaded anywhere.

🎞️
Drop a video here or click to select
MP4, WebM, MOV, AVI, MKV · Best under 300MB

About Video Compressor

Video Compressor re-encodes a video to hit a target file size you choose — useful for meeting email attachment limits, Discord/WhatsApp upload caps, or a CMS file-size restriction. Under the hood it uses FFmpeg.wasm, a free, open-source (LGPL/GPL) build of FFmpeg compiled to WebAssembly. It computes the video bitrate needed to hit your target size given the clip's duration, then re-encodes with H.264 video and AAC audio.

Everything runs locally in your browser tab — the video file is never uploaded to a server. The first time you compress, your browser downloads the FFmpeg WebAssembly engine (~30MB) once; after that it's cached for faster reuse.

Common Use Cases

How to Use

  1. Drop a video onto the drop zone or click to select one (MP4, WebM, MOV, AVI, MKV)
  2. Set the Target Size in MB, pick a Resolution cap, and choose an Audio Bitrate (or mute audio)
  3. Click "Compress to Target Size" — the FFmpeg engine loads once, then processes with a live progress bar
  4. Preview the compressed result and click "Download" to save the file to your device

Frequently Asked Questions

How close does the output get to my target size?

The tool calculates a video bitrate from your target size and the clip's duration, then encodes with a single pass and a bitrate cap. Output is usually within a few percent of the target, slightly under rather than over. Very short clips or very low targets may hit a minimum-quality floor and end up a bit larger than requested.

Is my video uploaded to a server?

No. Compression runs with FFmpeg compiled to WebAssembly, executing entirely inside your browser tab. The only network requests are one-time downloads of the open-source FFmpeg engine files themselves — your video data never leaves your device.

Why is compression slow for large files?

Browser-based WebAssembly encoding is single-threaded and slower than a native desktop encoder or GPU-accelerated hardware encoding. For very large files (500MB+), consider lowering the Resolution setting first, or use a dedicated desktop tool such as HandBrake for the fastest results.

Advertisement