Skip to content

Compress Video to a Size (MB)

Make a video small enough for WhatsApp, email or an upload form: set a size in MB or a quality level, pick 1080p, 720p or 480p, and see the size before and after.

Private · on device. Runs in your browser: your file is not uploaded. No sign-up.

MP4, MOV (iPhone), MKV, WebM, AVI or 3GP, up to 2 GB

The size limits you will run into

Where it is goingTypical limitPreset to use
WhatsApp, sent as a normal videoAbout 16 MB16 MB
WhatsApp, sent as a documentUp to 2 GB, but no preview in the chatNot needed
Gmail attachment25 MB (larger files become a Google Drive link)25 MB
Job portals, college and exam formsVaries: check the formType the exact number

Type any size into the box: a bare number like 10 means 10 MB, and KB works too. The tool treats 1 MB as 1,000,000 bytes, the smaller of the two common definitions, so a result that is "at most 16 MB" passes whichever way a website counts. The exact byte count is shown with the result.

How fitting a video to a size works

A video's size is its bit rate multiplied by its length. So the tool divides your target by the length of the video to get a budget per second, sets some aside for the sound, and gives the rest to the picture. Longer videos get fewer bits per second, which is why a 30-second clip fits into 16 MB comfortably while a 10-minute one struggles.

Squeezing a full 1080p picture into a small budget makes it blocky. With Resolution on Automatic, the tool instead picks the sharpest resolution the budget can support, never above 1080p. A 3-minute video in 16 MB, for example, has room for about 570 kbps of picture, which gives a clean 480p video rather than a smeared 1080p one. Videos filmed at 60 frames per second are brought down to 30 in this mode, so each frame gets twice the detail.

There is a floor: below roughly 0.6 MB per minute of video with sound (about 0.3 MB without), nothing watchable remains. If your target is under that, the tool tells you the smallest size that can work.

Quality level mode

If you do not have a hard limit, choose Quality level instead. High quality looks the same as the original to most eyes and is often a third to half the size of a phone video; Balanced is softer in fast movement and much smaller; Smallest is visibly softer. The file size depends on the video, so it is not known in advance, but the tool shows the size before and after. In this mode the resolution stays as it was unless you choose 1080p, 720p or 480p.

Getting the best result

  1. Trim first. Every second you cut is budget the rest of the video gets. The video trimmer can do a fast cut in seconds.
  2. Use 720p for phones. A phone screen shows little difference between 720p and 1080p, and 720p has less than half the pixels to pay for.
  3. Drop the sound if it is not needed. Switch off "Keep the sound" and the picture gets that space too.
  4. Use a computer for long videos. It will be much quicker than a phone.

The result is always MP4 with H.264 picture and AAC sound, which plays on iPhone, Android, Windows, Mac and in WhatsApp. Location and other details stored by your phone are not copied. Need a document smaller as well? The PDF compressor works the same way.

The engine behind this tool

Video and sound are processed by FFmpeg, the open-source engine behind most of the world's video software, compiled to run inside your browser as ffmpeg.wasm. It is downloaded from this site (about 31 MB) the first time you use a video or audio tool, and your browser keeps it for next time. FFmpeg and ffmpeg.wasm are free software, licensed under the GNU General Public License version 2 or later; their source code is at github.com/ffmpegwasm/ffmpeg.wasm.

Frequently asked questions

How do I compress a video for WhatsApp?

Choose Target size and the "16 MB (WhatsApp)" preset, leave Resolution on Automatic, and press Compress video. The tool works out the bit rate that fits, picks the sharpest resolution that bit rate supports, and makes an MP4 that WhatsApp plays on any phone. For a long video, trimming it first gives a much better picture.

Is my video uploaded to a server?

No. The video is compressed on your own device by FFmpeg compiled to WebAssembly, running inside this browser tab. The engine (about 31 MB) is downloaded from this site once and cached by your browser; your video never leaves your device.

What if the result comes out over my limit?

The tool checks the exact size of every result. If it is over, it automatically tries again at a lower bit rate, up to three attempts in all. If a video is simply too long for the size you chose, it tells you the smallest size that can work, and you can trim the video, remove the sound or pick a lower resolution.

Why is it so slow on my phone?

Compressing means re-encoding every frame of the video, on your own device, using a single processor thread in the browser. On a good computer that takes roughly as long as the video plays; on a phone it is usually slower. A short clip finishes in moments, while a 10-minute 1080p video can take several minutes. You can cancel at any time.

Will choosing 720p turn my portrait video sideways?

No. 720p here means 720 pixels on the short side, so a portrait phone video becomes 720 wide and 1280 tall, still upright. Videos are never enlarged: if yours is already smaller than the resolution you pick, it keeps its size.

Why did it give me back my original file?

If your video is already under the target size, there is nothing to gain by compressing it, so the tool offers the original unchanged rather than making it look worse for no reason.