Compress images to exact file sizes (e.g., 50KB or 100KB) with our smart iterative compression algorithm. 100% private, no uploads.
Enter a target size in KB — 20, 50, 100, 200, or any number you need — and the compressor runs an iterative search to land as close as possible to it, without you having to guess a quality percentage. Works with JPG, PNG, and WebP.
Everything runs locally using your browser's own Canvas API, so your photo is never uploaded anywhere during compression.
Will compressing reduce my photo's quality?
Some quality loss is unavoidable when hitting a much smaller file size, but the iterative search finds the highest quality setting that still meets your target, rather than over-compressing.
Can I compress a PNG or WebP file, not just JPG?
Yes — choose your output format under Format. Note that PNG is lossless, so its file size responds to dimension changes more than to a quality slider; for very small KB targets, JPG or WebP will usually compress further.
How is this different from the exam-specific photo tools?
This page is for custom targets and everyday photos with no fixed dimension requirement. For an exact official exam or passport spec, use one of the dedicated exam pages instead — they lock in the correct pixel dimensions automatically.
Image Resizer Image Compressor Batch Tool Exam Photo Resizer