Free tool

Video Compressor: Shrink Videos for Discord and Email

Choose a size that fits where the video has to go. The tool works out the bitrate from the length, rebuilds the video in your browser, and tells you when the target is out of reach.

  • Private: nothing uploaded
  • Free
  • No sign-up

Runs in your browser. Your files never leave your device.

The video is rebuilt at a chosen size. A shorter clip or a lower video size gives the best result.

Conversions use FFmpeg (ffmpeg.org), compiled to WebAssembly by the ffmpeg.wasm project. Only the converter itself is downloaded. Your files stay in this tab.

How to use it

  1. Drop a video into the box and wait for its length to appear.

  2. Pick a target: Discord free, 25 MB, 50 MB, half the size, or a number you type.

  3. Set a video size cap if the clip is large, for example 720p.

  4. Check the bitrate line. If it turns red, the target is too small for this length.

  5. Press Compress video, then download the result and check the size shown.

About this tool

Phone cameras record at a generous bitrate because storage is cheap. That is fine until the file has to pass through an upload limit. This page rebuilds a video at a size you choose, on your own device, so a private clip is never sent to a server just to become smaller.

Why video files get so big

A video file is mostly numbers describing how the picture changes. The bitrate says how many of those numbers are kept each second. A high bitrate holds detail in motion, keeps dark scenes clean and survives fast camera moves. The cost grows with length and with bitrate: twice the length means twice the size, and so does twice the bitrate. Resolution matters too, because a 4K frame has four times the pixels of a 1080p frame and needs more data to look sharp.

The arithmetic behind the target

The tool starts from the size you want and the length of the video. A megabyte is 8192 kilobits, so the budget is the target in megabytes times 8192, divided by the seconds. The sound gets 96 kbps, enough for stereo speech and most music, and the rest goes to the picture with a small safety margin. A one minute clip that has to fit in 10 MB leaves about 1.2 Mbps for the picture, which is comfortable at 720p. A ten minute clip with the same target leaves almost nothing, and the tool says so instead of producing a blurred mess.

What a small target does to the picture

Below about 150 kbps for the picture there is not enough data to describe motion, and the result turns into blocks and smears. The tool refuses that range and suggests what actually helps: a larger target, a lower video size, or a shorter clip. Lowering the resolution is often the best trade, because a clean 480p picture at a sensible bitrate beats a mushy 1080p one.

The limits that matter

Discord's free upload limit is 10 MB, which is why that preset is first. Many email services stop somewhere around 25 MB, though the exact number depends on the provider, so that preset is a safe guess rather than a promise. A form on a website may have its own limit that appears only when you try. When you know the number, type it in the custom box and let the tool do the rest.

The result can miss the target

Encoding is not exact. A difficult scene can come out a little over the requested average, and a still scene a little under. After each file the tool compares the real size with the target and says how far off it is. If the file is still too big, lower the video size, shorten the clip, or raise the target by a megabyte or two and run it again.

Compressing means decoding and encoding every frame, the heaviest job these tools do. Long videos take a while: the work happens on your device, so a computer is faster than a phone. Files up to 500 MB are accepted, with a warning above 200 MB. If the compressor cannot read the container, convert the file first on the video converter. For a short loop the MP4 to GIF maker is often smaller, and the MP4 to MP3 page keeps only the sound.

Questions

More video and audio tools