How to Compress Images for Email Attachments (Under 25MB)

By Image Resizer Studio Team on 2026-07-04


How to Compress Images for Email (Under 25MB)

You hit send and the email bounces back. "Attachment size exceeds the allowed limit." The five photos you tried to send add up to 60MB, so your email won't budge until they're smaller.

Almost every email service caps attachments at 25MB. Gmail, Outlook, Yahoo: all of them draw the line around there. And modern phone cameras shoot photos so large that three or four of them blow past the limit easily.

The fix takes about a minute. Compress the images before you attach them, then you can fit far more into a single email with no visible drop in quality. Most photos can shrink by 80% or more while still looking sharp on any screen.

This guide shows you exactly how to compress images for email, the attachment limits for each major service, how many photos you can realistically fit and what to do when even compression isn't enough.

Email attachment limits by service

First, know the ceiling you're working against. Here are the attachment limits for the major email providers.

  • Gmail: 25MB per email (larger files switch to a Google Drive link automatically)
  • Outlook and Hotmail: 20MB for the desktop app, around 25MB on the web
  • Yahoo Mail: 25MB per email
  • Apple iCloud Mail: 20MB, with Mail Drop for larger files
  • ProtonMail: 25MB per email

The practical standard is 25MB. But there's a catch: the limit usually covers the entire email, including the text, any signatures and all attachments combined. So your real working budget is a little under the stated cap. Aiming to keep total attachments around 20MB is the safe target.

There's also the recipient to consider. Even if your service allows 25MB, the person receiving it might have a smaller inbox limit. Smaller emails are simply more reliable, which is another reason to compress.

Why your photos are so large

A single photo from a modern phone can be 5MB to 15MB. A few of those and you're instantly over the limit. Two things make them so big.

First, resolution. Phone cameras now shoot 12, 48 or even 200 megapixels. That's a huge number of pixels, far more than anyone needs to view a photo on a screen or even print at normal sizes. All those extra pixels inflate the file.

Second, the format and compression level. Photos straight from a camera are often saved at maximum quality with little compression. Understanding lossy vs lossless compression helps here: photos compress beautifully with lossy methods, shedding most of their file size while keeping the visible quality your eye actually notices.

The takeaway: those large files carry far more data than email or the recipient's screen will ever use. Compression simply trims the excess.

How to compress images for email: the two levers

Getting an image small enough for email comes down to the same two levers that control any file size: dimensions and compression.

Lever 1: Resize the dimensions

Email recipients view photos on a screen, not a billboard. A photo doesn't need to be 6000 pixels wide to look great in an email. Resizing the long edge down to around 1500-2000 pixels keeps it sharp on any monitor while cutting the file size dramatically. This is usually the single biggest saving.

Lever 2: Compress the quality

After resizing, compress to around 80% quality. This removes data your eye won't miss and shrinks the file further. For email, where the photo is viewed on a screen, 80% looks indistinguishable from the original to the person opening it.

Use both levers in order: resize first, then compress. A 12MB photo can drop under 1MB this way, which means you can fit 15 or more photos in a single 20MB email instead of just one or two.

How many photos fit in one email

Compression changes everything about how much you can send. Here's the difference it makes.

How Many Photos Fit in a 20MB Email?Compression decides whether you send 1 photo or 20Uncompressed~12MB per photo1photo per emailA second photo pushes youover the limit. The emailbounces or refuses to send.FrustratingCompressed~1MB per photo15+photos per emailResize to ~1800px, compressto 80%, and a whole albumfits with room to spare.No visible quality loss

Same email limit, completely different outcome. A minute of compression turns "I can only send one photo" into "I can send the whole set."

Step-by-step: compress images for email

This works on any device using a browser-based tool, with nothing to install.

  1. Open an online image compressor in your browser
  2. Upload the photos you want to email (many tools handle several at once)
  3. Resize the dimensions down to around 1500-2000 pixels on the long edge
  4. Set the quality to about 80%, or set a target total size under 20MB
  5. Check the combined file size of all the images
  6. Download the compressed photos
  7. Attach them to your email and send

Ready to shrink your photos for email? Use the free image compressor → for quick one-click compression, or try the custom compressor → to set an exact target size so your whole batch fits under the 20MB email limit. Both run in your browser with no upload to any server.

Compressing images for email on your phone

Most people send photo emails from their phone, with the images already in the camera roll. You don't need a computer.

Some email apps offer to resize photos as you attach them. Gmail and Apple Mail sometimes prompt you to choose a smaller size when you add a large image. That built-in option is the fastest fix when it appears, so take it when offered.

When the app doesn't offer it, a browser-based compressor works the same on a phone as on a desktop. Open it in your mobile browser, upload from your camera roll, resize and compress, then download the smaller versions and attach those. The whole thing takes under a minute on a phone.

Choosing the right format for email

Format affects how small your email attachments get. For photos, JPEG is the safe, universal choice: small file size and every email client and device opens it without trouble. This comparison of JPEG vs PNG vs WebP vs AVIF covers the full picture, but for email the rule is simple.

  • Photos: use JPEG. Small, universal, opens everywhere
  • Screenshots and graphics with text: PNG keeps them crisp, though the file is larger
  • Avoid WebP and AVIF for email attachments, since some older email clients and recipients may not display them reliably

If you're attaching PNG screenshots and they're pushing your email over the limit, here's how to compress PNG images by up to 70% so even your graphics fit comfortably.

For mixed batches, converting photos to JPEG and keeping only true graphics as PNG gives you the smallest total email size.

What to do when compression isn't enough

Sometimes you're sending so many photos, or such large files, that even compressed they won't fit under 25MB. You have good options.

Use a cloud link instead

Gmail automatically offers to upload large files to Google Drive and send a link. Outlook does the same with OneDrive. The recipient clicks the link to view or download. This sidesteps the attachment limit entirely and is the cleanest option for large batches.

Split into multiple emails

If a cloud link isn't ideal, send the photos across two or three emails, each staying under 20MB. Number them in the subject line ("Photos 1 of 3") so the recipient knows to expect the set.

Zip the files

Compressing the images into a single ZIP file bundles them neatly and can shave a little more off the total. Note that already-compressed JPEGs don't shrink much further in a ZIP, but it does keep everything in one tidy attachment.

For most everyday emails, though, simply resizing and compressing the photos is all you need. The cloud link is the backup for genuinely large batches.

4 mistakes that keep your email too large

1. Attaching photos straight from the camera

Camera-original photos are huge. Attaching them directly is the number one reason emails exceed the limit. Always compress first, even for a single photo.

2. Compressing without resizing

Lowering quality alone forces harsh compression to hit a small size. Resize the dimensions down first (recipients view on a screen anyway), then apply gentle compression. The result looks far better.

3. Using PNG for photographs

A photo saved as PNG can be five times larger than the same photo as JPEG. If your email is too big and your photos are PNGs, switching them to JPEG often solves it instantly.

4. Forgetting the total includes everything

The 25MB limit covers all attachments plus the message itself. Several images that individually seem fine can add up past the cap. Check the combined size, not each photo on its own.

Wrapping up

Email attachment limits sit around 25MB, but your real target is under 20MB to leave room for the message and the recipient's inbox. Camera photos blow past that fast, which is why compression is the everyday fix.

Resize the dimensions to around 1800 pixels, compress to 80%, save as JPEG, check the combined size. That sequence turns a bounced email into one that sends instantly and fits a whole set of photos. When a batch is genuinely too large, a cloud link carries the rest.

Next time an email refuses to send, you'll have it fixed in under a minute.