Image tools
Compress an image to send on Gmail
Gmail caps attachments at 25 MB; this leaves room for the encoding overhead that pushes files over.
Drop an image here
JPG, PNG or WebP · nothing is uploaded
How it works
- 1Choose an image, or drag one onto the box.
- 2The tool searches for the highest quality that still fits inside 20 MB.
- 3Check the before-and-after size, then download.
Specification
- Target size
- 20 MB
- Output
- JPEG
- Method
- Quality search, then downscale only if needed
- Uploads
- None — the file never leaves your browser
Questions
Will the result definitely be under 20 MB?
The tool always aims under the limit, never over, because upload forms reject a file that is one byte too large. It searches for the highest quality that still fits. If an image cannot reach 20 MB even at the lowest quality, it says so rather than handing you a file that will be refused.
Will it ruin the quality?
It only reduces quality as far as it has to. Small targets on a large photo are a pixel-count problem rather than a quality one, so once quality alone will not get there the image is scaled down instead — that produces a clean smaller image rather than a blurry large one.
Can I use a different size than 20 MB?
Yes. The box under the drop area is set to this page's target, and you can type any value into it before choosing your file.
Is my file uploaded anywhere?
No. Everything happens inside your browser using the canvas built into it. Nothing is sent to a server, nothing is stored, and the page keeps working if you disconnect from the internet after it loads.
Is this the same as "compress image to send in gmail"?
Yes. It also gets called "reduce image size for gmail" and "photo too big for gmail". They all describe this one job, and this page does it.