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
- 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.
- 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.
- 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
Related tools
- Video trimmer Cut the start and end of a video losslessly, remove audio or crop it, in your browser.
- Video converter Convert MOV, WebM, MKV, M4V, TS and GIF to MP4, WebM or MOV in your browser.
- VFR to CFR converter Check clips for variable frame rate and codec problems, then convert them to edit-ready CFR H.264.
- Video to GIF Make an animated GIF from part of a video, with control over width, frame rate and colors.
- Video to MP3 Extract the sound of videos as MP3, M4A or WAV, without uploading them.
- Screen recorder Record your screen, a window or a tab with sound. No watermark, no time limit, no upload.
Guides
- How to compress a video for email (Gmail and Outlook) Email was never designed for video, and both Gmail and Outlook.com stop at 25 MB per message. Here is how to make a video fit, how good it will look, and when a link is the better choice.
- Discord says your file is too large: how to send it anyway Discord refuses any attachment above your account's size limit. Here is what the limit is today, why phone videos hit it more often since the August 2026 change, and reliable ways to get your file through.
- How to screen record with audio without installing anything A modern browser can record your screen, a window or a single tab, together with your microphone and often the computer's sound. Here is exactly what works where, and how to get the audio right the first time.
- WhatsApp video too big to send: what actually works WhatsApp refuses or heavily shrinks long videos sent from the gallery. Here are the limits it uses today and the fixes that keep your video watchable.
- How to compress a video on Android without installing an app Android phones record large video files, and the apps and forms you want to send them to often refuse them. This guide shows how to compress an existing video in Chrome, plus the camera and sharing choices that avoid the problem later.
- How to compress a video on iPhone without an app An iPhone clip can be hundreds of megabytes after only a minute or two of filming. Here are three ways to make it smaller, from a camera setting for future videos to compressing an existing one to a specific size.
- How to compress a video to 10 MB or less A 10 MB cap shows up on upload forms, support tickets, application portals and older mail systems. Whether a clip fits depends mostly on how long it is. This guide gives the numbers and the exact steps.
- How to compress a video to 8 MB when it will not shrink enough 8 MB is a tight budget: about a minute of watchable video if you are careful. If your first attempt came out too large or too blurry, this guide walks through what to change in the right order.
Last updated Nov 12, 2026