Photo Size Targeter
Name a size. Hit it.
Quality first, then resolution — it stops at the best image that fits.
Nothing is uploaded. Your browser does the work.
- 1Image
- 2Target
- 3Result
The image
The target
Common asks: 200 KB for uploads, 100 KB for email, 50 KB for avatars.
- Runs offline
- No upload
- EXIF stripped
- JPG · PNG · WebP
How the search works
JPEG and WebP are searched by binary-halving the quality between 0.05 and 0.95 to find the highest quality that still fits. If even the lowest quality is too large, the image is scaled down in steps and the search runs again.
PNG is lossless, so only resolution is reduced. Every attempt happens on a canvas in this tab — there is no server round trip, and you can disconnect from the network and this page still works.
Questions people actually ask
Upload forms are unforgiving: under 200 KB, under 1 MB, exactly this or nothing. This searches quality first, then resolution, and stops at the best-looking image that still fits the number you named.
How do I compress an image to a specific KB size?
Type the limit — 200 KB, 100 KB, 50 KB — and the tool binary-searches JPEG quality between 0.05 and 0.95 to find the highest quality that still fits. If even the lowest quality is too big, it scales the image down in steps and searches again.
Is the image uploaded anywhere?
No. It is decoded and re-encoded on a canvas inside your own browser. Passport photos and ID scans never leave the machine.
Does it remove EXIF data?
Yes, as a side effect of re-encoding through a canvas. GPS coordinates and camera details in the original are not carried into the output, which matters if you are about to post the picture publicly.
Which formats can it write?
JPEG, WebP and PNG. JPEG is smallest for photographs, WebP is smaller still in modern browsers, and PNG is lossless so only its resolution can be reduced.
What if it cannot reach my target?
It says so, and shows the smallest it managed and at what dimensions, rather than silently handing back something over the limit.
Part of nine free KaiOrb instruments — all in-browser, none of them upload your files.