Compress MP4 Videos Online with Single-Threaded FFmpeg
Compress MP4 videos by adjusting quality and resolution.
- No upload
- No signup
- Free
Loading tool…
Your file stays in this browser. Nothing is uploaded.
Loading tool…
Your file stays in this browser. Nothing is uploaded.
How In-Browser Video Compressor works
Browser Toolset Video Compressor shrinks video file sizes client-side using a single-threaded FFmpeg WebAssembly build. Adjust CRF compression strength and downscale resolutions without uploading video bytes to any server.
How to use this tool
- Initialize the local single-threaded FFmpeg WebAssembly engine.
- Upload or drop your video file (MP4, MOV, WEBM).
- Select target resolution (Keep Original, 720p HD, or 480p) and compression CRF slider.
- Click "Start Local Video Compression" and monitor real-time WebAssembly encoding progress.
- Preview the compressed video and download your optimized MP4 file.
Common uses
- Shrinking smartphone videos so they are easier to send by email or chat (check the service's current attachment limit).
- Optimizing product videos and landing page backgrounds for fast web loading.
- Social media creators compressing video clips before uploading to Twitter or WhatsApp.
- Students uploading video assignment presentations to university portals.
Frequently asked questions
Does compressing a video upload my files to any cloud server?
No. Compression runs in your browser with a single-threaded FFmpeg WebAssembly engine, and the video is not uploaded. The engine file, about 10 MB, is downloaded from this site the first time you load it.
Why is a single-threaded FFmpeg build used?
The single-threaded build does not need SharedArrayBuffer, so the site does not have to send cross-origin isolation headers (COOP and COEP), which can restrict third-party scripts. The trade-off is slower encoding than a multi-threaded build.
What is a CRF (Constant Rate Factor) value?
CRF is the quality setting of the H.264 encoder. Lower values keep more detail and make larger files, higher values make smaller files with more visible loss. This tool offers CRF 22 to 36 and starts at 28.
Will my video lose quality after compression?
Some quality is lost, because H.264 is lossy and the tool uses a fast encoding preset. A lower CRF keeps more detail, a higher one saves more space. The tool shows the percentage saved, or says when the result is not smaller.
Can I compress videos on mobile phones?
Yes, on browsers that support WebAssembly, but encoding is slow on phones. The tool shows a warning for files over 100 MB and uses your device memory, so use a desktop computer for large videos.
Details and limits
Large raw video files consume valuable storage and exceed messaging attachment caps. Many online video compressors work by uploading your video to a remote server. Our Video Compressor runs a single-threaded FFmpeg WebAssembly build in your browser, so the video is not uploaded.
How video compression runs in your browser
The compressor uses a single-threaded build of FFmpeg compiled to WebAssembly. Before first use you press a button to load the engine, which is about 10 MB to download and around 32 MB once unpacked, then it is cached by your browser. Your video never leaves your device: it is read into the engine's memory, re-encoded there, and handed back as a download. The engine is released after about 30 seconds of inactivity and reloads automatically when you start another job.
Settings and limits
- Accepts common video files such as MP4, MOV, WebM and MKV, one file at a time. There is no fixed size limit below 2 GB, a warning appears above 100 MB because encoding takes longer, and files of 2 GB or more are refused.
- Output is always an H.264 MP4 with AAC audio, built to play in standard players and browsers. Dimensions are made even, which players require.
- Compression strength slider (CRF) from 22 to 36. Higher numbers give smaller files and lower quality. The default is 28.
- Resolution: keep original, 720p or 480p. Smaller videos are never enlarged.
- A progress readout shows the encoding position, and you can cancel a running conversion.
- The encoder uses a fast preset, so it finishes sooner but produces larger files than slow desktop encoders would. The result card shows percent saved when the output is smaller.
Tips and common problems
Because only one thread is used, a long clip can take several minutes, and a phone may take much longer than a laptop. Keep the tab in the foreground, and do not let the device sleep. For a message or Discord upload limit, try 720p with a CRF around 30 first, then raise CRF a step at a time.
If the output is not smaller, the source was probably already heavily compressed; raise CRF or choose 480p. If the tab runs out of memory on a big file, trim the clip first with the Video Trimmer & Cutter, because less video means less memory.
Remember that screen recordings and phone clips behave differently: static content compresses very well, while handheld, noisy footage barely shrinks. To remove the sound track before sharing, use the Mute Video tool, and to pull only the audio from a clip, the Video to MP3 Audio Extractor does that.