How to Compress Files for Email Attachments - Beat Every Size Limit

Updated Sep 30, 2026
6 min read
How to Compress Files for Email Attachments — Beat Every Size Limit
You attach a file to an email, hit send, and get bounced: "Attachment size exceeds the maximum limit." Gmail caps attachments at 25 MB, Outlook at 20 MB, Yahoo Mail at 25 MB, and many corporate email servers set even lower limits (5-10 MB). This guide shows you how to compress every common file type to fit within these limits, and what to do when compression alone is not enough.

Email Attachment Limits: The Numbers

Gmail: 25 MB per email (attachments over 25 MB are automatically uploaded to Google Drive and shared as a link). Outlook.com: 20 MB per email. Yahoo Mail: 25 MB per email. Apple Mail (iCloud): 20 MB per email (Mail Drop handles larger files via iCloud links). Corporate Exchange servers: Commonly 10-25 MB, set by your IT department. Note: these are total limits, if you attach five 5 MB files, you are at 25 MB.
There is a hidden catch: email encoding (MIME/Base64) increases the attachment size by about 33%. A 15 MB file becomes roughly 20 MB after encoding. So the practical limit for Gmail is closer to 18-19 MB of actual file data, not 25 MB. If your attachment is close to the limit, leave headroom.

Outlook Specifically, Desktop Is Not Outlook.com

Outlook.com caps attachments at 20 MB. The Outlook desktop client is a different story: when it is connected to a Microsoft 365 or Exchange mailbox, the limit is set by your administrator, and organisations commonly configure it well below the consumer figure, 10 MB is a frequent choice. If a file sends fine from the web version but bounces from the desktop app, that mismatch is usually why.
Outlook also offers to shrink pictures for you. When a message contains image attachments, the compose window exposes a "Resize large images when I send this message" option, which downsamples them on send. It only touches images, PDFs, video and archives are sent untouched, so anything else has to be compressed before you attach it.

Compressing PDFs for Email

PDFs are the most common oversized attachment. A scanned document can easily hit 10-50 MB because each page is stored as a full-resolution image. Use a PDF compressor to reduce the file size, medium compression typically cuts 60-80% without visible quality loss on screen. A 15 MB scanned PDF often compresses to 3-5 MB.
Text-based PDFs (created from Word, Google Docs, or LaTeX) are already small: usually 100-500 KB for a typical document. If one is unexpectedly large, it is usually because of embedded images or fonts. Compressing the images inside the PDF brings the size down without affecting the text quality at all.

Compressing Images for Email

Modern smartphone cameras produce 3-12 MB photos. If you are attaching several, that adds up fast. Two strategies: resize before attachinga 4000x3000 pixel photo resized to 1920x1440 drops from 8 MB to about 1-2 MB with no visible difference on a computer screen. Compress the JPG qualityreducing quality from 95% to 80% cuts file size by 50-70% with minimal visible change. Use the image compressor to do both in one step.
If you are sending many photos (wedding photos, event coverage, product shots), do not attach them individually. ZIP them into a single archive and attach the ZIP file, or use a cloud storage link instead.

Compressing Videos for Email

Videos are the hardest attachment problem. A 1-minute 1080p clip from a smartphone is 100-200 MB, far beyond any email limit. Use a video compressor to reduce it, but even with aggressive compression, you will rarely fit more than 30-60 seconds into 20 MB. For longer videos, email is simply not the right delivery method. Upload to Google Drive, Dropbox, OneDrive, or WeTransfer and share the link.

What You Actually Get, Measured

Most guides tell you to compress and leave it there. Here is what our compressor returned for three real files, so you can judge whether yours will fit before you try.
A 13.2 MB three-page scan at 300 DPI came back at 724 KB against a 1 MB target and 479 KB against 500 KB. A 3.4 MB photo at 4000x3000 came back at 968 KB and 488 KB for the same two targets, resized to 1920x1440. A ten-page text-only PDF was already 19 KB and needed no compression at all.
The practical read: scanned documents and phone photos are the files that blow past email limits, and both drop under 1 MB comfortably, you can attach a dozen and still sit inside Gmail’s 25 MB. Text-based PDFs are rarely the problem in the first place. Video is the one case where compression genuinely will not save you, which is covered below.

Using ZIP to Bundle and Compress

When you are sending multiple files, ZIP them into a single archive before attaching. This has two benefits: the recipient gets one clean download instead of a dozen scattered files, and the ZIP compression can reduce the total size, especially for documents and spreadsheets. On Windows, right-click the files and select "Send to > Compressed (zipped) folder." On Mac, right-click and select "Compress."
ZIP compression works well for documents (30-60% reduction), spreadsheets (40-70% reduction), and text files (60-90% reduction). It does almost nothing for photos, videos, and PDFs that are already compressed. For those, compress the individual files first, then ZIP them together for the bundling convenience.

When Compression Is Not Enough

If your file is still too large after compression, use cloud storage instead: Gmail: Files over 25 MB are automatically offered as Google Drive links. Outlook: OneDrive integration works the same way. Any email: Upload to Google Drive, Dropbox, or WeTransfer, copy the share link, and paste it in your email. WeTransfer's free tier lets you send up to 2 GB with no account required: the recipient gets a download link that expires in 7 days.
Browse All Posts