Compress a video to any size

Pick a target size, drop your video, and get an MP4 that fits under it. The video is compressed on your own device and never uploaded.

Your files never leave your device

Drop a video here

MP4, MOV, WebM or MKV, from a phone or a computer. The video stays on your device.

You can also paste files with Ctrl+V.

In short

To compress a video, choose a target size such as 20 MB for Discord, add the video and press Compress video. The tool works out the bitrate, resolution and frame rate that fit, encodes an H.264 MP4 in your browser and checks the result against the target.

How to compress a video

  1. Open Target size and pick where the video is going: Discord, WhatsApp, an email attachment, 8, 10 or 25 MB, or Custom size to type your own number.
  2. Press Choose video or drop the file onto the page. The tool reads its length, resolution and frame rate and shows the result it expects, for example about 19 MB at 1280 × 720 and 30 fps.
  3. Press Compress video and keep the tab open. When it is done, check the preview, then press Download, or Share on a phone to send it straight to an app.

Why a target size is easier than a quality slider

File size is simple arithmetic: bitrate multiplied by length. A two-minute clip that has to fit in 20 MB can use about 1.3 megabits per second in total, whatever the original looked like. Most compressors make you guess with a quality percentage and try again until the file is small enough. This one starts from the number you need and works backwards.

From that budget it chooses the largest resolution that still looks clean. Below roughly 2.5 Mbit/s a 1080p picture breaks into blocks, so the tool steps down to 720p, 540p or 480p, and drops 60 fps footage to 30 fps when bits are short, because a sharp picture at 30 fps beats a smeared one at 60. Browsers can't do two-pass encoding, so after each pass the real file size is measured. If it came out above the target, the bitrate is corrected and the video is encoded again, up to three passes in total.

Frequently asked questions

How do I compress a video without losing quality?

Every size reduction removes some detail, but you can keep the loss invisible. Choose the largest target the destination accepts, trim parts you don't need so the remaining seconds get more bits, and leave Resolution on Automatic. The plan line tells you before you start whether to expect good, fair or low quality.

Is my video uploaded to a server?

No. The file is read from your disk by your browser, encoded by the video encoder built into your device and saved back to your device. You can open the network panel of your browser's developer tools while it runs and you will see no upload.

How long a video fits in 20 MB?

Roughly one minute at 1080p, about two minutes at 720p and four to five minutes at 360p, depending on how much movement there is. Fast gameplay needs more bits than a talking head. If a video is too long for the size, the tool says so and suggests a length to trim it to.

Why is the compressed file smaller than the target?

The tool aims about 5% below platform limits and 3% below typed sizes. Encoders never hit a bitrate exactly, and a file one kilobyte over a limit is rejected. Email is the exception: attachments grow by a third when sent, so the email preset makes an 18 MB file for a 25 MB limit.

Which video formats can I compress?

MP4, MOV from iPhones and cameras, WebM and MKV, as long as your browser can decode the video inside. The result is always an MP4 with H.264 video and AAC audio, the combination that plays on every phone, computer, chat app and email client.

Does the compressor add a watermark or need an account?

No watermark, no account, no limit on how many videos you compress. There is also no queue: the speed depends only on your device, and most short clips finish in less time than an upload would take.

Why does it say my browser can't read the video?

Some iPhones record in HEVC (H.265), which Chrome on Windows can only decode with extra system support. Open the page in Edge or Safari instead, or set Camera > Formats > Most Compatible on the iPhone so new videos are recorded in H.264.

Can I compress a video on my phone?

Yes, in Chrome on Android and in Safari on iPhone and iPad. Phones encode more slowly than computers, so keep the screen on and the tab in front until it finishes. Firefox for Android can't encode video yet.

Settings you can change

Target size covers the common limits so you don't have to look them up: a free Discord account allows 20 MB per file, WhatsApp sends videos up to 100 MB at 720p, and Gmail allows 25 MB of attachments per message. The full list, with the date each limit was last checked, is on the file size limits page.

Under More settings you can force a resolution (1080p, 720p, 480p or 360p), cap the frame rate at 30 or 24 fps, or remove the audio track. Removing audio gives the whole budget to the picture, which helps screen recordings and clips where sound doesn't matter.

  • Gameplay and sports: keep 60 fps only when the target is generous; otherwise 30 fps looks better.
  • Screen recordings: 720p is usually sharp enough to read text, and audio can often go.
  • Long recordings: trim first with the video trimmer, then compress what is left.

What happens to sound and metadata

Audio is re-encoded as AAC at 128 kbps when there is room, stepping down to 96 kbps and then to mono at 64 or 48 kbps for very tight targets, which still keeps speech clear. Phone rotation is applied so the video plays the right way up everywhere. Location data and other camera metadata are not copied into the compressed file.

How your files stay private

Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.

Presets

Guides

All 16 guides

Last updated Nov 12, 2026