Compress a video to a required file size in your browser using FFmpeg (WebAssembly) — a free, open-source engine. Nothing is uploaded anywhere.
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.
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.
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.
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.