Compress videos to a target size
Compress one or many videos to a target file size without uploading them. Add a batch, apply the same limit to every file, and Vidoak re-encodes to MP4/H.264/AAC locally in your browser.
Drop videos to compress
MP4, MOV, M4V, MKV, WebM, TS · up to 2 GiB each
Why local
Whether you compress one file or a queue, decoding and encoding run in a Web Worker on your device. The files never leave the tab, so there is no upload wait, no queue, and no server copy to delete.
How it works
- Choose one or more MP4, MOV, M4V, MKV, WebM, or TS files.
- Pick a target size; the same limit is applied to every file.
- Run the local queue, then download files individually or as a ZIP.
Capabilities
- MP4 / H.264 + AAC
- Re-encodes to MP4/H.264/AAC at the computed target bitrate.
- MOV / HEVC
- Decodes locally and re-encodes to H.264 when the browser supports the decoder.
- WebM / VP8 or VP9
- Decodes locally and re-encodes to H.264/AAC in an MP4 container.
- MPEG-TS / H.264 + AAC
- Demuxed locally and re-encoded to MP4 when the stream uses supported codecs.
- Batch queue
- Compresses multiple files one at a time, with per-file progress and a ZIP download.
- Audio-only files
- Rejected: the compressor needs a video track.
Limits
- The target is approximate: simple scenes often finish smaller, while complex scenes can land near the target.
- Files are capped at 2 GiB each and by the browser's WebCodecs encoder limits.
- A batch handles any number of files within the 4 GB input budget (more than 20 shows a long-task warning); files are compressed one at a time.
- Keep a batch's combined output under 1 GB; packaged ZIP downloads are limited to 512 MB.
- Files already at or below the target are skipped in a batch.
- Skipped files are left untouched and are not included in the ZIP.
- 4K and long videos may be slow; keep the tab in the foreground until the encode finishes.
- The browser must support H.264 video encoding and, for videos with audio, AAC audio encoding.
- AVI, FLV, WMV, and MPEG-2 video are not supported in this version; they are planned for the ffmpeg.wasm fallback.
- Compression always re-encodes. Use a remux or convert tool when you need an exact stream copy.
FAQ
Does my video leave the device?
No. The browser reads the file directly and processes it in a Web Worker. There is no upload endpoint and no server copy.
Can I compress multiple videos at once?
Yes. Add any number of files within the 4 GB input budget (more than 20 shows a long-task warning), choose one target size, and Vidoak compresses them sequentially in the same tab. Download the results individually or as a ZIP. Files already under the target are skipped.
Will 25 MB always produce exactly 25 MB?
No. 25 MB is a target. The encoder aims for the calculated video bitrate; simple content often finishes a little smaller, while complex content can land close to the target.
What happens to HEVC, VP9, or AV1 input?
The browser decodes the input locally and re-encodes it to H.264/AAC in MP4 when the required decoders and encoders are available.
Why is the output always MP4?
MP4 with H.264 video and AAC audio is the most broadly playable combination across browsers, phones, editors, and social platforms.
Can I keep the original codec and quality?
Use a remux or convert tool for a stream copy. Compression re-encodes by design so it can hit the target size.