How to compress a video to a specific size
- Choose your video. Drop an MP4, MOV, WebM or MKV file onto the box. It is read directly from your disk; nothing is uploaded.
- Pick a target size such as 10 MB or 25 MB, or type your own. The tool works out the bitrate that fits, leaving room for audio and the container.
- Leave Resolution on Auto unless you need a specific size. Auto lowers the resolution when the budget is too small to keep a large frame sharp, which looks far better than a blocky 1080p video.
- Trim if you can. Cutting a 2-minute clip down to the 40 seconds that matter gives every second three times as many bits at the same file size.
- Press Compress video, watch the result in the preview, then download it.
How the tool hits the size target
Video encoders aim for an average bitrate, so a file can come out a little larger than planned. After each pass the tool measures the real file. If it is over your limit, it re-encodes at a proportionally lower bitrate, or at a lower resolution when the footage is very detailed, up to two more times, with the last pass using constant bitrate. If a target is simply too small for the clip, even the last pass can end up over it. The result then says so clearly and shows the smallest size it reached, so you never unknowingly download a file that is over your limit. Sizes use 1 MB = 1,000,000 bytes, so the file also fits limits that are counted in MiB.
Target size or Quality: which mode?
- Target size is for upload limits: Discord, WhatsApp, email, forms and job portals. You get the best quality that fits.
- Quality is for shrinking a file without a hard limit. Balanced typically cuts phone videos by 50 to 80% with little visible loss, because phones record at very high bitrates. The estimate shown before you start is based on the resolution and frame rate.
Tips for the best-looking result
- Seconds per megabyte matter most. As a rough guide for H.264, 1 MB holds about 6 to 8 seconds of decent 720p video, or about 3 seconds of 1080p.
- Fast motion costs more. Gameplay, sports and confetti need more bits than a talking head. For those, choose a lower resolution or a 30 fps cap.
- Audio takes a fixed share. With a size target, Auto picks 32 to 128 kbps depending on the budget, and never more than the original track had. If sound doesn't matter, Remove audio frees that space for the picture. To keep only the soundtrack, use Extract Audio from Video.
- MP4 plays everywhere. The output is MP4 with H.264 video, the format that phones, Discord, WhatsApp and every browser play. WebM with VP9 is a little more efficient but less widely supported.
Privacy and metadata
Compression happens in your browser with the WebCodecs API, often using your graphics chip, so even large files never leave your device. The compressed copy is written without the original's metadata, which removes things like GPS location from phone videos. To check what metadata a photo carries, use the EXIF viewer.
Share result makes a link that holds only the numbers on the result: the original and compressed sizes, the compressed video's length, resolution, format and sound codec, and the target size or quality you chose. The video itself, its file name and anything stored inside it never go into the link.
Troubleshooting
- "Can't decode H.265 (HEVC)": many iPhone videos are HEVC. Safari, and Chrome or Edge on Windows or Mac with hardware HEVC support, can read them. Otherwise record in "Most Compatible" mode.
- Slow or stuck: encoding speed depends on your device. Keep the tab in the foreground, since browsers slow down background tabs. A lower resolution encodes much faster.
- Target too small: the tool tells you the smallest workable size. Trim the clip or remove audio to get there.
- No sound after compressing: some audio formats (AC-3, DTS) can't be decoded by browsers. The tool warns you before this happens.
Working with sound only? Find the tempo of a track with the BPM finder.