Image Compressor
Reduce JPEG, PNG, or WebP file size by re-encoding at a chosen quality. See before/after sizes side-by-side.
- Free · no sign-up
- Instant results
- Privacy-friendly
Choose an image and a target quality. The compressed file will download immediately; original and compressed sizes are visible in the response headers.
Other Image Tools
What compression is doing to your image
Upload a JPEG, PNG or WebP, pick a quality level between 10 and 100, and the image is re-encoded at that setting. You get the before and after byte counts side by side so you can see exactly what the setting bought you, then download the result.
Quality here is not a percentage of visual fidelity — it is a dial controlling how aggressively fine detail is discarded. Lowering it makes the encoder round off subtle colour and brightness variation that the eye is poor at noticing. The savings are real and usually large, because photographs contain far more detail than a screen at typical viewing size can resolve.
Choosing a quality setting
For almost all web photography, quality between 75 and 85 is the sweet spot. It typically removes 60 to 80 percent of the file size with no difference a visitor would notice on a normal screen. Below about 60, artefacts start to appear in smooth gradients — skies, skin, shadows — as visible banding or blocky patches. Above 90 the file grows quickly for improvements almost nobody can see.
The right setting also depends on content. Photographs with lots of texture hide compression well. Flat graphics, screenshots, logos and anything containing text are far less forgiving: lossy compression smears the sharp edges of letterforms, producing the fuzzy halo that makes a screenshot look cheap. For those, keep quality high or use PNG.
Compression is one-way — always keep the original
Discarded detail is gone. Re-saving at a higher quality afterwards cannot bring it back; it simply stores the already-degraded image in a bigger file. This is the single most common and most costly mistake with image compression.
It also means repeated cycles accumulate damage. Compress, edit, re-save, compress again and each pass degrades the result further — generation loss, the same phenomenon as photocopying a photocopy. Keep your master file, compress once as the final step before publishing, and always compress from the original rather than from a previously compressed copy.
Picking the right format
Format choice often saves more than the quality slider does:
- JPEG — photographs and complex images with no transparency. Universally supported, and still a reasonable default.
- PNG — screenshots, logos, line art, and anything needing transparency or crisp edges. Lossless, so text stays sharp, but files are much larger for photographic content.
- WebP — usually 25 to 35 percent smaller than JPEG at equivalent quality, supports transparency, and is supported by every current browser. For most web use it is now the better choice.
Resize before you compress
The largest saving available is almost never the quality slider — it is dimensions. A 4000-pixel-wide photo from a phone displayed in a 800-pixel column carries twenty-five times more pixels than the layout can use, and compression cannot recover that waste. Resizing to roughly the display size, then compressing, routinely turns a 6 MB upload into something under 200 KB.
This matters beyond page weight. Largest Contentful Paint is a Core Web Vitals metric and a ranking signal, and on most pages the largest element is an image. Oversized images are one of the most common causes of a failing LCP score, particularly for visitors on mobile connections.