Compress
Reduce file size with a target size for upload limits, or a quality percentage for quick results. All processing happens locally in your browser.
Popular compress presets
Compress for Discord
10 MB without Nitro, 50 MB Nitro Basic, 500 MB Nitro, 50 or 100 MB in boosted servers.
Compress for Email
Gmail and Outlook targets that fit after base64 overhead, plus a 10 MB option for strict gateways.
Compress for WhatsApp
A 16 MB safe target, and how to send as a document to skip WhatsApp recompression.
Compress for iMessage
Stay under the practical 100 MB limit so Messages sends the clip the first time.
Compress for Slack
Preserve workspace storage quota with smaller team uploads.
Compress for Twitter
X (Twitter) 512 MB and 2:20 limits for accounts without Premium.
About Compression
Quick Compress
Pick a quality percentage and the encoder scales the bitrate to match. Good for most everyday sharing.
Target Size
Enter the size you need in MB and the output lands close to it. Made for upload limits such as 18 MB for Gmail or 10 MB for Discord.
Standard MP4 output
Every result is an H.264 MP4 with AAC audio that plays in browsers, phones, and messaging apps without conversion.
How to Compress a Video Online
Compressing a video reduces its file size so it is easier to share, upload, or embed on a website. VidStudio makes the process straightforward with two compression modes and zero file uploads. Everything runs locally in your browser, so your video stays on your device from start to finish.
- Drop your video file. Drag an MP4 or MOV onto the upload area or click to browse. Files up to 2 GB are accepted. There is no sign-up and no waiting for a server upload because the file never leaves your machine.
- Choose a compression mode. Quick mode lets you pick a quality percentage between 1 and 100. A setting of 70% keeps about 70% of the source bitrate, so the file comes out roughly 30% smaller with little visible difference on most footage. Target Size mode lets you type the output size you need in megabytes, such as 18 MB for a Gmail attachment. The encoder computes a bitrate for that size and lands close to it, so leave a little margin when the cap is strict.
- Download your compressed video. Click "Compress Video" and watch the progress bar. When it finishes, preview the output side-by-side with the original, check the file size comparison, and download the result as an MP4 file encoded with H.264.
Compression Modes Explained
Quick Mode
Set a quality value from 1% to 100%. The compressor uses it as a fraction of the source video bitrate, so 50% aims for about half the original size. Higher values keep more detail; lower values produce smaller files. For everyday sharing, 60 to 80% is a sensible range.
Target Size Mode
Enter the file size you need in megabytes. The tool takes your clip length, reserves a budget for audio, and works out the video bitrate that fits, then encodes once at that bitrate. The output lands near the target rather than exactly on it, so pick a slightly smaller number when an upload cap is strict.
Which engine runs
Chrome, Edge, Safari 16.4+, and Firefox 130+ encode with WebCodecs, which keeps the source resolution and can use hardware acceleration. Browsers without it fall back to FFmpeg WebAssembly, which is slower, runs two passes in Target Size mode, and caps output at 1080p.
Common Use Cases
Email Attachments
Gmail limits the whole message to 25 MB and Outlook.com to 20 MB, and both count the attachment after base64 encoding. Target about 18 MB for Gmail or 14 MB for Outlook so the message is not bounced.
Discord
Accounts without Nitro can upload 10 MB, Nitro Basic 50 MB, and Nitro 500 MB. Enter the matching number in Target Size mode to share clips in your server without hitting the wall.
WhatsApp accepts large files but recompresses video sent as media. Compress to around 16 MB so it uploads fast and WhatsApp has little to squeeze, or send the file as a document to keep it untouched.
Social Media Uploads
Smaller files upload faster to Instagram, TikTok, YouTube, and LinkedIn. Compressing before uploading also prevents the platform from applying its own aggressive re-encoding.
Web Embedding
Large videos slow down page loads and hurt Core Web Vitals. Compress to a sensible bitrate before you embed so your pages stay fast.
Supported Formats
Input: MP4 and MOV files up to 2 GB. The browser-native decoder reads the MP4 container family, which is what both of those formats use.
Output: MP4 with H.264 video encoding. H.264 is the most universally supported codec across browsers, phones, tablets, smart TVs, and media players. It delivers strong compression efficiency and is accepted by every major platform and messaging app.
Frequently Asked Questions
How do I compress a video without losing quality?
Set Quick mode to 70 to 80%. That keeps most of the source bitrate, so the picture changes little while the file shrinks by roughly a fifth to a third. If a size cap is what matters, switch to Target Size mode and let the encoder pick the highest bitrate that fits.
What formats can I compress?
MP4 and MOV. Other containers such as MKV, AVI, or WebM are not read by the browser decoder, so convert them to MP4 first. The output is always MP4 with H.264, which plays on virtually every device and platform.
Is it safe to compress videos online?
Your video is processed inside your browser with WebCodecs, or with FFmpeg WebAssembly on browsers that lack it. The video file is never uploaded to a server, so the footage itself stays on your device from start to finish.
How long does compression take?
With WebCodecs and a hardware encoder, a 1 minute 1080p clip is usually done in well under a minute. On the FFmpeg fallback it takes several times longer, and Target Size mode there runs two passes. Longer and higher-resolution clips scale up accordingly.
Is there a file size limit?
Files up to 2 GB are accepted. Beyond the uploader limit, the practical ceiling is the free memory on your device, since the whole job runs locally. Desktop browsers cope with large sources far better than phones do.
What is the difference between Quick mode and Target Size mode?
Quick mode sets a quality percentage and the encoder scales the bitrate from it. It is quick and fine when you do not need a particular size. Target Size mode takes a size in MB, derives the bitrate that fits your clip length, and encodes once, landing near that size. Choose a slightly smaller target when a platform cap is strict.
Related Tools and Resources
Resize Video
Change video dimensions for any platform. Scale to exact pixel sizes or pick a standard aspect ratio like 16:9, 9:16, or 1:1.
Trim Video
Cut your video to the exact segment you need. Set start and end times to remove unwanted footage before or after sharing.
Batch Normalize Videos
Re-encode a batch of clips to one shared canvas size and MP4 format so they match before you post or stitch them together.
How to Compress Video (Full Guide)
Read the complete tutorial covering compression theory, bitrate vs. quality tradeoffs, and step-by-step instructions for every mode.