How to Compress Files for Email Attachments

By FileConvertLab

Before and after: 18 MB document pile rejected by email, compressed to 6.2 MB ZIP that sends successfully
Two-panel diagram: left shows stacked files labeled 18 MB with email rejection icon; right shows small ZIP icon labeled 6.2 MB with email success icon

Email servers reject attachments above their size limit — usually 20–25 MB — without sending a useful error message. The fix is to compress your files into a ZIP archive before attaching. A folder of documents that totals 40 MB often compresses to under 10 MB. Here's when that works, and when it doesn't.

Email Attachment Size Limits by Provider

The size limit you need to stay under isn't just your provider's sending limit — it's also your recipient's receiving limit. Design for the strictest common limit: 20 MB.

ProviderSend limitReceive limitWorkaround
Gmail25 MB50 MBAuto-converts to Google Drive link
Outlook / Hotmail20 MB20 MBUse OneDrive link
Yahoo Mail25 MB25 MBDropbox link
Apple Mail / iCloud20 MB20 MBMail Drop (iCloud relay)
Corporate / customVaries (5–50 MB)VariesAsk your IT team
Safe target: 15 MB or less. This leaves headroom for email headers, encoding overhead (attachments are Base64-encoded which adds ~33% to file size in transit), and recipient server limits you can't control.

