How to Compress a Video
Compressing a video means making the same video take up less space: the same length, the same picture, a smaller file. This guide shows you how to do it free in your browser with the Video Compressor — no sign-up, no app to install, and your file never leaves your device.
What compressing a video means
The bitrate decides the file size
Every video file is a stream of pictures with a soundtrack, squeezed by a codec into as few bytes as the encoder thinks it can get away with. The number that decides the file size is the bitrate: how many bits of data the video uses per second. A phone recording at 20 megabits per second is a big file; the same recording re-encoded at 2.5 megabits per second is roughly eight times smaller.
Size against quality
Compressing a video means re-encoding it at a lower bitrate, and sometimes at a smaller resolution too. Nothing about the length changes, and the sound carries over — the picture just carries a little less detail. That is the whole trade: size against quality. A video recorded at a high bitrate has detail to spare, so it shrinks a lot before the difference is visible. A video that is already heavily compressed has little left to give, and squeezing it further mostly shows as blocky patches in fast-moving scenes.
How to compress a video in four steps
- Open the Video Compressor and drop in your file. Open the Video Compressor and drag an MP4, WebM or MOV file onto the dropzone, or click it to browse. The file is decoded in your browser — it is never uploaded anywhere.
- Choose how much to compress. The Compression slider is the free control: drag it to any level from 10% to 100% of the original bitrate and watch the estimated size. Or pick a quality preset — Best quality is about 12 Mbps at 1080p, High about 5 Mbps, Medium about 2.5 Mbps and Low about 1 Mbps, with the bitrate scaled down for smaller resolutions. Medium is the everyday choice; Best quality keeps the most detail, Low gives the smallest file. If you have a size limit, switch to Target size mode and type the size in MB instead — the tool works out the bitrate for you.
- Pick a resolution, then press Compress Video. Keep the original resolution when the video will be watched on a big screen; pick 720p or 480p when it will only be watched on a phone or in a chat. Compression takes about as long as the video itself, because the video is re-encoded in real time, and the progress bar shows exactly where it is.
- Check the sizes, then download. The tool shows the original size, the compressed size and the percentage saved. Preview the compressed video, and if it looks right, click Download Compressed WebM — the file downloads with “-compressed” added to its name.
Choosing a quality preset and resolution
Start with Medium at the original resolution. It suits most jobs: a phone recording, a screen capture, a clip for a chat or an upload form. The file shrinks a lot and the picture still looks clean on a phone or laptop screen, because phone cameras and screen recorders usually record at a much higher bitrate than the screen can show.
Resolution is the bigger lever
Resolution is the bigger lever. Dropping from 1080p to 720p cuts the number of pixels by more than half, so the same preset produces a much smaller file — and on a phone screen the difference is hard to spot. Dropping to 480p shrinks it further, for videos that will only ever be watched small. Two things to know: the tool never upscales, so picking a resolution larger than your video simply keeps the original; and picking a smaller resolution caps the frame rate at up to 30 frames per second, because each frame is drawn onto a canvas at the new size before it is recorded. The recording uses the browser’s MediaRecorder API, which is why the download is a WebM file.
Compressing a large video to a target size
If you have a size limit — an upload form that caps files at 100 MB, a chat app that refuses anything bigger — start from the size, not the preset. Switch the compressor to Target size mode, type the size in MB, and the tool works out the bitrate that should land the video under it: it takes your target, aims at 90% of it to leave room for the recorder's bitrate being approximate, and starts at the original resolution — though you can still pick a smaller one, which shrinks the file further. A 144 MB recording aimed at 95 MB, for example, comes out re-encoded at roughly three-fifths of its original bitrate.
That usually looks identical to the eye. Most phone and camera recordings are encoded at far higher bitrates than the screen can show — the camera plays it safe — and the VP9 codec the tool records with typically needs 30–50% fewer bits than H.264 for the same picture. So re-encoding at around two-thirds of the original bitrate mostly throws away detail nobody could see. The honest limit is the other direction: a video that is already efficiently encoded has nothing spare, and shrinking it further will show. The tool warns you when your target asks for a bitrate too low for the resolution, and it always shows the result against your target before you download — if the file still came out above it, try a lower target.
Use Best quality when the picture must stay closest to the original
If there is no size limit and the picture must stay as close to the original as possible, use the Best quality preset instead: about 12 Mbps at 1080p, which for typical phone and camera footage looks the same to the eye while still shrinking the file. Either way, preview the compressed video before downloading — your eyes are the final check, and the original file is never touched, so you can always compress it again differently.
Which formats work
The compressor accepts any format your browser can play and decode: MP4 (H.264), WebM and MOV in most browsers. That is because the decoding is done by the browser itself, using the same video decoder that plays videos on every website. The compressor never sees a file format it cannot decode — it hands the file to the browser and works with the frames that come back.
If a file will not load, the browser cannot decode that format or codec, and the compressor will say so plainly instead of failing silently. The fix is usually to try an MP4 file, which every browser plays, or to open the tool in another browser, which may have a different decoder. Files from phones and cameras are usually MP4, and both work in every modern browser.
Why the download is a WebM file
Browsers can decode many video formats, but the recorder built into the browser writes WebM — there is no MP4 recorder in Chrome, Edge or Firefox, and Safari only gained WebM recording in version 18.4. A compressor that promised an MP4 file would have to ship a large encoder library or send your file to a server to be encoded there, and neither fits a tool that promises your files never leave your device. So the compressor downloads WebM: the format the browser can honestly produce.
WebM plays in Chrome, Edge, Firefox and VLC, and in most modern video players and editors. If the place you are sending the video to only accepts MP4, convert the WebM afterwards in any video app: open it, export or save as MP4, and the compressed video is ready to share anywhere. The size saving survives the conversion, because the video is already compressed by then.
What to do with a compressed video
The most common use is sharing: a smaller file attaches to emails, passes upload-form size limits, and sends in a chat without a long wait. A compressed video also stores better — a phone full of recordings takes up far less space once the clips you want to keep are re-encoded at a sensible bitrate. And because the original file is never touched, you can always come back and compress it again at a different preset if the first result is not what you wanted.
Compression pairs well with the other tools on this site. If the audio is the part you want, pull it out first with the MP4 to MP3 Converter and skip the video entirely. If you want the words as well as the pictures, run the video through the AI Audio Transcriber to get a transcript. Each tool does one job, and the jobs chain together.
The honest limits
A browser compressor has limits worth knowing. It compresses one file at a time — there is no batch mode, and no way to trim or cut a video. Compression takes about as long as the video itself, because the video is re-encoded in real time, so a long video needs patience. And the download is always a WebM, never an MP4, for the reason above: browsers record WebM.
There is also no undo after a download — but that is not a real limit, because the original file is never changed. Compression here reads your file and writes a new one; the original stays exactly as it was, on your device, ready to be compressed again differently. If a result comes out too soft, open the original, pick a higher preset, and download again.
Related guides
- How to Compress an Image to Exactly 20KB, 200KB or 1MB — shrink an image to a precise target size.
- How to Compress Images Without Losing Quality — the same size-versus-quality trade for photos.
- How to Resize Images for Social Media — the right pixel sizes for every platform.
- Why Browser-Based Tools Are Safer for Personal Documents — why files that never leave your device stay private.
Questions people ask
What video formats can I compress online?
Any format your browser can play and decode: MP4 (H.264), WebM and MOV in most browsers. If a file will not load, the browser cannot decode that format or codec — try an MP4 file, or open the tool in another browser.
Why does the compressor download a WebM file?
Browsers record WebM, not MP4 — there is no MP4 recorder in Chrome, Edge or Firefox. The compressor downloads a WebM file, which plays in Chrome, Edge, Firefox and VLC. If you need an MP4, convert the WebM afterwards in any video app.
How much smaller will my video get?
It depends on the original: a phone recording at a high bitrate shrinks a lot, while a video that is already heavily compressed shrinks little and can even grow slightly at the Best quality or High preset. The compressor shows the original and compressed sizes before you download, so you see the exact saving.
Is my video uploaded when I compress it online?
Not with this compressor. Your file is decoded, re-encoded and downloaded entirely in your browser — it never leaves your device, and nothing about it is stored or sent anywhere.