How to Compress a Video for Email
Email attachment limits vary by provider and account. Here's how video compression actually works, and how to shrink a clip to fit without turning it to mush.
Published July 28, 2026
Why your video is too big to email
A phone-shot video at 1080p or 4K can easily run 100–300MB per minute of footage, depending on the device and lighting. Personal Gmail accounts allow 25 MB of attachments in total; other accounts and recipients may have different limits. A 30-second clip from a modern phone can blow past that limit on its own.
How compression actually shrinks a video
Video compression works on three levers at once. The main one is the constant rate factor (CRF) — a quality target the encoder uses to decide how much detail to throw away per frame; a higher CRF means smaller files and softer detail. The second is resolution: fewer pixels means less data to encode, so downscaling a 4K video to 720p cuts file size dramatically before the encoder even gets involved. The third is audio bitrate, which matters less for size but adds up.
nah.tools' video compressor has an "Email-friendly" preset that combines all three: it caps resolution at 1280×720, targets a CRF of 32 (moderately aggressive), and drops audio to 96kbps — and limits frame rate to 30 fps. It does not enforce a 25 MB output size; duration and content still determine the result.
Steps
- Open /media/compress-video and drop in your video.
- Pick the "Email-friendly" preset.
- Run the compression and check the resulting file size before attaching it.
When compression alone isn't enough
A long clip or a source file with a very high starting bitrate might still land above 25MB even at the email preset. Two honest options at that point: trim the clip down to just the part that matters before compressing, or, if the visual isn't essential, pull out just the audio — audio files are a fraction of the size of video. For anything that genuinely needs to stay long-form and high-resolution, a shared link is a better fit than an attachment; no amount of compression settings changes that trade-off.
Source: Gmail attachment limits.
Frequently asked questions
What is the actual attachment size limit for email?
Personal Gmail accounts allow up to 25 MB of attachments in total. Work accounts and other providers can have different limits, including lower receiving limits. Check both ends and leave headroom.
How does video compression actually shrink the file?
Three levers: a higher constant rate factor target (which controls how aggressively each frame is compressed), a capped resolution so there are fewer pixels to encode, and a lower audio bitrate. The "Email-friendly" preset caps resolution at 1280×720 and drops audio to 96kbps.
Will my video look noticeably worse?
This preset uses a quality target rather than enforcing a specific file size. Re-encoding at these settings can lose detail. For talking-head or screen-recording footage the difference is usually minor; for high-motion or highly detailed footage it's more visible.
Is this actually free and private?
Yes. Compression runs through FFmpeg.wasm entirely in your browser. The FFmpeg JavaScript and WASM runtime download from a CDN when needed; browser caching may reduce later downloads — your video itself is never uploaded.