Video Compressor
Compress videos in your browser — lower resolution and bitrate, smaller file.
What is Video Compressor
The Video Compressor re-encodes an MP4 in your browser and makes the file smaller. It uses WebCodecs to transcode to H.264 while lowering resolution, bitrate and frame rate together. There is no ffmpeg download and the video is never uploaded — everything runs locally (free: up to 3 minutes · Pro: up to 15 minutes / 200 MB).
File
… up to 100 MB · up to 3:00
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Size limit
- 100 MB free, 200 MB with Pro
- Duration limit
- 180s free, 15 min with Pro
- Offline
- Works with the network disconnected
WebCodecs, not ffmpeg in the browser
The pipeline decodes with VideoDecoder, re-encodes with VideoEncoder and remuxes with mp4box plus mp4-muxer — all native browser APIs. That is a deliberate choice over ffmpeg.wasm, whose core build is around 31 MB, larger than the single-file limit for the static assets this site can serve.
The trade is compatibility: WebCodecs encoding is available in Chromium desktop browsers and not in Safari or Firefox, where the tool refuses to start rather than producing a broken file. The error message says which browser is needed, because "it did nothing" is the worst possible outcome.
What actually gets smaller
Two levers: resolution and bitrate. Halving the linear resolution quarters the pixel count and typically halves the file at the same quality setting. Lowering the bitrate by 30% reduces size by roughly 30% and is visible first in fast motion, gradients and film grain.
Re-encoding an already-compressed file always loses something, because the encoder is compressing artefacts as well as content. One generation is fine; repeatedly re-compressing the same clip to shave a few megabytes accumulates visible mush.
Files up to 200 MB and 15 minutes
Both limits exist for the same reason: the decoded frames and the encoder's buffers live in the tab's memory. A 4K 15-minute clip is far more data than that budget, so the limit is about decoded size rather than file size — which is why a highly compressed long video can be under the byte limit and still fail.
If a file is too large, trimming it first is usually better than compressing it harder. Thirty seconds of the right footage compresses well and is more useful than fifteen minutes at a bitrate where everything is soft.
How to use it
- 1.Choose a video file
- 2.Pick a compression level and max resolution
- 3.Download the compressed MP4
How Video Compressor works under the hood
Audio and video work on containers and codecs, which are different layers. Extracting audio copies encoded samples; compressing video must decode and re-encode every frame. That difference explains the speed gap between the two tools.
- 1
Demux the container
mp4box reads the MP4 boxes (ftyp, moov, mdat) and exposes the individual tracks without touching their encoded data.
- 2
Extract or decode
Audio extraction copies the AAC samples straight into a new container. Compression decodes each frame through WebCodecs' VideoDecoder.
- 3
Re-encode if needed
Frames are scaled on a canvas and re-encoded with VideoEncoder at the chosen bitrate and resolution; audio is re-encoded to AAC or MP3.
- 4
Mux the result
mp4-muxer writes a fresh MP4 with a correct index, so the output seeks properly in any player.
Processing pipeline
Why compression is CPU-bound
Decoding and re-encoding a 10-minute 1080p video means processing roughly 18,000 frames twice. WebCodecs uses hardware acceleration when the browser exposes it, but the tab still does the work — expect minutes, and keep the tab in the foreground. This is also why the free tier caps duration rather than file count.
Extraction is lossless
Pulling audio out of a video does not re-encode it, so the sound is bit-for-bit what was in the original. Converting to MP3, however, does re-encode and is lossy; if you need an exact copy, choose the original codec (AAC/M4A) rather than MP3.
Cut points land on keyframes
A compressed video stores full frames only at keyframes; the frames between them depend on earlier ones. Trimming therefore snaps to the nearest keyframe unless the clip is re-encoded, which is why a trim can start a fraction of a second late. Re-encoding costs quality and time; snapping costs a few frames.
Verify it yourself
The file is read by the browser, not uploaded. Watch the network panel during a run.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
How much quality is lost?
You pick one of three levels. Balanced (default) is right for social sharing, Strong favours file size, Light favours quality. If the source is already heavily compressed, the saving can be small.
Which browsers work?
Desktop Chrome, Edge and Opera 94+ (WebCodecs). Safari and Firefox are not supported yet.
What happens to the audio?
Audio is re-encoded to AAC 128 kbps. You can also strip audio entirely and get a silent MP4.
Can it compress iPhone HEVC videos?
No — browsers cannot decode HEVC. Export the clip as H.264 MP4 first.
Is this tool free?
Yes — no sign-up and no card. The free tier handles 3 minutes / 100 MB. Everything runs in your browser, so your file is never uploaded.
What happens if my file is over the limit?
You see a notice before any processing starts, and nothing is charged automatically. Pro raises the limit to 15 minutes / 200 MB. If you'd rather stay free, compress or split the file first.
What this kind of conversion cannot keep
Video and audio are processed with the browser's own codecs (WebCodecs where available, otherwise a JavaScript encoder). It is slower than a native app because it runs on one thread in a sandbox, but the file is never uploaded — which is the only reason to accept the trade.
Go deeper
More in Video & Audio
On this page
- What is Video Compressor
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →