Compress a video without uploading it
To compress a video, drop it into the box above, pick a quality setting or a target size, and download the smaller MP4. It runs in your browser with its built-in video encoder, so the file never leaves your device and there is no size limit. On our test videos the Balanced setting saved a median 79% of the file size with a VMAF quality score of 85.8, working at about 6.9 times real time on a laptop.
Use a quality setting when you just want a smaller file, and Target size when something has a hard limit: an email attachment, a chat app or an upload form. For the common limits there are ready-made pages: Discord, email and WhatsApp.
Our test: 8 real videos at each quality setting
Phones record at a high bitrate so that nothing is lost while filming, and most of that is more than a screen needs. The three settings re-encode to H.264 at a bitrate set by the picture size and frame rate, and never above 70% of the original's bitrate, so a video always comes out smaller.
Method: the page's own code, run in Chrome 157 on an Apple M2 Mac, on the 8 test videos: real footage from Wikimedia Commons (1080p and 4K, 1–3 minutes), saved as H.264 MP4 at 17 Mbps (1080p) or 45 Mbps (4K), the way phones in "Most Compatible" mode and most Android phones record. VMAF is Netflix's open video-quality score (0–100, higher is better), comparing the result with the original at 1080p. How we test.
| Setting | Size (median) | Saved (median) | Picture | VMAF (median, lowest) | Speed |
|---|---|---|---|---|---|
| High quality | 84.2 MB | 65% | up to 1080p | 92.1 (72.1) | 6.8× real time |
| Balanced | 42.8 MB | 79% | up to 1080p | 85.8 (66.8) | 6.9× real time |
| Smallest | 15.9 MB | 92% | up to 720p | 57.2 (49.1) | 12.0× real time |
Last updated
Every test video on Balanced
So you can find one like yours: length, original size and what Balanced made of it.
| Video | Length | Original | Result | Picture | VMAF | Time |
|---|---|---|---|---|---|---|
| Climate march, Brussels (handheld, crowd) | 1:32 | 195.5 MB | 40.5 MB | 1920 × 1080 | 75.1 | 11.4 s |
| Snail on a leaf (close-up, 60 fps) | 1:14 | 241.1 MB | 38.4 MB | 1920 × 1080 | 88.1 | 10.9 s |
| Botanical garden (4K, shot on iPhone XR) | 2:54 | 904.2 MB | 88.3 MB | 1920 × 1080 | 79.6 | 50.0 s |
| App walkthrough (screen recording) | 1:43 | 12.2 MB | 6.5 MB | 1920 × 1080 | 96.1 | 15.1 s |
| Folk dance performance (stage, people) | 1:13 | 152.8 MB | 32.2 MB | 1920 × 1080 | 86.4 | 9.1 s |
| Airport tram ride (through a window) | 3:00 | 382.2 MB | 93.4 MB | 1920 × 1080 | 85.2 | 26.2 s |
| Berlin city scenes (4K, shot on iPhone 6S) | 2:42 | 782.7 MB | 64.8 MB | 1920 × 1080 | 66.8 | 19.1 s |
| Interview (talking head, indoors) | 1:27 | 181.0 MB | 45.2 MB | 1920 × 1080 | 91.0 | 12.7 s |
Last updated
Compressing to an exact size
With Target size the tool works out the bitrate from the length of the video: the size in bits, less 5% for the container and the encoder's margin, divided by the seconds. It then picks the largest picture that still gets enough data per pixel, so a long video drops to 720p or 480p instead of turning to mush at 1080p. At 20 MB, 8 of 8 test videos fitted (median VMAF 55.4); at 25 MB, 8 of 8 (median 61.2).
1 MB here means 1,000,000 bytes, so the file passes whether a site counts a megabyte as 1,000,000 or 1,048,576 bytes.
| Video | Length | Original | Result | Picture | VMAF | Time |
|---|---|---|---|---|---|---|
| Climate march, Brussels (handheld, crowd) | 1:32 | 195.5 MB | 23.8 MB | 1280 × 720, 25 fps | 61.2 | 6.3 s |
| Snail on a leaf (close-up, 60 fps) | 1:14 | 241.1 MB | 23.6 MB | 1280 × 720, 30 fps | 81.6 | 6.2 s |
| Airport tram ride (through a window) | 3:00 | 382.2 MB | 23.5 MB | 960 × 540, 30 fps | 46.8 | 14.1 s |
| App walkthrough (screen recording) | 1:43 | 12.2 MB | original kept | already under the limit | – | – |
| Folk dance performance (stage, people) | 1:13 | 152.8 MB | 23.8 MB | 1280 × 720, 25 fps | 74.8 | 5.1 s |
| Berlin city scenes (4K, shot on iPhone 6S) | 2:42 | 782.7 MB | 23.5 MB | 960 × 540, 24 fps | 47.1 | 20.7 s |
| Botanical garden (4K, shot on iPhone XR) | 2:54 | 904.2 MB | 23.8 MB | 960 × 540, 30 fps | 44.6 | 27.9 s |
| Interview (talking head, indoors) | 1:27 | 181.0 MB | 23.6 MB | 1280 × 720, 30 fps | 76.9 | 7.2 s |
Last updated
How it works, and what your browser needs
Pixohub's video tools use WebCodecs, the video encoder and decoder built into your browser (on most devices it uses the same hardware that records and plays your videos), driven by the open-source Mediabunny library. The file is read from your disk in pieces and the result is put together in the page, so nothing is uploaded and there is no limit on the original's size. The finished file is held in the page's memory until you download it, so a result of several gigabytes can be too much for a phone.
It needs a browser with WebCodecs: current Chrome, Edge and Samsung Internet on Android and computers, and Safari on Mac and on iPhone and iPad from iOS 16.4 (iOS 26 to make an MP3; on older iOS the video tools copy the sound as it is instead of re-encoding it). Firefox for Android has no WebCodecs yet, so there the page says so and suggests another browser instead of failing halfway.
Tips for a smaller video that still looks good
- Cut what you don't need first with Trim Video: half the length means twice the bitrate for the part you keep.
- A long video for a small limit looks better at 720p than at 1080p with too little data. Target size makes that choice for you.
- Screen recordings and talking heads compress far better than handheld footage of moving crowds or water. Expect a lower score on busy scenes at the same size.
- To send the sound only, save it as an MP3: a minute of 192 kbps audio is about 1.4 MB.