How to Compress Files for Email Attachments (Under the Limit)
You click Send and get the dreaded error: "Attachment too large." Gmail caps attachments at 25MB. Outlook stops you at 20MB. Yahoo Mail allows 25MB. These limits have not increased in years, but the files we send keep getting bigger. High-resolution photos from modern phones are 5-15MB each. A short video clip can easily hit 100MB. This guide covers practical methods to get your files under the limit without losing quality you actually need.
Email Attachment Limits by Provider
Gmail: 25MB per email (total across all attachments). Files over 25MB are automatically uploaded to Google Drive and shared as a link. Outlook: 20MB for desktop Outlook, 34MB for Outlook.com web client. Yahoo Mail: 25MB total. iCloud Mail: 20MB, but Mail Drop can send files up to 5GB via temporary iCloud links.
Keep in mind that email encoding adds approximately 33% overhead due to Base64 encoding. A 25MB limit means your actual file should be under about 18-19MB to send reliably. When you are close to the limit, this overhead can push you over even if your file appears to be under the maximum size.
Why Your Files Are Too Large
Modern smartphone cameras shoot at 12-50 megapixels, producing JPEG photos that are 3-15MB each. Attach four photos and you have exceeded Gmail's limit. Scanned PDFs are another common culprit — a 10-page scanned document at 300 DPI can be 15-25MB. And phone videos are the worst offenders: a single minute of 4K video from an iPhone is 170-400MB, far beyond any email limit.
Office documents are usually small (Word documents under 1MB, spreadsheets under 5MB) unless they contain embedded images. A PowerPoint presentation with high-resolution photos on every slide can easily reach 50MB or more.
Method 1: Create a ZIP Archive
ZIP compression is built into every operating system. Windows: Select your files, right-click, Send to, Compressed (zipped) folder. Mac: Select files, right-click, Compress. This bundles multiple files into a single ZIP archive and applies compression. The recipient can open the ZIP natively on any modern computer.
How much space does ZIP save? It depends entirely on the file type. Text documents, spreadsheets, and uncompressed images (BMP, TIFF) compress dramatically — often 50-80% smaller. But JPEGs, PNGs, MP3s, and videos are already compressed and barely shrink further in a ZIP (typically 1-5% reduction). If your files are mostly photos or videos, ZIP alone will not solve the problem.
Method 2: Compress Photos Before Attaching
The most effective approach for photo-heavy emails is to reduce image size before creating an archive. A 4000x3000 pixel photo displayed on a laptop screen only uses about 1920x1080 pixels. For email viewing, resizing to 1920 pixels on the long side cuts file size by 60-75% with no visible quality loss on screen. Only keep full resolution if the recipient needs to print the photos.
JPEG quality also matters. Most cameras save at 95-100% quality, but 80-85% quality is visually indistinguishable for email purposes and produces files 40-60% smaller. Combined with resizing, you can take a 12MB photo down to 800KB — small enough to attach 25 photos in a single email. Use any image editor or online resizing tool to batch-process your photos before attaching.
Method 3: Compress PDFs
Scanned PDFs are often 10-30MB because each page is stored as a high-resolution image. PDF compression can reduce these files by 70-80% by downsampling the images and applying JPEG compression to the embedded scans. A 20MB scanned contract might compress to 3-4MB — well within email limits while remaining fully readable.
Text-based PDFs (created from Word or other applications) are usually already small, but PDFs with embedded high-resolution graphics benefit from compression. The key is balancing file size with readability — if the document needs to be printed at high quality, aggressive compression may make text slightly fuzzy. For screen-only viewing, moderate compression is perfectly fine.
Method 4: Handle Video Differently
Video files almost never fit within email attachment limits. A 1-minute 1080p video from a phone is typically 100-200MB. Even aggressively compressed, it will exceed 25MB for anything longer than a few seconds. For video, email is the wrong tool entirely.
Better alternatives for sharing video: upload to Google Drive, Dropbox, or OneDrive and share a link. Use WeTransfer for free file sharing up to 2GB. Upload to YouTube as an unlisted video. If you absolutely must email a short video clip, compress it to 720p resolution at a lower bitrate — but even then, keep clips under 15 seconds to fit within limits.
Method 5: Split Large Archives Into Parts
If you have a large collection that must be sent via email (no cloud sharing option available), you can split the archive into multiple parts. 7-Zip (free, open-source) can create multi-part ZIP or 7Z archives: right-click your files, then 7-Zip, Add to archive, and set "Split to volumes" to 18MB (leaving room for email encoding overhead). This creates files like archive.zip.001, archive.zip.002, and so on.
Send each part in a separate email. The recipient saves all parts to the same folder, then opens the first part (.001) with 7-Zip or similar software to extract the complete archive. This approach is clunky but works when cloud sharing is not an option — for example, in corporate environments with restricted external services.
The Better Alternative: Cloud Sharing Links
For files over 20MB, a cloud sharing link is almost always the better approach. Upload your file to Google Drive, Dropbox, or OneDrive, generate a sharing link, and paste it into your email. The recipient clicks the link to download or view the file. There are practically no size limits — Google Drive allows files up to 5TB.
Gmail and Outlook both suggest cloud sharing automatically when your attachment exceeds the limit. Gmail offers to upload to Google Drive. Outlook offers OneDrive. These integrations make the process nearly seamless. The recipient does not need an account on the same service — sharing links work for anyone with a web browser.
Security: Encrypting Sensitive Attachments
When emailing confidential documents, adding encryption to your ZIP archive provides a layer of protection. Use 7-Zip to create an archive with AES-256 encryption and a strong password. Share the password through a separate channel — a phone call, text message, or in-person — never in the same email as the encrypted file.
Standard ZIP encryption (the kind built into Windows's native ZIP creator) uses an older, weaker encryption algorithm that can be cracked. Always use 7-Zip or WinRAR with AES-256 for sensitive files. For converting between archive formats, you can use iformat.io's ZIP to 7Z converter to switch to 7Z format, or convert RAR to ZIP for broader compatibility.
Quick Tips for Smaller Email Attachments
Compress before attaching — email providers do not compress your files automatically. Resize photos to the resolution the recipient actually needs. Use PDF compression for scanned documents. Send video via cloud links, never as email attachments. When using ZIP, remember it barely helps with already-compressed files like JPEG photos and MP3 audio. For maximum compression of mixed files, 7Z format squeezes more than ZIP, though the recipient needs 7-Zip to open it.
The most practical habit: if your file is over 10MB, skip the attachment entirely and use a cloud sharing link. It is faster for you, easier for the recipient, and avoids the entire size-limit problem. Save email attachments for documents under 10MB — contracts, invoices, small reports — where the convenience of having the file directly in the email thread outweighs the hassle of a download link.