Compress Image to a Target Size
Your form says "under 200KB". Type 200 and get a file under 200 — no quality slider to nudge, export, check, and nudge again. Everything runs in your browser.
Drop an image here
or click to browse
Why a quality slider is the wrong control
Nobody wants "78% quality". They want a file that clears the limit a portal has set. A percentage does not map to a file size in any predictable way — it depends on what the picture contains — so the usual workflow becomes guess, export, check the size, guess again.
This page inverts it. You state the constraint and it searches for the answer: encode, measure, adjust, repeat, converging on the highest quality that still fits. The result typically lands within one or two percent of your limit, which is as much quality as that budget allows.
When the image simply cannot fit
Sometimes the pixel count is the problem, not the compression. A 4000-pixel-wide photograph will not reach 50KB at any quality worth having — there are too many pixels to describe in that many bytes.
When that happens the tool reduces the dimensions and tries again, and it says so in the result rather than quietly handing you a smaller image. Fewer pixels at decent quality beats the same pixels turned to mush, but you should know which one you got.
Where these limits come from
- Government and visa portals — commonly 100KB to 300KB per photo.
- Exam and university registrations — often 50KB to 200KB, sometimes with a minimum too.
- Job application forms — usually 1MB or 2MB.
- Marketplace and forum uploads — typically a few MB.
Getting more quality inside the same limit
Two things help before you compress. Resize first if the image is larger than it needs to be — see resize before you compress. And try WebP if the form accepts it: it fits noticeably more detail into the same number of bytes than JPEG does.
Frequently asked questions
Will it go over my limit?
No. The search only keeps results that are at or under the number you entered, so the file you download always fits.
My form wants a minimum size too
Some portals demand between, say, 20KB and 50KB. Aim at the top of the range — the result lands just under it, which satisfies both ends.
Does it keep my EXIF data?
No. Compressing redraws the image, so metadata does not survive. That is usually welcome; see Remove EXIF if it is the point.
Related tools and guides
- Passport photo — exact millimetres, DPI and a size cap together
- Compress image — when you want the slider after all
- Reducing image file size — resize first, then compress
