Video Compressor
Shrink a video file so it is easier to send, upload, or store — free, in your browser, with nothing uploaded.
Video Compressor
Drop a video here or click to choose one
No file chosen yet. Maximum file size 2 GB.
Your video never leaves your device — compression runs entirely in your browser. The first compression loads the converter (about 30 MB); later compressions start right away.
Command used:
ffmpeg −i input.mp4 −vcodec libx264 −crf 28 −preset veryfast −acodec aac output.mp4
Pixels = Width × Height (1080p = 1,920 × 1,080 = 2,073,600 pixels; 720p = 1,280 × 720 = 921,600 pixels)
What Does a Video Compressor Do?
A video compressor takes a video file and makes it smaller by re-encoding it more efficiently. Modern phones record beautiful video, but the files are enormous — a few minutes of 4K footage can be over a gigabyte, too big to email, slow to upload, and heavy to store. Compression squeezes the same video into a much smaller file by removing detail the eye barely notices, using the H.264 codec, which is the standard video codec of the web.
The trade-off is real and worth understanding: compression is lossy, so some quality is always lost. The skill is in losing detail nobody will miss while keeping the video looking good. This tool gives you three compression levels and an optional resolution limit, so you control that trade-off instead of leaving it to a mystery setting. The output is always an MP4 file, the most compatible video format there is.
How to Use This Compressor
Drop a video file onto the upload area or click it to choose one from your device. The tool accepts MP4, MOV, MKV, WebM, AVI, M4V, FLV, WMV, MPG, and 3GP files. Choose a compression level — medium is the right default — and optionally set a maximum height to also shrink the resolution. Press Compress Video, wait for the progress to reach 100 percent, and download the result. The compressed file is named after the original with "-compressed" added, so clip.mp4 becomes clip-compressed.mp4.
The first compression in a session loads the converter (about 30 MB); later compressions start right away. Compression speed depends on your device and the length of the video: a one-minute phone clip usually takes under a minute, while a long 4K video takes considerably longer, because every frame has to be decoded and re-encoded. The status line shows progress as a percentage while it works.
How Video Compression Works
This tool re-encodes your video with libx264, the open-source H.264 encoder used by most of the video industry, and encodes the audio as AAC, the standard audio codec for MP4 files. H.264 saves space in two ways: within each frame, it compresses the picture much like a JPEG does, and between frames, it stores only what changed since the previous frame. A static shot of a talking head compresses far better than a shaky action scene, because most of the picture stays the same from frame to frame.
The quality dial is called CRF, the Constant Rate Factor. It runs from 0 to 51, where 0 is lossless and 51 is the worst quality. Lower numbers mean better quality and bigger files; higher numbers mean smaller files and more visible quality loss. The scale is logarithmic in effect: raising CRF by about 6 roughly halves the bitrate, and therefore roughly halves the file size. This tool uses CRF 23 for light compression, CRF 28 for medium, and CRF 33 for strong compression. CRF 23 is x264's default and is widely considered visually near-lossless for most content; CRF 28 is a sensible balance that most viewers cannot distinguish from the original on a phone or laptop screen; CRF 33 is visibly softer but dramatically smaller.
The encoding preset is "veryfast", which trades a small amount of compression efficiency for much faster encoding. A slower preset would squeeze out a slightly smaller file at the same quality, but it would take several times longer — a bad trade in a browser tool. The audio is re-encoded as AAC at ffmpeg's default quality, which is transparent for most listeners and keeps the file compatible with every player.
Resolution and File Size
Resolution has a big effect on file size, because the number of pixels grows with the square of the dimensions. A 1080p frame is 1,920 by 1,080 pixels, which is 2,073,600 pixels. A 720p frame is 1,280 by 720, which is 921,600 pixels — only 44 percent as many. A 480p frame is 854 by 480, which is 409,920 pixels — about 20 percent of 1080p. Fewer pixels mean less data to store, so dropping from 1080p to 720p roughly halves the file size even before the compression level is considered.
That is why the maximum-height option is so powerful: combining medium compression with a 720p limit can shrink a phone video to a fifth of its original size while still looking good on a phone screen. But resolution is also the most visible quality loss — a 480p video looks soft on a large screen, and no amount of careful encoding can put the missing pixels back. The honest rule is to keep the resolution your audience will actually watch at: 1080p for a TV or large monitor, 720p for phones and social media, 480p only when file size matters more than looks, such as a quick preview or a message attachment.
Worked Example
Take a video called clip.mp4, shot in 1080p, compressed at the medium level with the resolution kept original. The tool names the output clip-compressed.mp4 and encodes it at CRF 28. If the original is a typical phone recording, the compressed file commonly comes out at roughly a third to a half of the original size — a 300 MB clip becomes roughly 100 to 150 MB. The exact result depends on the content: a still interview compresses far more than a busy sports clip, so two videos of the same length can compress very differently.
Now add a 720p maximum height to the same clip. The frame drops from 2,073,600 pixels to 921,600 pixels, a 56 percent reduction in pixels, and the file shrinks further — the same 300 MB clip might come out at roughly 60 to 90 MB. At the strong level (CRF 33) with a 480p limit, it could drop below 40 MB, but the softness would be obvious on anything larger than a phone. These are ranges, not promises: compression results always depend on the footage, and the tool shows you the real output size before you download, so you can judge for yourself.
When to Compress a Video
The most common reason is sharing. Gmail caps attachments at 25 MB, and many messaging apps and web forms have limits far below the size of a raw phone video. A video that will not send at 400 MB sends easily at 40 MB. Compression also helps uploads: a smaller file uploads faster and is less likely to fail on a slow or flaky connection, which matters when you are sending footage from the field.
Storage is the second reason. Phone storage fills up fast with video, and a compressed copy of footage you want to keep — but do not need at full quality — can free gigabytes. The same applies to backups: a compressed archive of family videos takes a fraction of the space and still looks good on a TV. Compression is also the right step before posting to social media, because platforms re-compress everything you upload anyway; sending them a sensibly compressed file means a faster upload with no visible difference in the result.
Privacy and Limits
Your video is processed entirely in your browser and never uploaded to any server. There is no upload step and no server-side processing, so there is no copy of your footage anywhere except on your own device. That matters for personal videos, work footage, and anything you would not want passing through a stranger's server.
The practical limits are a 2 GB maximum file size, set by the WebAssembly runtime that runs the converter, and the speed of your device. Very long or 4K videos take a while and use a lot of memory; if a conversion fails on a huge file, try the strong compression level with a 720p limit, which reduces the work, or use a desktop copy of ffmpeg. The tool works in current versions of Chrome, Edge, Firefox, and Safari on desktop and mobile, and the first use in a session downloads about 30 MB of converter code.
Tips for Better Results
Start with medium and check the result. Medium compression at the original resolution is the best first try. If the file is still too big, add a resolution limit before jumping to strong compression — dropping to 720p usually saves more size with less visible damage than raising the CRF.
Keep the original. Compression throws away detail permanently. Always compress a copy and keep the original file somewhere safe, so you can make a different version later without re-compressing an already-compressed video.
Match the resolution to the destination. A video that will only ever be watched on a phone does not need to be 1080p. But a video for a TV or a projector deserves its full resolution — compress the quality, not the pixels.
Close other heavy tabs. Video encoding is one of the most demanding things a browser can do. Fewer competing tabs means faster compression, especially on a laptop or phone.
Common Mistakes to Avoid
The biggest mistake is compressing an already-compressed video repeatedly. Each round of lossy encoding throws away more detail, and the damage accumulates: a video compressed three times looks noticeably worse than the same video compressed once to the same final size. Always compress from the original file.
The second mistake is over-compressing footage you care about. Strong compression plus a 480p limit is fine for a quick preview, but it is a poor choice for a wedding video or a client's footage. When in doubt, use light compression and keep the resolution — storage is cheap, but lost quality never comes back.
Finally, do not expect compression to fix a bad recording. A shaky, dark, or noisy video compresses poorly, because noise and motion are exactly the details the encoder struggles with. Compression makes files smaller; it does not make footage better. If you only need the sound, the MP4 to MP3 Converter extracts just the audio, and if you only need a smaller picture without re-encoding quality loss concerns, the Video Resizer changes resolution on its own.
Frequently Asked Questions
How much smaller will my video get?
It depends on the footage. Medium compression (CRF 28) typically shrinks a phone video to roughly a third to a half of its original size, and adding a 720p limit can take it to roughly a fifth. Still, interview-style footage compresses far more than busy action footage.
Will compression make my video look worse?
Slightly, at any level — compression is lossy. At the light level (CRF 23) most people cannot see a difference, at medium (CRF 28) the difference is hard to spot on a phone or laptop, and at strong (CRF 33) softness becomes visible. The tool shows the real output size so you can judge the trade-off.
Is my video uploaded to a server?
No. Compression runs entirely in your browser using ffmpeg.wasm. Your file never leaves your device, which is why there is no upload wait and no copy of your video on any server.
What is the maximum file size?
2 GB per file, a limit of the WebAssembly runtime that powers the converter. Long 4K videos can approach that size; if a file fails, try the strong level with a 720p limit, or use desktop ffmpeg.
Why is the output always an MP4 file?
MP4 with H.264 video and AAC audio is the most compatible video format there is — it plays on every phone, computer, browser, and TV. Converting MOV or MKV inputs to MP4 also makes them far easier to share.