Email Optimizer

Compress Image for Email Online

Compress photos before attaching them to emails. Targets safe sizes for Gmail (25MB), Outlook (20MB), and corporate limits. Everything runs in your browser.

Last updated: August 2026

1MB

Default Target

Gmail + Outlook

Safe Limits

One at a Time

Per Photo

Private

No Uploads

KB

Drop image here to compress to 1000KB

JPEG, PNG, WebP, AVIF, HEIC. All processing stays in your browser.

Default target is 1MB. For multiple photos, try 500KB each to stay safely under your email provider's limit. One photo at a time, repeat for each attachment.

How to compress a photo for email

1

Set your target

1MB default, or 500KB if sending several photos.

2

Drop your photo

JPEG, PNG, WebP, AVIF or HEIC. Nothing is uploaded.

3

Compresses automatically

Already-small files skip straight to a download banner.

4

Download and attach

Repeat per photo, then attach as usual in your email.

Why compress photos before emailing

Email was never designed to move large files. A few uncompressed smartphone photos can quickly fill a message, leading to bounced emails, slow uploads and frustrated recipients.

Sending multiple photos in one email

Compressing each photo to around 1MB lets you fit 10 or more photos in a single email while staying under Gmail's 25MB limit, instead of hitting the cap after just two or three originals.

Corporate Exchange accounts

Many business email accounts limit total message size to 10MB. Compressing photos to 1MB each leaves room for the email body and any other attachments.

Faster sending and receiving

Smaller attachments upload faster from your device and download faster for the recipient, especially on mobile connections or slower networks.

Avoiding bounce-back errors

An email that bounces due to size limits has to be resent, often after manually resizing photos one by one. Compressing before attaching avoids this entirely.

Common email compression mistakes

Expecting to compress several photos in one pass

This tool works on one photo at a time, there's no batch mode or ZIP download here. If you're attaching multiple photos, compress and download each one before moving to the next.

Compressing a file that's already small enough

If your photo is already under the target, the tool shows a banner and skips compression rather than re-encoding it needlessly. Download the original directly from that banner rather than lowering the target just to force a re-encode.

Expecting PNG output

PNG is accepted as input but the output is always JPEG or WebP. If you specifically need a PNG back out, this isn't the right tool for that step.

Assuming quality can go above 90

The binary search that finds your target size caps out at quality 90. If your target has plenty of headroom, the file may come back smaller than expected rather than at maximum quality, that's expected behavior, not a bug.

Zipping photos before attaching them

JPEG and other photo formats are already compressed, so zipping adds little to no benefit and can trigger spam filters on some email systems. Compress each photo directly instead.

Why use ImgTweak?

Runs entirely in your browser
No uploads, ever
Automatically detects already-small files
Binary search finds the highest usable quality
Free forever, no account needed
Works on mobile as well as desktop

Frequently asked questions

Why does my email say the attachment is too large?

Email providers limit the total size of a message including all attachments. Gmail allows up to 25MB to send, Outlook.com allows 20MB, and many corporate Exchange accounts limit messages to just 10MB. A single photo from a modern smartphone can be 3MB to 10MB, so attaching even four or five photos can easily exceed these limits. Compressing each photo before attaching keeps the total message size well within range.

What size should I compress photos to for email?

For a single photo, 1MB to 2MB preserves excellent quality while keeping the file small. If you are attaching multiple photos, aim for around 1MB each so the total stays comfortably under common limits. For corporate email accounts with a 10MB total limit, compressing each photo to 1MB lets you send up to eight or nine photos in a single email with room to spare.

Can I compress several photos at once for the same email?

This tool handles one photo at a time. If you're attaching several photos to a single email, drop and download each one individually before attaching them all. There's no batch or ZIP option here, that keeps the tool simple, but it does mean a few photos take a few passes.

What happens if my photo is already smaller than the target?

The tool checks the file size before doing anything else. If your photo is already under the target you set, it skips compression entirely and shows a banner confirming this, with a button to download the original file as-is, or you can lower the target if you want it smaller.

What quality and output format does this tool use?

Output is JPEG or WebP, chosen with the toggle above the drop zone, PNG is accepted as input but is never the output format. The binary search that finds the target size caps out at quality 90, it never pushes higher than that even if there's headroom left in your target size.

Will compressing at a very small target shrink the photo's dimensions too?

Only if it has to. At the 500KB to 2MB targets typical for email, quality reduction alone is usually enough and dimensions stay untouched. At much tighter targets, the tool falls back to scaling dimensions down slightly to hit the size, and the result panel shows the scale factor used if this happens.

Why not just zip my photos before emailing?

Photos are already compressed formats such as JPEG, so zipping them barely reduces file size further and can sometimes make files slightly larger. Zip files can also trigger spam filters, since some security systems treat archives with suspicion. Compressing each image directly is more effective and avoids any deliverability risk from zipped attachments.

Does EXIF or GPS location data survive compression?

No. The image is decoded to raw pixels and re-encoded during compression, so EXIF metadata, including GPS location and camera details, does not carry over to the output file. This is worth knowing if the photo was taken on a phone and you don't want location data going out with the email.

Will compressed photos still look good when viewed in email?

Yes. Email clients typically display inline images and attachment previews at reduced sizes, and most recipients view photos on phone or laptop screens rather than printing them. A photo compressed to 1MB at full resolution looks identical to the original in an email client, while loading and downloading noticeably faster for the recipient.

Is my photo uploaded anywhere when I use this tool?

No. All compression happens locally in your browser using WebAssembly, with a dedicated decoder handling HEIC files from iPhones. Your photo never leaves your device until you attach the compressed file to your email yourself.

Ready to compress your photo?

No sign-up. No upload to server. Drop your photo above and download it in seconds.