Video Compressor - Shrink MP4, MOV, WebM for Email or Upload
Shrink a video so it fits an email attachment limit or uploads faster, entirely in your browser using the same hardware video encoder your operating system already has.
Maintained by Hirantha Sandaruwan Lakshan. Updated 31 July 2026.
About this tool
No upload, no watermark, no length cap beyond what your device can handle.
How it works
The video is decoded and re-encoded using WebCodecs, the browser's native hardware-accelerated codec API - the same kind of API video call apps use - rather than a slow software encoder running in JavaScript.
Output is always MP4 with H.264 video and AAC audio, written with the file's index placed at the front so it starts playing immediately in email clients and messaging apps instead of downloading fully first.
Before starting, the tool checks whether your browser can actually decode the source codec. iPhones have recorded in HEVC (H.265) by default since iOS 11, and many desktop browsers, especially Chrome on Linux, can't decode it - the tool names this directly instead of failing with a generic error.
Worked examples
A phone video too big to email
The Email preset targets 720p, enough resolution to look sharp on a phone or laptop screen while cutting the file down dramatically from a typical 4K phone recording.
Removing audio from a screen recording
Checking 'remove audio' drops the audio track entirely, useful for silent screen recordings or GIF-style clips.
A rotated phone video
Portrait videos recorded on a phone store their rotation as metadata rather than rotating the actual pixels. The tool reads the display orientation, not the raw coded size, so a portrait video comes out portrait.
Compression presets at a glance
| Preset | Max height | Audio | Use it for |
|---|---|---|---|
| Email / message | 720p | Stereo, low bitrate | The default - small enough for most attachment limits, still sharp on a phone |
| Balanced | 1080p | Stereo, medium bitrate | Keeping full HD detail while still cutting the file down |
| Smallest | 480p | Mono, very low bitrate | Getting under a hard size cap when quality is secondary |
Frequently asked questions
Is my video uploaded to a server?
No. Decoding, compressing, and re-encoding all happen locally using your browser's built-in video codec.
Why does it say my video can't be processed?
Usually an HEVC (H.265) video on a browser that lacks a hardware decoder for it - common with iPhone videos on Linux Chrome. Re-exporting the video as H.264 first, or opening it in Safari, usually resolves it.
Is there a file size limit?
There's a soft warning on very large files on mobile, since phone browsers can run out of memory, but no hard cap - it depends on your device.
Will the compressed video still play inline in Gmail or WhatsApp?
Yes - the output is standard MP4/H.264/AAC with the file index placed at the front specifically so it previews inline rather than requiring a download.
Can I cancel a compression partway through?
Yes, cancelling stops the encoder immediately rather than waiting for the current operation to finish.
Does it work on Firefox for Android?
Not currently - Firefox for Android doesn't implement WebCodecs, so the tool detects this and explains it rather than silently failing.
How much smaller will my video get?
Commonly 60-90% for phone footage, which is usually recorded at a far higher bitrate than it needs. Already-compressed downloads have much less to give.
Does compressing lose quality?
Yes, re-encoding is lossy. The presets are chosen so the loss isn't obvious at normal viewing size, but heavy motion and fine detail are where it shows first.
Sources & references
Updated Jul 31, 2026