Compress Image to Target Size
Shrink a JPG, PNG or WebP file to an exact size such as 100 KB, 200 KB or 1 MB. The quality is lowered step by step and, if necessary, the dimensions are
Drop your image file here
or click to browse files
Shrink a JPG, PNG or WebP file to an exact file size such as 100 KB, 200 KB or 1 MB. This is what you need when a form, a job portal or an upload field enforces a hard limit and ordinary compression settings are not precise enough. Quality is lowered step by step until the file fits, and if quality alone is not enough the dimensions are reduced as well when you allow it.
The tool always tells you whether the target was reached and at which dimensions and quality it stopped. If a file cannot be squeezed under the limit without becoming unusable, it says so instead of handing you a result that will be rejected by the form.
How to shrink an image to an exact size
Choose an image
Enter the target size (for example 100 KB) and pick KB or MB
Check the reported result and download the file
FAQ
How exactly is the target size met?
The tool uses a binary search over the quality setting to find the highest quality that still stays under your limit, so you do not lose more detail than necessary.
What if my image cannot reach 100 KB?
Very large, very detailed photos - or PNG files with transparency - sometimes cannot go below 100 KB without looking broken. The result is then clearly marked as not meeting the target, and you can enable "shrink dimensions" so the tool also reduces the pixel size step by step.
Which output formats are available?
JPEG and WebP. Both are made for photographs; WebP is usually smaller at the same visual quality, while JPEG opens everywhere.
Is the quality still good enough?
For screen use and online forms, 100-500 KB is plenty. If you are preparing print files, a fixed file size is the wrong constraint - print wants resolution, not a kilobyte budget.
Can I process multiple images?
Yes. Select several files and each is brought to the same target size; download them one by one or as a ZIP.
Are the images uploaded anywhere?
No, the whole process runs locally in your browser.
At a glance
| Input | image |
|---|---|
| Multiple files | Yes |
| Where it runs | In your browser - files are never uploaded |
| Works offline | Yes — once the page has loaded |
| Price | Free, no sign-up, no watermark |
How much quality you actually lose
Lossy compression throws away detail your eye is least likely to notice - first fine texture, then edges. In practice most photographs look identical to the original down to roughly 75-80% quality, and differences only become obvious around faces, hair, foliage, fabric patterns and text. That is why a portrait and a screenshot need different settings: a face at 60% shows blotchy skin where a landscape at 60% still looks fine. Resizing matters more than quality for perceived sharpness: halving the pixel dimensions usually saves far more than dropping quality from 90 to 60, and the result looks better. If you need a specific file size, reduce dimensions first, then quality, and stop as soon as you hit the target rather than going lower than necessary.
Getting a file under a size limit
Upload forms often demand something like "under 2 MB" or "under 500 KB", and the fastest way to get there is to work in the right order: crop away what you do not need, then reduce the pixel dimensions to roughly what the final use requires (1920 px wide is plenty for a full-screen web image, 1000 px for a blog post), and only then lower the quality. Converting to WebP or AVIF can be the single largest saving if the upload form accepts it. Stripping metadata is harmless for size and can matter for privacy, since photos often carry GPS coordinates, the exact camera model and the date. If a form still refuses the file, check whether it imposes a pixel-dimension limit rather than only a size limit - that catches people out more often than actual megabytes.