BrowserTools
Advertisement
Home / Video / Video Compressor

Video Compressor

Compress and shrink video files locally in your browser, no upload, no quality wall.

Loading Video Compressor… If nothing happens, please enable JavaScript.

A video compressor reduces the file size of a video by re-encoding it at a lower bitrate, so a clip that was too big to email, upload or store becomes manageable while still looking good. Most of a modern video file is the encoded picture data; by asking the encoder to spend fewer bits per frame, you trade a small, often invisible, amount of visual detail for a dramatically smaller file. This tool uses the H.264 codec in an MP4 container, the most widely compatible combination, and lets you choose how aggressively to compress.

Frequently asked questions

Is my video uploaded anywhere?
No. Compression runs entirely in your browser with a WebAssembly build of FFmpeg. The file never leaves your device, so it is safe for private or sensitive footage.
How much smaller will my file get?
It depends on the original bitrate and the content. Videos exported from phones and cameras are often much larger than they need to be, so reductions of 50 to 80 percent at Medium are common. Already-optimised web videos compress less. The result shows the exact size and percentage saved.
Will compressing reduce the quality?
Compression is lossy, so some detail is discarded, but the CRF-based settings are chosen so the loss is small and usually hard to notice at Light and Medium. Strong trades more visible quality for the smallest file. Avoid repeatedly compressing the same clip, as each pass loses a little more.
What format does it output?
The compressor outputs MP4 with H.264 video and AAC audio, the most compatible combination across phones, browsers, editors and social platforms. If you need a different container or codec, use the Video Converter afterwards.
Is there a maximum file size?
There is no fixed limit, but the entire file is held in browser memory while compressing, so very large videos (well over 1 GB) may run out of memory, especially on phones. For big files, compress shorter sections or use a desktop encoder.
Why is it slower than an app on my computer?
To stay compatible with ordinary web pages (and not interfere with other site features), the tool uses the single-threaded build of FFmpeg, which cannot use all your CPU cores like a native app. Short clips are quick; large files take longer.
Does it also reduce the resolution?
No, the compressor keeps the original resolution and only lowers the bitrate. If you also want to shrink the dimensions (for example 4K down to 1080p), use the Video Resizer, which reduces resolution and file size together.
Does it work offline?
Yes, once the page and the engine have loaded. The first compression downloads the FFmpeg core (about 30 MB); after that it is cached and works without an internet connection.

About Video Compressor

Everything happens inside your browser using a WebAssembly build of FFmpeg. Your video is read from your device, compressed locally, and returned as a download. Nothing is ever uploaded, which makes it safe for personal recordings, work footage, or anything you would rather not send to a third-party server. It also means there are no file-size caps imposed by an upload limit, only the practical limits of your device's memory.

The quality setting controls the constant rate factor (CRF), the knob that balances size against quality. A lower CRF keeps more detail and produces a larger file; a higher CRF compresses harder and produces a smaller one. Light keeps near-original quality, Medium is a balanced everyday choice, and Strong squeezes the file as small as is reasonable. Because the encoder works frame by frame, results depend on the content: a static talking-head clip compresses far more than fast-moving action or noisy footage.

As with all the video tools here, compression runs single-threaded so it stays compatible with the rest of the site and keeps your data private. That makes it slower than a desktop encoder and memory-hungry on very large inputs. For short and medium clips it is quick and convenient; for multi-gigabyte files, compress in segments or use a desktop tool.

Why a phone video is so much bigger than it needs to be

Phones and cameras prioritise capture speed and quality over file size. They often record with a high, near-constant bitrate and light compression so the device can write frames quickly without taxing its processor, which is why a few minutes of 4K can run to several gigabytes. That footage has a lot of redundancy a more careful encoder can remove.

The key idea behind modern compression is that consecutive frames are mostly similar. Instead of storing every frame in full, codecs like H.264 store occasional complete frames (keyframes) and then describe the others as differences from their neighbours, motion vectors and small corrections. A static scene barely changes between frames, so it compresses enormously; fast motion and visual noise change a lot, so they need more data.

The constant rate factor (CRF) used here tells the encoder to target a consistent visual quality rather than a fixed size, spending bits where the eye notices them and saving them where it does not. This perceptual approach is why a well-chosen CRF can halve a file with no obvious difference, and it is the same principle that lets streaming services deliver high-quality video over ordinary home connections.

Advertisement
Advertisement
Advertisement