Compress Video for a Website
Opens with WebM (VP9) at 720p. Run it again as MP4 for a fallback.
This page opens with Screen size set to 720p and Format set to WebM (VP9), with a target size computed for that resolution and format. If this browser cannot encode VP9 on your device, the Format list does not offer it.
Free Video Compressor
No sign-up. No upload. No size limit.
Nothing is uploaded — the file is compressed on your device.
WebM first, MP4 as fallback
A video on a page is part of the page weight, so a smaller file loads sooner. VP9 in WebM gets a smaller file than H.264 at the same quality. Can I use lists full WebM support in Chrome, Edge and Firefox, in Safari 16 and later on macOS and in Safari on iOS 17.4 and later (caniuse, checked September 2026).
For older Safari, add an MP4. Run the same source again with Format set to MP4 and list both files in the `<video>` element, WebM first. The browser goes through the `<source>` elements and uses the first one it can play; with a `type` attribute it skips unsupported ones without downloading them (MDN).
720p is 1280 × 720 for a landscape video. If the player on your page is wider than 1280 pixels, pick 1080p under Screen size instead.
Background loops and audio
Chrome always allows muted autoplay (Chrome for Developers). On iOS, a `<video autoplay>` plays without a tap if it is muted or has no audio track, and it needs `playsinline` to play inline on iPhone (WebKit). For a background loop the sound is never heard, so set Audio to Remove audio under Advanced and the file carries no audio track at all.
For a video people play with sound, keep the audio. WebM stores only Opus or Vorbis audio, so Keep as is copies the track only when the source is already Opus or Vorbis; anything else is converted to Opus. Audio with more than 2 channels is mixed down to stereo.
On the page
Use `preload="metadata"` or `preload="none"` so the browser does not fetch the whole file up front, and a `poster` image to show until the video starts (MDN). Background clips need `muted playsinline autoplay loop`.
The video is compressed on your own computer and never uploaded, so an unreleased product video stays private until you publish it.
Frequently asked questions
WebM or MP4 for a website?
Both, in the same <video> element with WebM first. Browsers that play WebM take the smaller file; the rest fall through to MP4.
Why 720p?
It keeps the file small for players up to 1280 pixels wide. Pick 1080p in Screen size if your player is larger.
Does Safari play WebM?
Can I use lists full support from Safari 16 on macOS and Safari 17.4 on iOS (checked September 2026). Add an MP4 fallback for older versions.
How do I make a background video autoplay?
Remove the audio here, then use muted, playsinline, autoplay and loop on the <video> tag. Browsers allow muted autoplay without a tap.
Compress Video for a Website
Opens the compressor set to 720p.