Skip to content
PrivBay

Video compressor to reduce MP4 and WebM file size

Re-encode a video with a chosen bitrate, maximum size and frame rate. Browser codecs do the work on your device.

Drop a file here

One video or audio file, up to 250 MB and 20 minutes.

Uses your browser’s built-in video support. Subtitles and extra tracks are not kept.

A lower bitrate and smaller size usually make a smaller file. Check the result before replacing your original.

Ready. Your files stay on this device.

What to do next

  • Video to GIF Turn a short video clip into an animated GIF.
  • MP4 to MP3 Turn an MP4 or other video into MP3, M4A, WebM or WAV audio.

How to compress a video

  1. Choose a local media file up to 250 MB and 20 minutes.
  2. Choose MP4 or WebM, maximum dimensions, bitrate and frame rate.
  3. Choose whether to keep the primary audio track, then convert.
  4. Preview the output and compare its size before downloading.

Choose a size and quality tradeoff

The lightweight pipeline uses Mediabunny and native WebCodecs rather than downloading ffmpeg. It resizes the displayed video proportions to fit the chosen maximum edge and requests the selected video bitrate and frame rate. Output dimensions are rounded for codec compatibility.

Only codecs supported by the current browser can be used. A local preview helps you compare the result, including whether its audio is present. Compression can reduce visual detail, and format conversion can change color appearance. Download a copy and retain the original until you have checked it.

Compressing a video for sharing

Large videos can run into limits on email and chat apps. For a smaller file, start with the defaults: MP4, 720 pixels, 2.5 Mbps and 30 frames per second. Then reduce the bitrate until the file fits, and check the preview for blur or blocky motion.

Screen recordings and talking-head videos often stay clear at low bitrates, while fast motion needs more. Removing the audio track can also save a little space when sound is not needed. Files can be up to 250 MB and 20 minutes long. If you only need the sound, save it as an MP3 with MP4 to MP3. For a short clip with no sound, try video to GIF. To make a new video, use the screen recorder.

To reduce video size before sharing, lower the resolution or choose a lower bitrate to shrink video files. If you share captions separately from the smaller video, use the subtitle converter to prepare the format your player expects.

Frequently asked questions

Will the output always be smaller?

No. Bitrate, dimensions, duration and the source codec determine size. Lower settings often reduce size, but an already efficient source can produce a larger result. The output size is shown before download.

Which codecs are used?

MP4 uses H.264 video and AAC audio when the browser supports them. WebM uses VP9 video and Opus audio. The tool reports unsupported combinations rather than silently adding a large conversion engine.

Are all tracks preserved?

No. It processes the primary video and, when requested, primary audio track. Subtitles, alternate tracks and other container features are not preserved. If requested primary audio cannot be kept, conversion fails rather than silently dropping it.

What are the limits?

Input up to 250 MB and 20 minutes, with an output buffer up to 300 MB. Large files may still exceed available memory. Keep the page open, or cancel to terminate the local worker.

Which settings reduce the size most?

Bitrate has the most direct effect. As a rough guide, video at 2.5 Mbps takes about 19 MB per minute, and half the bitrate takes about half the space. Lower dimensions help the picture stay clear at a lower bitrate.

Should I choose MP4 or WebM?

MP4 with H.264 plays on most devices, so it is selected by default when your browser can create it. If it can’t, WebM is selected instead. WebM with VP9 can look good at low bitrates and works well in current browsers.

Is my video uploaded?

No. It is compressed by your browser on your device, so no time is spent uploading and the video stays private.

Last updated November 12, 2026