Skip to content
KazamTools

Video Compressor

Shrink videos for WhatsApp, email and Discord, right in your browser.

Files are processed in your browser and never uploaded.How it works

or drop MP4, MOV, WebM or MKV files here

Compress by

Quality

Looks close to the original at a fraction of the size.

Lower resolution is the biggest saver. Videos are never enlarged.

60 fps phone videos shrink a lot at 30 fps.

Plays everywhere: phones, WhatsApp, email, editors.

How to use the Video Compressor

  1. 1Click Choose videos or drop one or more video files onto the box.
  2. 2Pick Quality and a preset, or Target size and type the size in MB you need.
  3. 3Optionally lower the resolution (720p is plenty for phones) or cap the frame rate at 30 fps.
  4. 4Click Compress and wait for the progress bar. You can cancel at any time.
  5. 5Compare the before and after size, preview the result, then download it.

How video compression works

A video is a fast series of still pictures, usually 24 to 60 every second. Stored raw, one minute of 1080p video would take several gigabytes. Codecs such as H.264, VP9 and AV1 shrink that by keeping one full picture every few seconds and, for the frames in between, storing only what moved or changed.

The number that decides the file size is the bitrate: how many bits the encoder may spend on each second of video. Fewer bits means a smaller file, but also less detail, especially in fast motion, water, leaves and dark scenes.

This tool decodes your video and encodes it again with your browser’s built-in video engine (WebCodecs). It all happens on your device. The file is read in small pieces straight from your disk and is never uploaded.

Two ways to compress

  • Quality: pick a preset and let the encoder spend what each scene needs. Simple scenes get small, busy scenes get more bits. Best when you just want a smaller file that still looks good.
  • Target size: type the size you need, for example 24 MB for an email or 9 MB for a 10 MB chat limit. The tool turns that into a bitrate using the length of the video:
video bitrate = (target size × 8 × 0.94) ÷ length in seconds − audio bitrate

The 0.94 keeps 6% in reserve for the file’s index and for encoder overshoot. If the first pass still comes out too big, the tool measures how far off it was and runs one corrected pass.

Worked example: a 2-minute clip under 25 MB

You have a 2-minute (120-second) 1080p phone video of 180 MB and need it under 25 MB.

  1. Budget: 25 MB = 26,214,400 bytes = 209,715,200 bits. Keep 94%: 197,132,288 bits.
  2. Per second: 197,132,288 ÷ 120 ≈ 1,643,000 bits per second, about 1.6 Mbps.
  3. Audio gets about 10% of that, capped at 128 kbps, so video gets about 1.5 Mbps.

At 1.5 Mbps, 1080p looks soft in busy scenes. If you also set 720p, the same bits are spread over fewer than half as many pixels, so each frame looks sharper. That is why lowering resolution is usually better than squeezing the bitrate.

If the clip were 10 minutes long, 25 MB would leave only about 0.3 Mbps. The tool tells you when a target is too small and suggests the smallest size that still gives a watchable picture.

How much does each setting save?

Change Pixels or frames kept Typical effect on size
4K → 1080p 25% of the pixels Large saving
1080p → 720p 44% of the pixels Large saving
720p → 480p 44% of the pixels Large saving, visibly softer
60 fps → 30 fps 50% of the frames Noticeable saving
Remove audio No sound Saves about 1 MB per minute at 128 kbps
H.264 → VP9 or AV1 Same Smaller at the same quality, slower to make

Savings depend on the content. A talking head against a plain wall compresses far more than a football match.

Choosing a format

  • MP4 (H.264) plays everywhere: iPhone, Android, WhatsApp, email, PowerPoint and video editors. Choose it when in doubt.
  • WebM (VP9) gives smaller files at the same quality and is ideal for websites, but some apps and older iPhones cannot play it.
  • MP4 (AV1) is the most efficient, but encoding is slow in most browsers and older devices cannot play it.

The tool checks which encoders your browser has and marks the ones that are not available. If you only need a different format, not a smaller file, use the Video Converter, which can often switch containers without re-encoding at all.

Tips and edge cases

  • Trim first. Cutting the parts you do not need is the cheapest saving of all. Use Trim Video, then compress.
  • Re-compressing loses quality. Every lossy encode throws away some detail, so start from the best copy you have, not one downloaded from a chat app.
  • Already small files may not shrink. Videos from messaging apps are often compressed hard already. The tool says so when the result is not smaller.
  • Large files need memory. The finished video is kept in memory until you download it. Over about 2 GB, phones and older laptops may run out. Close other tabs or compress in parts.
  • Batch jobs run one at a time so your device stays responsive. You can cancel the current file at any point.
  • Sound only? If you just need the audio track, MP4 to MP3 extracts it in seconds. For a short looping clip, try Video to GIF.

Which browsers work?

The tool needs WebCodecs, which is in Chrome, Edge and Opera 94 or newer, Firefox 130 or newer on a computer, and Safari 16.4 or newer. Encoding speed depends on your device: computers and recent phones with hardware video encoders are fastest. If your browser lacks the engine, you will see a clear message instead of a broken page.

Frequently asked questions

Are my videos uploaded anywhere?

No. The video is decoded and re-encoded by your browser’s built-in video engine (WebCodecs) on your own device. Nothing is sent to a server, so private clips stay private.

How do I compress a video to under 25 MB or 10 MB?

Choose Target size and type a number a little under the limit, such as 24 or 9. The tool works out the bitrate from the video length and, if the first pass comes out too big, runs a second corrected pass.

Which setting saves the most space?

Lowering the resolution. A 1080p video scaled to 720p has less than half the pixels, so it needs far fewer bits. Capping a 60 fps phone video at 30 fps also helps a lot.

Which browsers can compress video?

Chrome, Edge and Opera 94+, Firefox 130+ on a computer, and Safari 16.4+ on Mac, iPhone and iPad. These include the WebCodecs video engine the tool needs. Older browsers show a message instead.

Why is my compressed video not smaller?

Videos from messaging apps or streaming sites are often already heavily compressed. Try the Small preset, a lower resolution or 30 fps. The tool tells you when the result is not smaller so you can keep the original.

Is there a file size limit?

There is no fixed limit, but the finished video is held in your device’s memory. Files over 2 GB may fail on phones or older computers. Trim long videos first, or compress them in parts.

Should I choose H.264, VP9 or AV1?

H.264 in MP4 plays on every phone, TV and app. VP9 (WebM) and AV1 make smaller files at the same quality but encode more slowly and are less widely supported by apps.

Guides

Was this tool helpful?