中文
Processed 100% locally · 0 B uploaded Exact KB Target

Compress Image to Exact KB

Shrink JPG, PNG, or WebP images under 100KB, 200KB, 500KB, 1MB, or any custom KB target.

Drop images to compress to an exact KB size

Supports JPG, PNG, WebP · Binary-search quality tuning right in your browser

KB

How It Works

  1. 1 Upload one or multiple images (JPG, PNG, or WebP).
  2. 2 Pick a preset target size (100KB, 200KB, 500KB, 1MB) or enter any custom KB limit.
  3. 3 LocalKit binary-searches the optimal quality (and gently downscales only if required) to stay under your exact KB cap.

Privacy Guarantee

Ideal for passport photos, visa scans, and ID documents. Everything is compressed strictly on your own device with zero network transfer.

Common Use Cases & Format Notes

  • Meet strict 100KB or 200KB upload limits on visa, exam, passport, and job application portals.
  • Shrink product photos under 500KB for e-commerce listings without ruining visual clarity.
  • Batch compress multiple images to a consistent file budget and export as a ZIP.

Outputs JPEG (best for forms) or WebP (best compression ratio). Uses iterative binary search over encoder quality plus progressive dimension scaling fallback when a target is very tight.

Frequently Asked Questions

How does it hit an exact KB target like 100KB or 200KB? +

Instead of guessing a fixed quality percentage, LocalKit runs a fast binary search across quality levels to find the highest possible visual quality that still fits under your KB limit. If even low quality exceeds the cap, it progressively scales down dimensions until the target is met.

Is it safe to compress my passport or ID card photo here? +

Yes. Your image never leaves your browser. You can turn off Wi-Fi before dropping your ID photo to be 100% certain.

Why is the final file slightly smaller than my target KB? +

The algorithm guarantees the output is at or below your target ceiling while maximizing visual quality, so a 200KB target typically lands around 185–199KB.

Can I compress PNG images to under 200KB? +

Yes. Upload any PNG and LocalKit will convert and compress it into an optimized JPG or WebP under your chosen KB threshold.

Related Local Tools

Independent & Privacy-First

Saved you time? Support LocalKit

LocalKit is free, fast, and built with zero tracking or file uploads. If it helped you today, consider buying the creator a coffee.