← Back to Blog

How to Compress Images for Email Attachments

We have all been there. You pick a few photos from your last trip, attach them to an email, and hit send — only to see a message saying the attachment size exceeds the limit. Frustrating, right?

Every major email provider has attachment limits, and modern smartphone photos are much larger than those limits allow. The fix is simple: compress your images before attaching them.

Email Attachment Limits (2026)

Here is what each provider allows:

A single photo from an iPhone 14 or Samsung Galaxy can be 3–8 MB. Three or four photos and you have already hit the limit.

Image compression before and after comparison
Before and after compression: the compressed version is email-friendly while looking nearly identical.

How Much Do You Need to Compress?

The good news: you don't need to crush your photos into tiny files. Here is a practical target:

Method 1: Compress Images Online (Fastest, No Software)

The easiest way is to use a browser-based compressor like CompactJPG:

  1. Go to compactjpg.com
  2. Drag your photos into the browser window (or click to select)
  3. Click COMPRESS. The default quality (80) works well for email.
  4. Download the compressed photos and attach them to your email.

Because everything happens in your browser, your photos never leave your device. No uploads, no privacy risk.

Method 2: Compress Multiple Photos at Once

Need to send 20 photos from a recent trip? Do not attach them one by one. Compress them all at once:

  1. Select all the photos you want to send
  2. Drop them all into CompactJPG (supports batch compression)
  3. Click COMPRESS ALL
  4. Click SAVE ALL — they download as a ZIP file
  5. Attach the ZIP to your email

This is often better than attaching photos individually — the recipient gets one file to download, and ZIP compression adds an extra layer of size reduction.

Method 3: Resize Images (When Compression Is Not Enough)

If your photos are from a DSLR or mirrorless camera, they may be 20–40 MB each. Even compressed, they might be too large for email.

In that case, you need to resize the image dimensions:

After resizing, compress the images using the method above. A 24 MP photo resized to 1920px and compressed at quality 80 will typically be 200–500 KB — small enough to send anywhere.

Format Matters: JPEG vs PNG for Email

Quick Reference: Target File Sizes for Email

Use Case Target Size Quality Setting
Single photo in email 1–3 MB 80–90
Multiple photos (5–10) 500 KB–2 MB each 70–85
Screenshots for email 100–500 KB PNG8 conversion
Photos for slow connections 200–800 KB 60–75

Common Mistakes

1. Compressing Too Much

Setting quality to 30 or 40 makes files very small, but the compression artifacts will be obvious. For email, you almost never need to go below 60.

2. Using PNG for Photos

PNG is lossless — it keeps every pixel perfect. For photos, this means files that are 5–10× larger than a quality-80 JPEG with no visible improvement.

3. Forgetting About Mobile

Remember that your recipient might be checking email on a phone with a slow connection. A 5 MB photo takes 10–20 seconds to load on 3G. Keeping photos under 1 MB is a kind gesture.

The Privacy Bonus

Most online compressors upload your photos to a server, compress them there, and send the result back. That means your photos live on someone else's server — even if just for a few hours.

CompactJPG works entirely in your browser. Your photos never leave your device. For personal or sensitive photos, this matters.

Summary

Email attachment limits are annoying, but the fix is simple. Compress your photos before attaching them, aim for 1–3 MB per photo, and use quality 70–85 for the best balance. Your recipients will thank you for faster-loading emails.