b4rn1 · videotoolsvideo
Bin VD-05·Video

Compress video

Re-encode a video to a smaller file, optionally downscaling to 720p or 480p. Check the output size before you keep it.

BinVD-05
DepartmentVideo
Free runs5 a day
File limit25 MB
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What compress video does

Compress video re-encodes a clip to H.264 at a quality level you choose, optionally scaling the height down. It is the fix for the upload limit: a 60 MB phone clip that has to fit inside 25 MB for a chat or a form.

How it works

ffmpeg.wasm with libx264, a CRF value setting quality and a preset trading encode time for size. Scaling uses -2 in the other dimension, which keeps the aspect ratio exact and rounds to an even number for H.264.

Runs on your device

The file never leaves this tab. It is decoded by the browser, worked on in memory and encoded again — no request carries it, and there is no server-side copy to delete afterwards because none is made.

Formats and limits

TakesMP4, MOV, WebM, MKV and other containers ffmpeg can read
ReturnsMP4 with H.264 video and the original audio
KeepsAspect ratio, frame rate and the full duration
Does not keepFine detail as CRF rises, and any resolution you choose to drop
Limits25 MB per input. CRF runs roughly 18 (near-transparent) to 32 (small and visibly softer); 26 is a sensible default for sharing.
PriceFree, 5 runs a day, no account

Worth knowing

  • CRF is constant quality, not constant bitrate: a still scene costs almost nothing and a busy one costs more, which is why the output size is unpredictable until it runs.
  • Scaling height to 720 is usually a bigger saving than pushing CRF higher, because it reduces the pixels every frame has to carry.

Questions about compress video

What CRF should I use?

23 if quality matters, 26 for general sharing, 30 for a preview. Below 20 the file grows fast for a difference most people cannot see on a phone.

Why is my compressed file sometimes bigger?

Because the source was already efficiently encoded. Re-encoding an already-optimised H.264 file at a low CRF can add bytes rather than remove them.

Does it work on HEVC or AV1 video?

Decoding depends on the ffmpeg build in the browser, and encoding here is H.264. An HEVC source may decode and be re-encoded as H.264, which is usually smaller and far more compatible.

Will it always get smaller?

Usually, but a file that was already compressed hard can come out larger. The result panel shows the real size so you can decide.

How long does it take?

A fresh encode runs roughly at the clip's own duration on a laptop, longer on a phone. Trimming first saves most of that time.

What file types can I use?

It takes MP4, MOV, WebM, MKV and other containers ffmpeg can read. Anything the browser cannot decode is rejected with an error rather than producing a broken file.

What do I get back?

MP4 with H.264 video and the original audio. What survives: Aspect ratio, frame rate and the full duration. What is lost: Fine detail as CRF rises, and any resolution you choose to drop.

Is there a file size limit?

25 MB per file on the free bench, with no page or run limit inside that size. Larger files are refused before any work starts rather than failing halfway through.

Where is my file processed?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Can I use this without a connection?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.