One budget, not one cap per photo
“Fit fourteen photos into one 20 MB email” is a single budget. Giving each photo the same cap wastes bytes on the easy ones and starves the detailed ones. This page encodes every photo at six quality settings, measures each result against the photo, and then takes away bytes one step at a time from whichever photo loses the least by it — until the set fits.
- Limits of 10, 20 or 25 MB, or any figure you type.
- Email's base64 overhead taken off the limit by default, with both numbers printed.
- JPEG quality 92 down to 42 (or a floor you set) through MozJPEG; PNG lossless down to 32 colours.
- A ruler with one segment per photo against the total, and each photo's setting, bytes and SSIM.
- Photos encoded several at a time in background workers on this device; one stored ZIP or single files.
It fits the files, not the mail service's rules.
Some services convert large attachments into links or count a message's total size including the text. This page makes the files fit the number you give it; it does not send anything, and it cannot see your mailbox.
Questions people arrive with
Why not just compress every photo to the same size?
What does "account for email encoding" mean?
What limit does my email service have?
What if the photos still do not fit?
Is the location in my photos sent?
Elsewhere on this site
- Batch compress imagesA folder to one cap per file or one quality, one ZIP.
- Compress image to KBOne photo to an exact cap.
- JPG to PDF under a sizeSeveral pictures as one PDF under a cap.

