Compress a video to the size you need
Make a video small enough to send, upload or keep. Choose a quality level or type the size you need in MB, lower the resolution if you like, and see the estimated size before anything is encoded. The video is re-encoded by your browser’s own encoder, with a progress bar and a Cancel button, and the result plays next to the original.
Measured: what the settings do to one clip
One test clip, compressed with this page. The estimate column is what the page predicted before encoding; the result is the file that came out.
| Settings | Estimate | Result | Time |
|---|---|---|---|
| Balanced, original 1080p | 6.4–8.7 MB | 7.41 MB (−61%) | 8.7 s |
| Balanced, 720p | 3.2–4.4 MB | 3.73 MB (−81%) | 18.4 s |
| Target 4 MB, 720p | 3.3–4.4 MB | 3.76 MB (−80%) | 12.5 s |
| Balanced, 480p, a 2-minute 115 MB recording | 10–14 MB | 11.8 MB (−90%) | 4 min 43 s |
Measured on 6 November 2026 with Chromium 149 on a Windows PC with 16 threads, using our own 20-second 1080p test clip (H.264 at 8 Mbit/s plus AAC sound, 19.2 MB) and, for the last row, the same clip looped to 2 minutes (115 MB). These runs used the browser’s software H.264 encoder, which here managed a little under half real time at 480p; with a hardware encoder in a normal browser window the 720p job took about half as long. Budget roughly as long as the video plays, or more, on a computer without hardware encoding. Short-run times also wander by a few seconds when the computer is busy with other work.
How much quality is left? We compared frames of a 720p, 2 Mbit/s H.264 result with the original scaled to the same size: the average PSNR was 41 dB. Above about 40 dB most people can’t tell the two apart on a phone or laptop screen; fine text and grain are where losses show first.
What makes a video file big
A video’s size is its bitrate (bits per second) times its length. Phones record at a high bitrate, around 15–20 Mbit/s for 1080p and 40–50 Mbit/s for 4K, so that the picture survives editing; that is far more than is needed to watch it. Compressing means encoding it again at a lower bitrate.
- Resolution sets how many pixels each frame has. 720p has under half the pixels of 1080p and needs a little under half the bitrate for the same look; on a phone screen the difference is small.
- Frame rate: a 60 fps recording capped at 30 fps drops half the frames. Bits per second fall by roughly a third, because consecutive frames differ less at 60 fps.
- Sound is usually a small share: 128 kbit/s stereo AAC is under 1 MB a minute. Lowering it saves little; removing it helps clips where every MB counts.
- Content matters too. A talking head or a screen recording compresses far better than confetti, rain or a shaky handheld shot at the same bitrate; at a fixed target size, busy footage breaks into blocks in its fast parts. In our tests a confetti clip already showed blocks at Balanced 720p; a lower resolution at the same size looks cleaner, and the page warns before you start when a setting leaves too few bits.
Compressor settings
| Setting | Choices | Notes |
|---|---|---|
| Aim for: Quality | High, Balanced, Small, Smallest | Balanced is 3 Mbit/s for 1080p at 30 fps in H.264, scaled to the size and frame rate. Each level also stays under a share of what the original spends (High 80%, Balanced 60%, Small 42%, Smallest 28%), so the file gets smaller and the levels never write the same file. The encoder is told the real frame rate, so 60 fps clips land on the estimate too. |
| Aim for: File size | Any size in MB, or quick sizes made for the clip: half, a quarter, and common limits below its size | The bitrate is worked out from the length and the sound, aiming about 4% under the target. A result over the target gets one automatic second pass; if it still doesn’t fit, the page says by how much and offers a lower resolution or frame rate. A target too small for the length is flagged before you start. |
| Resolution | Original, 1080p, 720p, 480p, 360p | Only sizes smaller than the original are offered; the aspect ratio is kept, and portrait videos stay portrait. |
| Frame rate | Original, or 60, 30, 24, 15 fps | Only rates below the original are offered. |
| Format | MP4 (H.264), WebM (VP9) | VP9 looks the same as H.264 at about 30% fewer bits but encodes more slowly and plays in fewer apps outside the browser. A format this browser can’t encode is disabled. |
| Sound | Keep, Lower, Remove | Keep copies the original sound unchanged; Lower re-encodes it at 96 kbit/s AAC (64 kbit/s Opus in WebM). |
Getting under a limit. Messaging apps, email and upload forms often cap files at a size in MB. Choose File size and type the limit, or one a little below it. For a long clip, a lower resolution at the same size usually looks better than the full resolution starved of bits: the page warns when a target leaves too few bits per frame.
Files, browsers and large videos
| Browser | Copying (fast cut, MOV → MP4) | Re-encoding |
|---|---|---|
| Chrome, Edge, Opera (computer and Android) | Yes | Yes: MP4 (H.264 + AAC) or WebM (VP9 + Opus), hardware-accelerated where the device offers it |
| Firefox 130 and later | Yes | Yes, with the encoders Firefox provides; where it has no H.264 or AAC encoder the page says so and writes WebM or Opus sound instead |
| Safari 17 and later (Mac, iPhone, iPad) | Yes | Video yes; sound is copied where it can be, and if Safari has no audio encoder for a job the page tells you the result will be silent. We have not been able to test every Safari version ourselves |
| Older browsers without WebCodecs | The page says the browser can’t do it; nothing is sent anywhere instead | |
Compressing always decodes the picture, so it needs a codec the browser can decode: H.264, VP8, VP9 and AV1 nearly everywhere, H.265 (HEVC) only on some systems. AVI, WMV and FLV files can’t be opened at all. Long recordings are fine: the source is read a piece at a time, and a compressed result bigger than about 190 MB is streamed into the browser’s private disk storage instead of memory. Phones with little memory get a warning before a very large job.
Compressed by your browser, not a server
Most online compressors upload your video, compress it on their computers and send it back. Here the browser’s own encoder does the work inside this tab, so the video never leaves your device and there is no upload to wait for.
Video compression questions
How accurate is the target size?
Usually within a few percent. Encoders steer toward a bitrate rather than hit it exactly, so the page aims about 4% under your target. In our test a 4 MB target came out at 3.76 MB. If a result lands over your target, the page runs a second pass at a corrected bitrate by itself. If even that can’t fit, typically fast detail at full resolution, it says by how much and offers a lower resolution or frame rate.
Why is the result barely smaller, or even larger?
The video was already compressed efficiently, for example one exported from an editor or downloaded from a site. Re-encoding at a similar bitrate can’t save much. Lower the resolution or the frame rate. Each quality level stays under its own share of the original’s bitrate, and the page says before you start when a video is already small. If the result still comes out bigger, it offers to keep your original instead.
Which is better, MP4 or WebM?
MP4 with H.264 plays practically everywhere, so it is the default. WebM with VP9 makes a smaller file at the same quality but takes longer to encode and some apps, older iPhones and TVs among them, won’t play it. For a web page or Discord either works.
Is compressing slow?
It depends on the computer and the length. Every frame is decoded and encoded again; with a hardware encoder a 1080p clip usually compresses faster than it plays; with a software encoder it can take two or three times as long as the video lasts (our 2-minute test took 4 min 43 s). You can cancel at any moment.
Does the video get uploaded?
No. The compression runs in this browser tab with the browser’s own video encoder.
Can I compress an HDR video from an iPhone?
Yes, but the result is standard dynamic range: highlights and colors can look flatter than in the original. The page says so when it detects HDR. A fast cut in Trim Video keeps HDR, because nothing is re-encoded.
Related video tools
- Trim it firstA shorter clip is the biggest saving of all, and costs no quality.
- Convert video or extract audioChange the format without re-compressing when the codecs allow.
- Make a GIF insteadFor a few seconds that must play like an image.
- How to Shrink a GIF’s File SizeIncluding when a video is the smaller answer.
Looking for something else? Browse every Photoyam tool.