Video Compressor

Make a video small enough for WhatsApp, email or Discord, or any size you choose. It is compressed by your own browser, so your video is never uploaded.

  • 100% free
  • No sign-up
  • Video stays on your device

Your video

Drop a video

or choose a file

MP4 · MOV · WEBM · MKV · AVI and more

Compress for
Auto picks the sharpest size that fits the target. The shape always stays the same.
A lower frame rate leaves more room for detail.
Engine
Automatic uses your browser's built-in video encoder (WebCodecs), which is fast and often uses your graphics chip. It switches to FFmpeg, a slower WebAssembly engine downloaded once from unpkg.com, only when your browser can't handle the file.

Your video is compressed on your device and never uploaded. Only the compression code is downloaded, from jsDelivr (and from unpkg.com if the FFmpeg engine is needed).

Compressed video

Add a video, pick where you want to send it, then press Compress. You can watch the result here before you download it.

About the tool

How the Video Compressor works

The Video Compressor makes video files smaller so you can send them where size limits apply. Drop in an MP4, MOV, WEBM or MKV video, pick WhatsApp, Email or Discord, or type the size you need in megabytes, and press Compress. The tool shows the details of your video first (length, resolution, frame rate, bitrate and codecs) and tells you roughly how big the result will be before you start. When it has finished, you can compare the sizes, watch the result in the preview player and download it.

For a target size, the tool works out the bitrate from the length of the video, leaving room for the sound, and picks the sharpest resolution that fits when Resolution is set to Auto. If the first result comes out over the limit, it tries again at a lower bitrate. If the size you ask for is too small for a long video, it says so plainly and suggests a fix, such as a lower resolution, a lower frame rate, removing the sound or trimming the video. Quality mode is for when the exact size doesn't matter: it keeps a good picture and never makes the video bigger than it needs to be. These are fixed rules and calculations; the tool doesn't use AI.

Everything happens on your own device, so your videos are never uploaded, which is good for private clips and work recordings. Normally the tool uses your browser's built-in video encoder through WebCodecs and the open-source Mediabunny library, which is fast and often uses your graphics chip, to make an H.264 MP4 with AAC sound. In browsers without H.264 encoding it makes a WebM file and explains why. For old browsers, or files your browser can't read, such as AVI, it switches to FFmpeg compiled to WebAssembly, which is slower and needs a one-time download of about 10 MB. Very large files need plenty of free memory, so a computer works better than a phone for long videos.

Frequently asked questions

Is my video uploaded to a server?

No. Your video is read and compressed by your own browser, and the new file is created on your device. Only the compression code is downloaded: the Mediabunny library from jsDelivr and, if it is needed, the FFmpeg engine from unpkg.com. Your video is never sent with those requests.

How do I make a video small enough for WhatsApp?

Add the video, keep WhatsApp (under 16 MB) selected and press Compress. The tool aims a little under 16 MB, picks a resolution that keeps the picture as sharp as possible, and checks the result. Longer videos have to be shrunk more, so for clips over a few minutes, think about trimming them or sending them as a document instead.

Why does the tool say my target size is too small?

A file size is a budget shared by every second of the video. Ten megabytes is plenty for a 30-second clip but leaves very little for a 20-minute one, and the picture would turn into blocks. The tool warns you when that happens and suggests a lower resolution, a lower frame rate, removing the sound or trimming the video.

Which formats can I compress, and what do I get?

MP4, MOV, WEBM and MKV work in most modern browsers, and the FFmpeg engine also reads AVI, MPEG and other older formats. You get an MP4 with H.264 video and AAC sound, which plays almost everywhere. If your browser can't create H.264 video, the result is a WebM file instead, and the page tells you how to get an MP4 with the FFmpeg engine.

Why did the compressed file come out bigger than my original?

Some videos, such as screen recordings or files that were already compressed, are about as small as they can get at their current quality. Asking for higher quality can then make the file grow. The tool tells you when this happens and offers to keep the original file, or you can try Smaller file or a lower resolution.

Is there a limit on file size or length?

There is no fixed limit, but the work happens in your browser's memory. Files up to 1 or 2 GB usually work well on a computer, and the tool warns you about larger files. Phones and tablets have less memory, so they suit shorter videos. Compression is usually faster than playing the video with the built-in encoder, and slower with the FFmpeg engine.

Keep exploring
  • Free
    Productivity

    Text Summarizer

    Pull the key sentences out of articles, documents and long text for a short, clear summary.

    • Summaries
    • Articles
    • Study
    Instant · No sign-upTry Tool: Text Summarizer
  • Free
    Writing

    Case Converter & Word Counter

    Change text to UPPERCASE, lowercase, Sentence or Capitalized Case and count words, characters and more.

    • Case converter
    • Word count
    • Text cleanup
  • Free
    Image

    Image Converter

    Convert images between JPG, PNG, WEBP, AVIF, GIF, ICO, PDF and more, and resize, crop or rotate them in bulk.

    • JPG / PNG / WEBP
    • Resize
    • Favicon ICO
    Instant · No sign-upTry Tool: Image Converter
For makers

Have an AI Tool?

Submit your AI tool and help others discover it.