How to Compress Videos Without Losing Quality
Video files are enormous because they're dozens of images per second. The upside: video codecs are extraordinarily good at compression, so you can often cut a file by more than half with no visible quality loss — if you understand three settings. Here's the practical guide.
The three levers that matter
- Codec — the compression algorithm.
- CRF (quality) — how much detail to keep.
- Resolution — the pixel dimensions.
1. Choose a modern codec
- H.264 — universally compatible; the safe default.
- H.265 (HEVC) — ~30–50% smaller than H.264 at the same quality; slightly less universal.
- VP9 — similar gains to H.265, great for the web.
- AV1 — the most efficient, but slow to encode.
For sharing anywhere, H.264 is safest; for the smallest file where the player supports it, H.265/VP9 win.
2. Use constant-quality (CRF) encoding
Instead of forcing a fixed bitrate, CRF lets the encoder spend bits where they're needed to hold a target quality. Lower CRF = higher quality and bigger file.
| CRF (H.264/H.265) | Result |
|---|---|
| 18–20 | Visually lossless, larger file |
| 21–23 | Sweet spot — great quality, big savings |
| 24–28 | Noticeably smaller, some quality loss |
CRF ~23 is the classic “can't tell the difference” setting for most footage.
3. Right-size the resolution
If a clip will only ever play at 1080p, storing it in 4K quadruples the data for no visible benefit. Downscaling to the resolution it will actually be viewed at is often the single biggest saving — and it's not a “quality loss” if nobody sees the extra pixels.
Other quick wins
- Re-encode audio to a reasonable bitrate (AAC ~128 kbps) — audio is often needlessly large.
- Trim dead space at the start and end before encoding.
- Encode once from the source rather than re-compressing an already-compressed clip.
FreeCompressor's video tool
Our Video Compressor is in active development — it will offer H.264/H.265/VP9 with constant-quality encoding and optional downscaling. Add your email on the tool page to be notified when it launches. In the meantime, if you need to shrink still images, the image compressor is live now.