Video compressor

Open a video and this tool encodes several smaller versions of it entirely in your browser, using FFmpeg compiled to WebAssembly. Nothing is uploaded anywhere. Every version is an H.264 + AAC .mp4 with settings chosen to play in as many mobile browsers and operating systems as possible. Compare them side by side and download the smallest one that still looks good.

How the output files are made compatible: Encoding runs on a single CPU core inside WebAssembly, so it is much slower than a native ffmpeg. Long or high resolution videos can take a while: use the "first N seconds" option to compare settings quickly, then encode the full version of the one you like. The ffmpeg engine (about 32 MB) is downloaded once and cached by your browser.
ffmpeg log