Iterative quality search
Set a target size and the tool re-encodes at progressively lower quality until the file fits, so you get the best possible image under a hard limit.
Reduce image file size without a visible drop in quality.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Compress JPG, PNG and WebP images by re-encoding at a target quality and optionally resizing. See the exact saving per file before you download.
Image compression is a negotiation between three things: how big the file is, how sharp it looks, and how large it is displayed. Most people only touch the first two and forget that dimensions dominate everything. A 4000×3000 photograph compressed to perfection still weighs more than a 1200×900 version at mediocre quality.
Some situations have a hard ceiling rather than a preference: a 500 KB portal upload, a 100 KB hero image for a performance budget, a 2 MB email attachment. Target-size mode handles this by binary-searching the quality parameter — encoding, measuring, adjusting — until the output fits under your number. It reports the quality it settled on so you can judge whether the result is acceptable.
JPEG and WebP lossy compression works in the frequency domain. It keeps the broad shapes and tones that your eye latches onto and discards fine high-frequency detail that it mostly ignores. That is why smooth skies survive brutal compression while hair, foliage and text fall apart — those are almost entirely high-frequency information.
If your image is mostly text or thin lines, do not use lossy compression at all. Keep it PNG, or resize it instead.
Always compare at 100% zoom, not fit-to-screen. Browsers downscale previews in a way that hides exactly the artefacts compression introduces. The side-by-side preview in this tool renders both images at identical dimensions so the comparison is fair.
Step by step
Add the images you want to shrink — several at once is fine.
Choose a target quality or set a maximum file size to aim for.
Optionally cap the width or height so huge photos are downscaled too.
Press Compress and watch the before/after sizes for each file.
Download the results, or adjust and re-run until the balance is right.
Why use it
What this tool is good for, and what it deliberately does not try to do.
Set a target size and the tool re-encodes at progressively lower quality until the file fits, so you get the best possible image under a hard limit.
Photographs are compressed as JPEG or WebP; flat graphics are kept lossless where re-encoding would only add artefacts. You always see which path was taken.
Each result shows the original size, the new size and the percentage saved — no guessing whether the compression was worth it.
Application portals, email attachments and CMS media libraries all impose caps. Target-size compression is built to hit them exactly.
Questions
Short, honest answers about quality, limits and privacy.