How Compress video works
Compress a video to a smaller file without sending it anywhere, right in your browser. The tool re-encodes your clip using H.264 video and AAC audio inside an MP4 container, powered by ffmpeg compiled to WebAssembly. You control the compression through a CRF (Constant Rate Factor) slider or a target bitrate, whichever fits your goal.
CRF 18 keeps quality close to the original while trimming some size; CRF 28 cuts further but softens fine detail. There is no one-click "fit to 25 MB" mode; instead, bitrate mode lets you compute the number yourself with one formula: total bitrate in kbps ≈ (target size in MB × 8192) ÷ duration in seconds. A 5-minute clip aimed at Discord's 25 MB free-tier limit needs roughly 683 kbps total; subtract the ~128 kbps reserved for AAC audio and you get about 555 kbps to type into the video bitrate field. The same formula covers a 25 MB email attachment cap or any other size ceiling an upload form enforces. Re-encoding is CPU-heavy and runs on your own machine, so a 10-minute 4K clip takes notably longer than a 30-second 1080p short.