Get images under an email size limit
Say the number. The encoder finds the best quality that still fits.
No upload. No account. Local. The file is re-encoded in this tab, never posted.
How it works
- Add the photos you want to attach.
- Set the target size — 500 KB is a common mail server limit for a single attachment.
- Optionally cap the width, which is often the cheapest way to hit the target.
- Compress. Each file shows its final size and whether the target was met.
Limits, in plain numbers
| Input | JPEG, PNG, WebP, and HEIC from iPhone |
|---|---|
| Target | 50 KB to 2 MB per image, or a max width in pixels |
| Output | JPEG, quality searched automatically per image |
| Network | Local. The file is re-encoded in this tab, never posted. |
Why this runs locally
Mail servers reject or silently strip large attachments, and the limit differs by provider and by how many files you attach. Guessing quality settings wastes a round trip through your inbox.
This tool works the other way round: you give it a ceiling, and it binary-searches the JPEG quality to land just under it. If quality alone cannot reach the target, it will tell you that reducing width is required instead of lying about the result.
Everything runs locally, so a photo of a passport or a signed form never touches a server.
Engine and licences are listed on the about page; the source archives ship with the site.
One run, measured
Fixture: 1600×1200 gradient PNG. Settings: target 200 KB, max 1600 px. Measured 2026-11-30 (Asia/Shanghai) in a headless Chromium on the build machine.
| Input | 2.12 MB (2219871 bytes) |
|---|---|
| Output | 143.0 KB (146433 bytes) |
| Change | 93% smaller |
| Time | 0.28 s |
This is one run of one fixture, published so you can check it — not a promise for your file. A different photo, video, or document will land somewhere else, and a smaller file is not automatically the better result.
Questions people actually ask
- What size should I use for email?
- Most providers cap a single attachment around 20–25 MB, but inboxes and corporate filters are stricter. 500 KB per photo is a safe default for a handful of images; 200 KB for a long thread.
- Does it always hit the target?
- For JPEG output at a reasonable width, almost always. If it cannot, the file is returned with the closest size it reached and a note saying the target was not met.
- Why does the preview look softer?
- Compression trades detail for bytes. Lowering width first usually preserves more visible quality than crushing quality at full size.
- Can I send HEIC photos to someone on Windows?
- Yes — output is JPEG, which every mail client displays. The HEIC input is decoded locally.
- Is there a batch limit?
- You can queue up to 50 images; the cap is memory, not licensing.