Compress File for Email Attachment

To compress a file for an email attachment, start with the file size, the email service you are using, and what the recipient needs to do with the file. If the file is only a little too large, compression can usually make it small enough to attach. If the file is far over the limit, a shared link is usually more reliable than forcing a low-quality attachment.

Use Gmail in Chrome? Install Devenia Send for Gmail from the Chrome Web Store. The checker below works on this page before you attach a file anywhere.

Last updated: May 27, 2026

Quick answer

For broad email delivery, try to keep a real attachment under 20 MB when possible. Gmail commonly allows attachments up to 25 MB and may switch larger files to a Google Drive link. Yahoo Mail documents a 25 MB total attached-file limit. Outlook and Microsoft 365 limits can vary by account, app, and administrator settings, so a file that works in one mailbox may fail in another. Apple Mail can use Mail Drop for larger files, but Mail Drop is a link-based delivery method, not a normal attachment.

  • Need a true attachment? Compress the file until it is comfortably below the sender and recipient limits.
  • PDF too large? Reduce scanned pages, images, and unnecessary pages before lowering quality everywhere.
  • Video too large? Trim it first, then export a compatible MP4 at a practical resolution.
  • Photos too large? Resize dimensions before using aggressive JPG compression.
  • Still too large? Send a link and make sure the recipient has permission to open it.

Check the file first

Choose the file before you decide whether to compress it, split it, or send a link. The checker gives you the size result and shows whether the file is likely to fit a safer email target.

Pick the PDF, image, or video you want to email. The size check is free.

2
Waiting for file

Email size result

Files
Not selected
Total size
0 MB
Email service
Most email services
Safe email target
Safe target: 20 MB
Compression needed
Choose a file and we will show this.

Your result will appear here after you choose a file.

Optional

Sending to work or school?

You do not normally need this. If you are sending to a work, school, or company address, paste it here and we will check the mail service when we can.

You can leave this empty. It is only here if you want to check a work, school, or company email address.

Optional Devenia help

Rather have us make the smaller copy?

The check and advice above are free. You can try the changes yourself, or ask Devenia to make a smaller copy for you.

We use this to send the finished file and receipt.

On this page: Email attachment limits | Compression workflow | PDFs, videos, photos, and folders | Gmail, Outlook, Yahoo, Apple Mail | When to send a link | Troubleshooting | Checklist | FAQ


Know the attachment limit before you compress

Email attachment limits are not always just file limits. The full message can include the attachment, the email body, inline images, signatures, and extra encoding used while the message travels between mail systems. That is why a file close to the published limit can still fail. It is also why the safest target is usually smaller than the number shown in a help article.

The recipient’s mailbox matters too. Your email app may accept the attachment, but the message can still bounce if the recipient’s provider, company gateway, or security filter has a smaller limit. For important files, aim for a clean margin instead of attaching a file that is exactly at the maximum.

Email serviceTypical attachment behaviorPractical target
GmailCommon Gmail attachments can be up to 25 MB. Larger files may become Google Drive links.Keep true attachments below 25 MB, preferably lower for cross-provider delivery.
Outlook.com and Outlook internet accountsMicrosoft documents a 20 MB email size limit for many internet accounts in Outlook.Try to stay under 20 MB when sending outside your own organization.
Microsoft 365 and Exchange OnlineLimits can depend on mailbox defaults, organization policy, client, and administrator settings.Check the organization limit or use an approved sharing link.
Yahoo MailYahoo documents a 25 MB total attached-file limit per message.Compress or split before attaching several files.
Apple Mail and iCloud MailMail Drop can send large files through iCloud instead of a normal attachment.Use Mail Drop for large files when a download link is acceptable.

If the problem is a rejected message rather than a specific file type, start with File Too Large to Send via Email. For Gmail-specific limits, use Gmail Attachment Size Limit and Gmail Attachment Size Limit per Email.

How to compress a file for an email attachment

The best compression workflow keeps the original file safe, reduces the largest source of file size first, and checks the result before you send it. Do not keep recompressing the same damaged copy. Make one clean compressed version, inspect it, and decide whether it is suitable as an attachment.

  1. Check the current file size. Look at the file on your computer before composing the email. If you will attach multiple files, add their sizes together.
  2. Choose a realistic target. For broad deliverability, under 20 MB is safer than aiming right at 25 MB. Use a smaller target if the recipient gave you one.
  3. Save a copy. Keep the original unchanged, especially for signed documents, source files, photos, and videos.
  4. Remove what is not needed. Delete extra pages, trim unused video, remove duplicate photos, or export only the section the recipient needs.
  5. Compress the right content. Reduce scanned images inside PDFs, resize photos, lower video bitrate, or zip plain document sets where that actually helps.
  6. Open the compressed file. Check readability, playback, page order, image detail, forms, signatures, and any file the recipient must upload or print.
  7. Attach only when it fits with room to spare. If the file is still close to the limit, split it or send a link.

Compression should serve the recipient’s task. A tiny file is not a win if the recipient cannot read the contract, inspect the image, play the video, or upload the document to the next system.

Best approach by file type

Different files get large for different reasons. The fastest clean fix for a PDF is not the same as the fastest clean fix for a video, a photo set, or a folder of documents.

PDF files

PDFs are often too large because they contain scanned pages, high-resolution images, comments, embedded objects, or pages the recipient does not need. Start by removing unnecessary pages. If the PDF is scanned, use compression that reduces image data while keeping small text readable. If the PDF is a form, signed document, or official record, open the compressed copy carefully before sending.

For a PDF-specific workflow, use Compress PDF for Email. If you need the broader PDF hub, see Compress PDF. If the document has already been rejected, use PDF Too Large to Email.