What Compresses Well (and What Doesn't)

ZIP compression works by finding repetitive patterns in file data. Files with lots of repetition compress well; files that are already compressed have no patterns left to squeeze out.

File typeTypical reductionNotes
Text files, CSV, XML60–90%Highly repetitive — compresses best
Word / PowerPoint (DOCX, PPTX)20–60%Already ZIP internally, but outer ZIP helps
BMP, TIFF (uncompressed images)50–80%Large files with compressible patterns
PDF documents5–30%Use a PDF compressor instead of ZIP
JPEG, PNG photos0–5%Already compressed — ZIP adds almost nothing
MP4, MOV, MP3, AAC0–2%Use a file-sharing link instead
Special case — PDFs: Don't put a PDF in a ZIP and hope it shrinks significantly. Use a dedicated PDF compressor instead. It re-encodes images inside the PDF at lower resolution, which can reduce a 10 MB PDF to 1–2 MB — far better than ZIP can achieve.

How to Create a ZIP on Windows

Built-in (no software needed)

  1. Select the files or folder you want to compress in File Explorer.
  2. Right-click the selection.
  3. Windows 11: Choose Compress to ZIP file. Windows 10: Choose Send to → Compressed (zipped) folder.
  4. A .zip file appears in the same folder. Rename it if needed, then attach it to your email.

With 7-Zip (better compression)

The built-in Windows ZIP uses a standard compression level. 7-Zip (free, from 7-zip.org) can compress the same files 20–30% smaller using a stronger algorithm.

Right-click your files → 7-Zip → Add to archive → choose ZIP as format and set compression level to Normal or Maximum.

For email attachments specifically, the difference between Normal and Maximum compression is usually small (a few percent) while Maximum takes significantly longer on large files. Normal is the right choice for most email use cases.

How to Create a ZIP on Mac

  1. Select the files or folder in Finder.
  2. Right-click (Control+click) the selection.
  3. Choose Compress.
  4. If you selected multiple files, macOS creates Archive.zip containing all of them. If you selected one folder, it creates a ZIP named after the folder.
  5. Rename the ZIP if needed, then attach it to your email. macOS's built-in compression is adequate for email purposes. If you need smaller archives, Keka (free download from keka.io) offers better compression with more format options.

When the ZIP Is Still Too Large

If your file is still over the size limit after compression — or if the file type doesn't compress (video, audio, already-compressed images) — use a file-sharing service instead of an attachment:

  • Google Drive: Upload the file, right-click → Share → copy link. Paste the link in your email. Recipients click to download without needing a Google account (if you set it to "Anyone with the link").
  • WeTransfer: Free service specifically designed for large file transfers. Upload up to 2 GB, enter the recipient's email, and WeTransfer sends them a download link. No account required for the sender.
  • Dropbox / OneDrive: If you already use these, upload and share a link. Dropbox Basic is free up to 2 GB storage; OneDrive gives 5 GB free.

Compressing Multiple Files into One ZIP

One of ZIP's most useful features is bundling many files into one attachment.

Instead of attaching 15 separate files (which may individually hit limits and creates clutter), put them all in a folder, compress the folder, and send one ZIP.

This also makes things easier for the recipient — they download one file, extract it, and have everything organized in a folder rather than hunting through their Downloads folder for 15 separate files.

For context on choosing between ZIP and 7Z for different scenarios, see our ZIP vs 7Z vs RAR comparison . For email, ZIP wins every time due to compatibility.

Compressing Specific File Types for Email

Sending large PDFs

PDFs with embedded images (scanned documents, presentation exports) are often unnecessarily large. Compress the PDF directly rather than zipping it — a PDF compressor reduces image resolution inside the file, which a ZIP cannot do. Our PDF compressor handles this online without any software installation.

Sending photos

JPEG photos don't compress in ZIP — they're already compressed. If you need to send photos under a size limit, either reduce the image dimensions (resize to 1920×1080 for most use cases) or use a file-sharing link. Don't try to ZIP JPEGs; it's wasted effort.

Sending videos

Video files are almost always too large for email attachments regardless of compression. A one-minute MP4 at typical quality is 50–150 MB. Use WeTransfer, Google Drive, or YouTube (set to unlisted if you don't want it public). Email is not the right channel for video files.

Frequently Asked Questions

What is the maximum email attachment size?

It depends on the provider. Gmail allows 25 MB per message (total for all attachments). Outlook and Hotmail allow 20 MB. Yahoo Mail allows 25 MB. Apple Mail and iCloud allow 20 MB. Corporate email servers vary widely — some allow only 10 MB. As a rule of thumb, design for 20 MB or less, since you don't always know what server your recipient uses.

How much smaller will my file be after zipping?

It depends entirely on the file type. Text files, Word documents, PowerPoint presentations, and CSV files can shrink 40–70%. Uncompressed images (BMP, TIFF) compress dramatically. However, files that are already compressed — JPG, MP4, MP3, existing ZIP or 7Z files — won't shrink at all. The compression algorithm has nothing to work with. If your large file is a video or high-quality photo, zipping won't help — use a file-sharing link instead.

What's the fastest way to create a ZIP on Windows?

In File Explorer, highlight the files you want to compress, right-click, and choose Compress to ZIP file (Windows 11) or Send to → Compressed (zipped) folder (Windows 10). No software installation needed. For better compression at the cost of speed, use 7-Zip (free, from 7-zip.org): right-click → 7-Zip → Add to archive.

What's the fastest way to create a ZIP on Mac?

Select the files in Finder, right-click (or Control+click), and choose Compress. macOS creates a ZIP automatically. For multiple files, select all of them first, then compress — they'll be combined into one ZIP named Archive.zip. You can rename it afterward.

Should I use ZIP or 7Z for email attachments?

ZIP. The recipient may not have 7-Zip or a compatible app to open a 7Z file, which creates friction. ZIP works natively on Windows, macOS, iOS, and Android without any additional software. 7Z has better compression but worse compatibility — save it for situations where you control both ends (backups, personal archives, transfers to someone you know has 7-Zip).

My ZIP is still too large to email. What do I do?

If your file is too large even after compression, the file type probably doesn't compress well (video, photos). Switch to a file-sharing service: Google Drive, Dropbox, OneDrive, or WeTransfer all have free tiers. Upload your file and share a link instead of an attachment. Most email clients let recipients download the file directly from the link without any extra steps.

Can I compress a PDF to make it smaller for email?

Yes, but not with ZIP. PDFs compress poorly in ZIP because they're already compressed internally. Instead, use a dedicated PDF compressor that reduces image resolution and re-encodes the content. Our PDF compressor can reduce a PDF by 50–80% for typical documents. This works far better than zipping the PDF.

Is it safe to send compressed files by email?

Yes, in the same way as sending any attachment. Some email servers scan ZIP contents for viruses (a feature, not a problem). Password-protected ZIP files may be blocked by some corporate email servers as a security measure, since their contents can't be scanned. If you need to send a sensitive archive, consider whether a secure file-sharing service with access controls is more appropriate than email.

How to Compress Files for Email Attachments