Video Compressor
Shrink video files by re-encoding to H.264 MP4 with quality, resolution, frame-rate and audio controls.
Tool guide
What this tool does
Video Compressor re-encodes one or many videos to H.264 and AAC in an MP4 container, the most widely playable combination. You control the constant rate factor (CRF), maximum resolution, frame rate and audio bitrate, and the tool reports the size before and after for every file.
Modern phones record 4K at 50 Mbit/s or more, which is far beyond what you need for an email attachment, a chat message or a course upload. Many services cap uploads at 16, 25 or 100 MB, so a two-minute clip can be rejected outright.
This compressor uses the x264 encoder inside a WebAssembly build of FFmpeg. Instead of a fixed bitrate it uses CRF (constant rate factor), which keeps visual quality consistent and spends bits only where the picture needs them. On the x264 scale of 0 to 51, 23 is the default, 18 is close to visually lossless, and every 6 steps up roughly halves the file size. Lowering the resolution and frame rate cuts the size further. Everything runs locally, so private footage never leaves your device.
How to use Video Compressor
- Drop one or more videos onto the upload area, or click to browse.
- Pick a preset: Email / WhatsApp, Balanced or High quality.
- Fine-tune Compression (CRF), Maximum resolution, Frame rate and Audio if needed.
- Choose an Encoder speed: Very fast is a good default; Medium gives slightly smaller files but takes much longer.
- Click Compress and follow the progress bar for each file; Cancel stops the current job.
- Compare the sizes in Results and download files individually or as a ZIP.
Tips for better results
- Downscaling 4K or 1080p to 720p usually saves more than raising the CRF, with less visible damage on phone screens.
- Screen recordings with mostly static content compress extremely well; try CRF 30 or higher.
- Mono speech needs no more than 64 to 96 kbps AAC.
- If the result is larger than the original, the source was already efficiently compressed; raise the CRF or lower the resolution.
Common use cases
- Getting a clip under an email attachment limit of 20 to 25 MB.
- Reducing lecture or tutorial recordings before uploading them to a learning platform.
- Saving phone storage by shrinking old 4K home videos to 1080p.
- Preparing product videos for a website where page weight matters.
Common mistakes to avoid
- Setting CRF very high on footage with lots of motion, which produces blocky artefacts; lower the resolution instead.
- Compressing an already compressed file repeatedly; quality drops with each generation.
- Choosing Medium encoder speed on a phone: single-threaded WebAssembly encoding can take several times the clip length.
Frequently asked questions
What CRF should I use?
Start with 28 for general sharing. Use 23 if quality matters more than size and 30 to 34 for screen recordings or when you need the smallest file. Each step of 6 roughly halves or doubles the size.
How long will compression take?
The engine runs single-threaded in your browser, so expect roughly real time or slower for 720p and several times the clip length for 1080p or 4K on older devices. Very fast mode is the best balance.
Will the compressed video play everywhere?
Yes. Output is H.264 video with AAC audio in MP4, with the index moved to the start of the file (faststart), which plays on phones, browsers, smart TVs and every major social platform.
Are my videos uploaded to a server?
No. Only the FFmpeg engine is downloaded once from the jsDelivr CDN. Compression happens on your device and the files never leave it.
Feedback & suggestions
Help us improve Video Compressor. We read every message.