Video files

Video size is controlled by duration, resolution, bitrate, frame rate, codec, and audio. Trim the clip before lowering quality. For many recipients, MP4 with H.264 video and AAC audio is the safest compatibility choice. A short 720p clip may work as an attachment. A long 1080p or 4K video usually belongs behind a link.

Use Compress Video for Email for the broad video workflow, or Compress Video for Email Free if you are looking for no-cost options.

Photos and images

Photos from modern phones can be much larger than needed for email. Resize dimensions first, then reduce JPG quality if the file is still too large. For screenshots, diagrams, or images with transparency, do not automatically convert everything to JPG; the wrong format can make text fuzzy or remove transparency. Send only the photos the recipient needs instead of attaching an entire camera roll.

For image-specific guidance, see Compress Photos for Email, Reduce Image File Size, and Reduce Image File Size Online.

Folders, ZIP files, and document sets

Zipping a folder is useful when you need to keep several documents together, but it does not always make files much smaller. PDFs, JPGs, MP4s, and many modern office files are already compressed. A ZIP may organize them, but it may not solve the attachment limit. If the folder contains many files, remove duplicates, split the set into smaller messages, or send a link to a shared folder.

Gmail, Outlook, Yahoo Mail, and Apple Mail

Gmail

For most Gmail attachment workflows, 25 MB is the number to remember. If a file is larger, Gmail may add it as a Google Drive link instead of sending it as a normal attachment. That can be helpful, but it changes the recipient experience: the recipient opens or downloads the file from Drive rather than receiving the file inside the message.

If you specifically want a real Gmail attachment, compress below the limit and leave room for the rest of the message. For larger Gmail workflows, see Send Large Files with Gmail and Send Large Files via Gmail.

Outlook and Microsoft 365

Outlook limits are not one single rule for every user. Microsoft documents a 20 MB limit for many internet email accounts in Outlook, while Microsoft 365 and Exchange environments can be configured by administrators. If you are using a work or school account, the organization may have its own limits and security rules.

When in doubt, aim under 20 MB for attachments sent to Outlook users outside your organization. If the file is important, use an approved OneDrive, SharePoint, or other sharing link and confirm access before sending.

Yahoo Mail

Yahoo Mail documents a 25 MB total attached-file limit for a single message. The total matters: one 24 MB file may fit, but several smaller files can fail when combined. Compress, remove unnecessary files, or split the message when sending to Yahoo Mail users.

Apple Mail and Mail Drop

Apple Mail can offer Mail Drop when a message is larger than normal mail limits. Mail Drop sends the file through iCloud and lets the recipient download it, with Apple documenting support for attachments up to 5 GB and a limited availability window. Use it when a link is acceptable. If the recipient needs a true attachment saved inside the email, compress the file instead.

When a link is better than a compressed attachment

A compressed attachment is best when the recipient needs the file inside the email, must upload it to another system, or cannot use shared links. A link is better when the file is large, quality matters, several people need access, or the file may be updated after you send it.

Before sending a link, check permissions. Open the sharing settings and make sure the recipient can view or download the file without requesting access later. If the file is sensitive, avoid broad public links and use the sharing option approved by your organization or the recipient.

SituationBest choiceReason
File is slightly over the limitCompressA clean attachment is still realistic.
File is many times over the limitLinkCompression may damage quality before it fits.
Recipient asked for an attachmentCompress or splitThe workflow may require a real file in the message.
Several people need accessLinkPermissions and updates are easier to manage.
File contains sensitive informationApproved secure channelFollow the recipient’s security requirements.

Troubleshooting failed attachments

  • The file is under the limit but still fails: the full email may be larger after message overhead, signatures, inline images, or other attachments are included.
  • The message leaves your outbox but bounces: the recipient’s provider or company gateway may have a smaller limit.
  • A ZIP file did not help: the files inside may already be compressed, especially PDFs, JPGs, MP4s, and modern office documents.
  • The compressed file looks bad: return to the original and use a moderate setting, split the file, or send a link instead.
  • The file type is blocked: some mail systems block executable files, scripts, password-protected archives, or unusual file types even when the size is fine.

If the attachment still fails after compression, do not keep sending the same message repeatedly. Reduce the file further, send only the needed part, or switch to a link with clear access permissions.

Final checklist before you send

  • Check the size of every attachment together, not just one file.
  • Keep the attachment comfortably below the relevant email limit.
  • Open the compressed file and confirm it still works.
  • Use the right compression method for the file type.
  • Remove unnecessary pages, clips, photos, or duplicates.
  • Use a link when the file is too large or quality matters.
  • Test link permissions before sending if you do not attach the file.

FAQ

How do I compress a file for an email attachment?

Check the file size, choose a target below the email limit, save a copy, remove unnecessary content, compress the file type correctly, and open the compressed version before sending. PDFs, videos, photos, and folders usually need different compression methods.

What size should an email attachment be?

For broad deliverability, under 20 MB is a practical target. Gmail and Yahoo commonly document 25 MB attachment limits, but other providers, Outlook setups, work accounts, and recipient gateways can be stricter.

Why does my attachment fail when it is under 25 MB?

The full email can become larger than the file you see on your computer because of message content, signatures, other attachments, and email encoding. The recipient’s mail system may also have a smaller limit than yours.

Is a ZIP file the best way to compress an email attachment?

A ZIP file is useful for bundling documents, but it may not reduce PDFs, photos, videos, or modern office files very much because many of those formats are already compressed. Use file-specific compression when size reduction matters.

Should I compress the file or send a link?

Compress the file when the recipient needs a true attachment and the file is close to the limit. Send a link when the file is far too large, quality matters, several people need access, or the file may need to be updated after sending.