Compress video for Gmail
Reduce a video’s size before attaching it to an email. The Gmail preset targets 25 MB, uses automatic resolution, and checks actual output size locally on your device.
Gmail video compressor
MP4 output · 25 MB target · Audio preserved when present
Gmail's 25 MB budget covers all attachments in one message. Customize size to leave room for other files or a recipient's smaller limit.
Select a video to get started
Need a different limit or a shorter clip? Customize size
Reduce a video that is too large to send with Gmail. Localsquash targets 25 MB (25 MB attachment limit) with automatic H.264 MP4 settings and audio when present, then checks actual file size. Compression runs on your device without uploading the video.
How to compress video for email
- Select your video.
- Use Customize size if you need a smaller budget, then click Compress for Gmail.
- Review the result, download it, and attach it to Gmail yourself. If the original already fits, you can keep it unchanged. Oversized results are marked.
Gmail's 25 MB budget covers all attachments in one message. Customize size to leave room for other files or a recipient's smaller limit.
Inputs must be below 2,000 MB; browser memory may impose lower limits. HDR tone mapping is unsupported.
Gmail video size limit
Gmail documents a 25 MB limit for all attachments in one message; larger files are shared as Google Drive links.
Limit reference checked November 13, 2026: Gmail's attachment help. Account limits may change. Not affiliated with Gmail.
Still too large to send?
- Check the actual downloaded size against the allowance shown by Gmail.
- Use Customize size to choose a smaller budget if your account or recipient has a lower limit.
- Trim unnecessary footage to preserve more detail within the same size budget.
- Allow room for other attachments; the budget covers the whole message’s attachments.
Technical specifications
| Engine | FFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab |
|---|---|
| Inputs | MP4, MOV, WebM, MKV, AVI (decodable by the bundled FFmpeg build) |
| Video output | H.264 (libx264, yuv420p) in MP4 with faststart |
| Audio output | AAC; can be removed in target-size mode |
| Quality control | CRF 0–51 with x264 presets from ultrafast to veryslow |
| Size control | Two-pass target size in MB (1,000,000 bytes) or MiB (1,048,576 bytes); inputs below 2,000 MB |
| Not supported | HDR tone mapping, subtitle tracks, batch queues |
| Memory | Limited by the browser and device; phones fail sooner on large files |
| Network | About 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent |
How to verify nothing is uploaded
- Open your browser’s developer tools and select the Network tab.
- Select a file and wait until the engine status shows Ready.
- Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
- Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.
Gmail video FAQ
Does Gmail’s attachment limit apply to each file?
For personal Gmail accounts, the documented 25 MB allowance covers all attachments in one message combined. This preset targets 25 MB (25,000,000 bytes). Choose a smaller video target with Customize size when adding other files. Workspace and recipient limits can differ. Localsquash checks the video file’s bytes, rather than the complete email.
What happens if my attachments exceed Gmail's limit?
Gmail can replace attachments that exceed its limit with a Google Drive link. To send a direct attachment instead, compress or trim your video and keep the combined attachment size within your account's limit. This tool checks the video file's actual bytes, not your entire email or the recipient's limits.
Are my videos uploaded to Gmail or Localsquash?
No. Compression runs locally in your browser. Download the result and attach it to Gmail yourself. Files that already fit the size budget can be kept unchanged.
What video format does the Gmail compressor produce?
Compressed videos use H.264 MP4 with AAC audio when present. Resolution is automatic and never upscaled. Use Customize size for trimming and other settings; your selected video stays available in the same tab.
