Compress a video to a smaller MP4

Re-encode MP4, WebM or MOV videos up to 100 MB as smaller H.264 MP4 files. Runs in your browser, so your videos aren't uploaded.

Runs in your browser. Your file never leaves this device.

Loading the tool…

What this tool does

Make a video file smaller by re-encoding it as an H.264 MP4. This often helps with screen recordings and videos from cameras and some phones, which are stored with lots of room to spare. It can bring a video under an email or upload limit.

There are two ways to run it. "Just make it smaller" re-encodes with FFmpeg's libx264 at CRF 28 using the fastest preset, keeping the resolution and frame rate; CRF 28 is a fairly strong setting, so fine detail and dark scenes can look softer, though talking-head videos and screen recordings usually look fine. Videos that were already compressed may not shrink this way, and can even get bigger; the tool tells you when that happens.

Or pick a size, such as under 10, 20, 25 or 50 MB. The tool reads the video's length, works out the bitrate that fits, lowers the resolution when that bitrate is too low for full HD, and checks the result. If a file still comes out over, it tries again lower, up to three times. It aims 5% under the number so the file also fits limits counted in binary megabytes. If a video is too long to fit at a watchable quality, it says so and tells you how long a clip would fit.

The work is done by FFmpeg running in your browser. The first time, your browser downloads it from unpkg.com (about 32 MB), and it's cached after that. Your videos are never sent anywhere. Each file can be up to 100 MB.

People use it for

  • Shrinking a screen recording before sharing it with a teacher or colleague
  • Getting a short video under the attachment limit for email
  • Making a WebM recording into a smaller MP4 that plays on more devices
  • Saving space on clips you want to keep but don't need at full quality

How to use it

  1. Add your videos

    Drop MP4, WebM or MOV files onto the box. You can add several, up to 100 MB each.

  2. Choose a size and compress

    Leave it on Just make it smaller, or pick a limit such as under 25 MB. Start the compression; long videos can take a while on a phone.

  3. Compare and download

    Each result shows its new size and, with a size limit, a tick when it fits. Files end in -compressed.mp4, or -under-25mb.mp4 for a size target.

What it works with

You give itYou get
MP4 / WebM / MOVMP4 (H.264 + AAC)

Questions

How much smaller will my video get?

It varies a lot. Screen recordings and camera files often shrink well. Videos already compressed by WhatsApp or a social app may barely change, or grow.

Will the quality drop?

Some. CRF 28 removes fine detail to save space. It's usually fine for screen recordings and people talking, less so for fast action or low light.

Can I choose a target size?

Yes. Pick under 10, 20, 25 or 50 MB in Make it fit under. The tool sets the bitrate and, if needed, the resolution from the video's length, and re-tries lower if the first result is over.

What is the file size limit?

100 MB per video. Bigger files are left out with a message.

One video failed and the rest disappeared. Why?

If one file in a batch can't be read, the whole batch stops. Remove that file and try again.

Is my video uploaded?

No. It's compressed in your browser. Only the FFmpeg engine is downloaded, from unpkg.com.