Optimize

Compress Images to an Exact Target Size

Need a photo under 500 KB, 200 KB, or 100 KB? Our binary search algorithm hits your exact constraint.

Private by designRuns locally in browserNo signup needed

No images selected. Files stay on your device.

Your images never leave your computer.

Image Well Done executes all image algorithms inside your browser memory. We never transmit your image bytes, metadata, or filenames to a remote server.

How to use Compress to Target Size

  1. 1Upload the image that exceeds your upload size quota.
  2. 2Enter your required target size in KB (e.g., 500 for 500 KB) or use the quick preset buttons.
  3. 3Choose between JPG (standard) or WebP (transparency compatible).
  4. 4Click "Process images" — the engine iteratively searches for the best quality matching your target.

Deterministic Search Algorithm

Runs an intelligent binary search to find the highest possible visual quality that stays under your byte budget.

Adaptive Resolution Scaling

If quality reduction alone cannot reach an extreme target size, the engine automatically steps down dimensions to ensure compliance.

Dimension Change Reporting

Clearly reports whether resolution was modified (e.g. 4032×3024 → 2709×2032) alongside final size.

Frequently Asked Questions

What if my target size is very small (e.g., under 50 KB)?

The engine will first search for the lowest acceptable quality. If that still exceeds the limit, it proportionally scales down image resolution until the file size requirement is satisfied.

Is this suitable for government, visa, or job application portals?

Yes! Many portals strictly enforce maximum file sizes like "under 200 KB" or "under 500 KB". This tool guarantees your image stays within those limits.