VidCompressor

Drop a video here

MP4, MOV, MKV, WebM, AVI, WMV, FLV, MPG and more. Your video stays on this device.

Your video is read and compressed by this browser on this device. It is never uploaded. How to check

Video Compressor

Video compressor that makes MP4, MOV, MKV, AVI and other videos smaller in your browser, to a size you choose, without uploading the file anywhere.

At a glance

  • Where it runs: in your browser, on your own device. The video file is never uploaded.
  • Target size: pick Discord 20 MB, Discord Nitro Basic 50 MB, Gmail 25 MB, WhatsApp 64 MB, 8 MB, 10 MB or 100 MB, or type any size in MB.
  • Exact check: the result shows its size in bytes and says Under or Over your target. Here 1 MB means 1,000,000 bytes.
  • Over the target: the compressor lowers the bitrate and encodes again, up to 3 attempts in all.
  • Trim: cut off the start and the end in the same step.
  • Opens: MP4, MOV, M4V, MKV, WebM, TS, AVI, WMV, FLV, MPG and more.
  • Saves: an MP4 with H.264 video and AAC sound, the most widely supported video format.
  • Two engines: your browser's own video encoder for speed, and FFmpeg for formats the browser cannot open.
  • Cost: free, with no sign-up, no watermark and no ads.
  • Tested: every file we ran, with byte counts and times, is listed on the compatibility and tests page.

How to compress a video in four steps

  1. Press Choose video, or drop a video file onto the box at the top of this page. Phones open the photo library or the file picker.
  2. Under Target size, pick where the video is going, or press Custom and type a size in MB. If you have no size limit, switch to the Quality tab instead.
  3. To keep only part of the video, drag the two handles under Trim, type the times, or play the video and press Start here and End here.
  4. Press Compress video. When it finishes, press Download MP4, or Share on a phone that offers it.

What you see before you start

As soon as a video is open, the panel shows the plan: the picture size, the frame rate, the video bitrate, the sound bitrate and the size to expect. Change the target, the trim or More settings and the plan updates straight away. Press Preview 2 seconds to encode two seconds from the middle of your clip with those exact settings and look at the picture before you commit to the whole video.

What you get at the end

The result card starts with Under 20 MB in green or Over 20 MB in red, then lists the target in bytes, the actual size in bytes and how many bytes are left. Below that, drag the divider across the picture to compare the Original with the Compressed video, and press Play both to watch them side by side.

Can I set the final file size of a video?

Yes. Choose a preset or type your own size, and the video compressor works backwards from it. It takes the target, keeps a safety margin of 4% plus 40 KB for the MP4 container, sets aside a share for the sound (128, 96, 64 or 48 kbps, less when the budget is small), and gives the rest to the picture. Then it picks the largest standard resolution, from 4K down to 240p, that still gets enough data per pixel to look clean, and drops anything above 30 frames per second to 30 when the bitrate is tight.

Two of our test runs show what that means in practice:

Original video Target Result Time
4K, 60 fps, 30 s, 189 MB Discord, 20 MB 1920×1080, 30 fps, 17,837,861 bytes 4 s
1080p, 30 fps, 3 min, 359 MB Gmail, 25 MB 960×540, 30 fps, 23,752,091 bytes 15 s

Both ran in Chromium 156 on a Mac with an Apple M4 chip, using the browser's own encoder. A slower computer or a phone takes longer.

Can I shrink a 500 MB video to fit a 100 MB limit?

Usually, yes. Press Custom, type 100, and the compressor does the arithmetic. What decides the picture is the length, not the original size. 100 MB is about 800 megabits, so a 5-minute video gets roughly 2.4 Mbps and stays at 720p or more, while a 30-minute recording gets about 0.4 Mbps and drops to 360p or 240p. If the picture would come out too small, trim the part you need first.

Why is the result a little under my target?

Because the encoder aims below the line on purpose. Video encoders do not hit an exact size, so the compressor plans for 96% of your target, minus room for the file structure, and some encoders also come in lower than asked. In our tests the results landed between 84% and 96% of the target.

What happens if it comes out over the target?

It does not stop there. If the finished file is not strictly smaller than the target, the compressor lowers the video bitrate by the amount it went over, plus a margin, and encodes again, up to 3 attempts in all. It stops sooner if the bitrate is already at its lowest useful level. If none of the attempts gets under, the card shows the best one, preferring a result that passed every check, with Over and by how many bytes, and suggests trimming or a bigger target.

Can I make a video smaller without uploading it?

Yes, that is how this video compressor works. When you choose a file, the browser reads it from your disk, decodes it, re-encodes it and writes the new MP4 in memory on your device. The download button saves that in-memory file. There is no upload step and no server queue, which is also why a 359 MB file can start compressing straight away.

The page does download its own tools when it needs them: the Mediabunny library (about 760 KB) and, only for files the browser cannot handle, FFmpeg (about 32 MB). Both come from the jsDelivr CDN, or from unpkg if jsDelivr fails. Your video goes the other way: nowhere.

How can I check for myself?

Open your browser's developer tools (F12, or Cmd+Option+I on a Mac), choose the Network tab, and keep it open while you choose a file and compress it. You will see the page and its libraries load, and no request that carries your video. The privacy page lists everything the page does send.

What stays on my device?

The video, the compressed result, the file name and your trim times stay in this browser tab, and they are gone when you close it. Your preferred target, quality, largest resolution and sound settings are saved in this browser's local storage so they are ready next time.

