Compress Image to Exact Size (KB)

Processed in your browser — your files never leave this device.

Processed on your device — never uploaded · up to 20 at once

Drop images here — or browse

Up to 20 files · 50 MB · your files stay on this device

Some upload forms do not ask you to compress an image — they refuse it until it is under an exact size. Indian government portals are the strictest: an application photo often has to fit 20 to 50 KB and a signature 10 to 20 KB, and the form simply rejects anything larger without explaining why. This tool aims at the number instead of at a vague setting: enter the limit in kilobytes and it searches for the highest quality that fits, shrinking the image only when quality alone cannot get there. Everything happens in your browser, so the document you are uploading never passes through anyone else's server.

How to use it

  1. Add your image — JPG, PNG or WebP, up to 20 at once.
  2. Enter the limit the form demands, in KB. 20 for a typical exam photo, 10 to 20 for a signature.
  3. Download the result. The note tells you the size achieved, and says so plainly if the target was not reachable.

Examples

  • A 4 MB phone photo brought under 20 KB for an exam application.
  • A scanned signature reduced to 10 KB without becoming unreadable.

Frequently asked questions

How do I compress a photo to 20 KB for a government form?
Enter 20 as the target and add the photo. The tool tries the highest JPEG quality that fits, and when 20 KB is impossible at full resolution — which it usually is for a phone photo — it reduces the dimensions and tries again. Most application forms also specify pixel dimensions, so check those in the instructions; a photo that meets the file size but not the dimensions will still be rejected.
What if the target size cannot be reached?
You are told, with the closest size achieved. Below a certain point an image has to lose so much detail that it stops being usable, and returning a 60 KB file to someone who asked for 20 KB would only waste the next attempt at the form. If it falls short, try cropping tighter first — removing background is far more effective than compressing harder.
Why does the output come out as JPG?
Because JPEG is what size-limited forms accept, and it is the only common format that reaches very small sizes while still looking like a photograph. PNG stores images losslessly and cannot approach 20 KB for a portrait without severe damage. If your image has transparency, note that JPEG has none and the transparent areas become white.
Will the photo still be accepted if it looks slightly soft?
Usually yes — these forms check file size and dimensions, not sharpness. That said, most also require the face to be clearly visible, so if compression has blurred features badly, crop closer and try again at the same target rather than accepting the softer version.
Are my images uploaded anywhere?
No. The compression runs inside your browser using its own image engine, so the file never leaves your device. That matters here more than on most tools, because the images people shrink for forms are usually identity photographs and signatures.