Compress Image to an Exact File Size

Choose a target size — the tool automatically finds the best quality that fits under it.

🎯

Click to upload or drag and drop

JPG or PNG — one or more files

Optimizing…

🔒 Your images are processed entirely on your device and never leave your browser.

✅ Done!

How it works

1

Upload your photo (e.g. a passport or ID picture).

2

Pick a target size like 100KB, or enter a custom value.

3

The tool binary-searches quality to land right under the target.

4

Download — ready to upload to any form.

FAQ

Why do forms require an exact KB size?

Government portals, visa applications and job boards often set strict upload limits (e.g. "under 100KB") to keep their systems light. This tool automates the trial-and-error of hitting that limit.

What if the target is smaller than the image allows?

The tool will also shrink the image dimensions slightly as a last resort so the file still fits your target size.