Quality mode, when there is no size limit

Use the Quality tab when the video only needs to be smaller, not under a set number.

  • High quality keeps the resolution, up to 4K, and saves the most detail.
  • Balanced caps the picture at 1080p. It is the default and suits most sharing.
  • Smallest file caps the picture at 720p and lowers the sound to 80 kbps, for chat apps and email.

In Quality mode the planned video bitrate stays below 80% of the original's, with a floor of 150 kbps, so a file that is already lean is not blown up. The result card always says whether the new file came out smaller. Our 30.7 MB, 20-second 1080p test clip came out at 11.2 MB on Balanced.

Which video files can I open?

Two engines share the work, and the compressor picks one for each file. You can also choose under More settings, then Engine.

  • Browser encoder (fast): reads MP4, MOV, M4V, MKV, WebM and Ogg files whose video your browser can decode, usually H.264, VP8, VP9 and AV1, and H.265 (HEVC) where the device supports it. It uses your browser's WebCodecs encoder, which is often hardware accelerated.
  • FFmpeg (slower): reads AVI, WMV, FLV, MPG, MPEG-TS and the other formats FFmpeg knows, plus interlaced video, files with several sound tracks and any file your browser cannot decode. It runs as WebAssembly on one processor core, so it is several times slower. A 10-second 720p AVI took about 5 seconds in our tests, against about 1 second for a similar MP4 in the browser.

The badge next to the file name says which one will run before you press Compress video.

What format will I download?

An MP4 file with H.264 video (High profile) and, if the original has sound, AAC audio in stereo or mono. Portrait phone videos stay portrait. One video track and one sound track are kept (with several sound tracks, the default one), so subtitles, extra audio languages and chapters are left out.

What about HDR videos from a phone?

HDR (high dynamic range) videos can look different after compressing. Compressed in the browser, they come out in standard range (SDR), so colours and highlights can look flatter. FFmpeg keeps the HDR colour information but saves 8-bit video, which can show banding in smooth skies. The panel tells you when it sees an HDR video. We have not tested this with real iPhone or Android HDR recordings yet.

Can I compress a video on my phone?

The page works on phones whose browser supports WebCodecs or WebAssembly, and it asks the phone to keep the screen awake while it works. Phones have less memory than computers, so long 4K clips are the hardest case. If a phone gives up, trim the clip, pick a lower Largest resolution under More settings, or use a computer. Keep the tab open and in front while it runs, because browsers slow down tabs in the background. The compatibility page shows which devices we have tested so far and has a Check this browser button.

Which targets match Discord, Gmail and WhatsApp?

The presets match the limits each app publishes, listed with their sources in the table below. For more on each one, see compress video for Discord and compress video to 8 MB. For MP4 files without a size limit, see compress MP4.

Why not just ask a chatbot to compress my video?

A chatbot can suggest a target size or explain which settings to try. Some chatbots can also run files through tools you connect, which usually means attaching your video. Here your own browser compresses the video on your device: enter a target in MB, download the MP4, and check its measured size before you share it.

Upload limits for Discord, Gmail and WhatsApp

AppAccountLimitPreset on this pageNotes and source
DiscordFree account20 MBDiscord, 20 MBRaised from 10 MB in August 2026. Discord says it is testing other limits, so check what your upload box allows. Discord File Attachments FAQ
DiscordNitro Basic50 MBDiscord Nitro Basic, 50 MBNitro goes up to 1 GB. Discord File Attachments FAQ
GmailPersonal account25 MBGmail, 25 MBThe limit is for all attachments in one email together. Work and school accounts can have a different limit set by the administrator. Gmail Help, Send attachments
WhatsAppSlower connection64 MB, 480pWhatsApp, 64 MBOn a faster connection the default video limit is 100 MB at 720p. The 64 MB preset fits both. WhatsApp Help Center, How to send media

Checked 25 November 2026. Apps change their limits without notice, so if an upload is refused, check what the app's own upload box says.

Video compressor FAQ

Does compressing a video lower its quality?

Yes, a little or a lot, depending on how far you shrink it. A small target spread over a long clip leaves few bits for each second, so detail and fast motion suffer first. Press Preview 2 seconds before you start, or drag the divider on the result to compare. If it looks too soft, choose a bigger target, trim the clip, or use High quality.

Why did my video barely get smaller, or get bigger?

The original was already compressed efficiently. Screen recordings with little motion and H.265 (HEVC) phone videos often fall into this group, because H.264 needs more bits than H.265 for the same picture. The result card says when the new file is not smaller, and in that case keep the original.

How long does compressing a video take?

When your browser does the encoding, often less than the length of the video on a recent computer: a 3-minute 1080p video took 15 seconds in our tests on a Mac with an Apple M4 chip. FFmpeg is several times slower, and phones are slower than computers. The progress bar shows the time left as it goes.

Is there a file size limit?

There is no fixed limit. What limits you is the memory of your device, because the compressed video is built in memory before you download it. The largest file in our published tests was 359 MB on a computer. Phones hold less, so trim long clips there.

Can I compress several videos at once?

Not yet. Compress one video, download it, then press Compress another video. Your target and settings stay as they were.

Which browsers can compress videos here?

We have tested Chromium, the engine inside Chrome and Edge, on a Mac. Browsers with WebCodecs compress with their own fast encoder, and browsers without it fall back to FFmpeg if they support WebAssembly. Open the compatibility page and press Check this browser to see what yours can do.

Choose a video to compress