Video compressor
Shrink a video to a size limit, such as 25 MB for email, without uploading it.
Runs in your browser. Nothing is uploaded.
Drop a video
MP4, MOV, WebM, MKV or any video your browser can read. It stays on your computer.
Size limit
More about this tool
- 1
Add the video
Drop it in. The tool shows its frame size, length and file size.
- 2
Pick the limit
Tap a size or type your own. The line below shows the bitrate and frame size it will use.
- 3
Compress and download
Play the result to check it, then download the MP4.
A file's size is its bitrate times its length. The tool takes the limit, keeps a tenth back because encoders land near the bitrate rather than on it, sets aside 128 kbps for the sound, and spreads the rest over the video's length.
When that leaves too few bits for the frame, the picture turns to blocks. So the tool also steps the frame down, 1080p to 720p and so on, until the bitrate is enough for it. A smaller sharp picture looks better than a large blocky one.
Length is what matters most. Trimming a video to the part you need gives every second more bits, which shows more than any setting.
If the result comes out over the limit, pick the next size down and compress again. A video already under the limit doesn't need compressing.
FFmpeg's guide suggests two passes when you're aiming at a file size: the first studies the video, the second encodes it. Set -b:v to the video bitrate the tool shows:
- ffmpeg -y -i input.mp4 -c:v libx264 -b:v 2600k -pass 1 -an -f null /dev/null && ffmpeg -i input.mp4 -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4
Sources
Questions
No. The video is decoded and the MP4 is encoded in your browser. Nothing is sent anywhere.
25 MB for personal Gmail, Google's limit for attachments. Other mail services set their own, often lower.
At a tight limit there aren't enough bits for the full frame, so the tool steps it down to keep the picture clean. A bigger limit keeps more of it.
Every frame is decoded and encoded again, so it depends on the video's length and your computer. Keep the tab open until it finishes.
Whatever your browser can decode: MP4, MOV, WebM and most MKV files. The result is always an H.264 MP4 with AAC sound.
More free tools
- Video trimmer
Cut the start and end off a video, to the tenth of a second, without uploading it.
- Video cropper
Crop a video to 9:16, 4:5, 1:1, 16:9 or any box you drag, without uploading it.
- Remove audio from video
Mute a video by taking out its sound, without re-encoding or uploading it.
- Discord video compressor
Fit a clip under Discord's 20 MB free upload limit, or 50 MB with Nitro Basic.
- MOV to MP4 converter
Turn an iPhone, QuickTime or screen recording MOV into MP4, usually without re-encoding.
- WebM to MP4 converter
Re-encode a WebM to H.264 and AAC MP4 that iPhones, editors and upload forms accept.
- MKV to MP4 converter
Turn an MKV, such as an OBS recording, into an MP4, usually without re-encoding.
- Video to GIF converter
Turn a clip from an MP4, MOV or WebM video into a looping GIF, without uploading it.
- GIF to MP4 converter
Turn a GIF into a small H.264 MP4 that keeps its timing, played once or on repeat.
- GIF compressor
Shrink a GIF by cutting its size, colors or frames, and see the new file size right away.
- WebP to GIF converter
Turn an animated WebP into a GIF that plays in apps and sites that won't take WebP.
- MP3 to MP4 converter
Put a picture to an MP3 and get an MP4 you can upload to YouTube or social apps.
- Video frame extractor
Save any frame of a video as a PNG or JPG, or extract one every few seconds as a ZIP.
- Contact sheet maker
Turn a video into a grid of timestamped frames, for the whole video or just the hook.