Video Compressor
Shrink a local video to a smaller MP4 or WebM with quality, target-size and bitrate controls. Encoding runs on your device through a self-hosted engine — nothing is uploaded.
Estimate
1940 kbps videoNo video loaded
Add a video to see the size estimate and start compressing.
Examples
20 MB email cap
100 s clip, 20 MB target, 128 kbps audio~1430 kbps video, ~19 MB estimateThe audio budget is reserved before the video bitrate is solved.
Web 720p preset
Quality CRF 24, 66% scale, 30 fpsSmaller H.264 MP4 with AAC audioDownscaling and a frame-rate cap reduce both encode time and bytes.
WebM VP9
WebM format, Opus 128 kbpsVP9/Opus WebMVP9 encoding is software-only in most browsers, so the tool warns about the longer wait.
Impossible target
0.001 MB for a long clipValidation errorA minimum practical bitrate prevents a target that would produce an unwatchable file.
About this tool
The Video Compressor re-encodes a local video into a smaller MP4 or WebM file without uploading it. Choose a CRF-style quality level, a target output size in megabytes, or a manual bitrate, then tune resolution scale, frame rate, keyframe interval and audio handling to suit the destination.
An estimate is shown before encoding. Quality mode uses a documented bits-per-pixel heuristic that halves the bitrate every six CRF steps and scales with resolution and frame rate; target-size mode subtracts the audio budget and solves the remaining video bitrate from the duration. Both approaches deliberately label their output as an estimate rather than a guarantee.
Encoding runs through a self-hosted FFmpeg engine loaded on demand in your browser. The tool reports progress, supports cancelling a run, and finishes with before/after size, saved percentage, output bitrate, encode speed and a local preview of the compressed file.
What this tool does not do
- The self-hosted FFmpeg engine is a one-time multi-megabyte download that is cached by the browser.
- Very large files may exceed browser memory because the input is written into the engine's virtual filesystem in one pass.
- Two-pass rate control, hardware encoder selection and AV1 output are not included in this version.
How to use this tool
Load a video
Drop an MP4, MOV or WebM file. Duration, resolution and size are read locally before any settings are applied.
Choose a mode
Use Quality for a consistent look, Target size for a hard cap such as an email limit, or Bitrate for full control.
Tune the output
Pick a resolution scale, frame-rate cap and audio option. Audio can be copied, re-encoded to AAC or Opus, or dropped.
Review the estimate
Check the estimated megabytes and the honest trade-off note before starting the engine.
Compress and download
Watch the progress indicator, cancel if needed, then preview the result and download the smaller file.
Use cases
Email and chat limits
Fit a recording under a 20–25 MB attachment cap without uploading private footage.
Docs and tickets
Shrink demo recordings for bug reports and documentation pages.
Web assets
Produce a 720p MP4 or VP9 WebM at a consistent quality level.
Output options
| Setting | Choices |
|---|---|
| Container / codec | MP4 with H.264 or WebM with VP9 |
| Rate control | CRF-style quality 18–35, target size in MB, or a manual kbps value |
| Resolution | 100%, 75%, 66%, 50% or 25% of the source dimensions |
| Frame rate | Source rate or a cap of 30, 24 or 15 fps |
| Audio | Keep source codec, AAC 128/192 kbps, Opus 128 kbps or no audio |
AAC is used with MP4 and Opus with WebM; mismatched combinations are rejected rather than silently remuxed.
Common mistakes
Mistake:Expecting the target-size estimate to be exact.
Fix:Real output depends on content complexity; the estimate is labelled as such and the final stats show the actual size.
Mistake:Choosing Opus audio with an MP4 container.
Fix:Use AAC for MP4 and Opus for WebM; the tool blocks the mismatched combination.
Mistake:Downscaling a 4K clip to 25% and expecting fine detail.
Fix:The tool shows a capability note; pick 75% or 100% when detail matters.
Frequently asked questions
Is my video uploaded?
No. The video stays on your device. Encoding runs through a self-hosted FFmpeg engine loaded into your browser, and the downloaded result is built from a local Blob. The engine download is a one-time cost cached by your browser.
How much can it compress?
It depends on the source bitrate and content. A high-bitrate 1080p recording can often shrink by 70–90% at 720p with AAC audio, but the tool never promises a fixed ratio — it shows an estimate before encoding and the real before/after statistics afterwards.
What is CRF, and how is it different from bitrate?
CRF is a quality target: the encoder spends whatever bits the content needs to reach that visual level. A fixed bitrate spends the same number of bits per second regardless of content. Use quality mode for consistent appearance and target-size mode when you have a hard file-size limit.
Does it keep audio in sync?
Yes. Keeping the source codec copies audio packets alongside the re-encoded video, while re-encoding to AAC or Opus keeps the same track duration. Dropping audio removes the track entirely.
Why is it slower than desktop tools?
Browser-based encoding runs in WebAssembly without direct hardware access in many browsers, and VP9 is usually software-only. Resolution scaling and a 30 fps cap reduce the work substantially.
What happens if I cancel?
The run is marked cancelled and the partial output is discarded rather than downloaded. Settings and the loaded file stay intact so you can adjust them and try again.
Related tools
Audio Format Converter
Convert audio between WAV bit depths, sample rates and channel layouts in your browser, privately.
Audio Joiner
Reorder and merge audio files with optional crossfades into a single WAV track, locally.
Audio Noise Reducer
Remove hiss and hum from recordings with a zero-download spectral gate or hum notch, in your browser.
Audio Normalizer
Normalize loudness to LUFS or a peak target with true-peak ceiling and WAV export, entirely in-browser.
Audio Pitch & Tempo Changer
Change pitch and tempo independently or together, with local rendering and WAV export.
Audio Trimmer & Cutter
Cut segments from any audio file with a draggable waveform selection — decoded, trimmed and exported to WAV entirely in your browser.