Compress image to target KB

Enter a target in KB — 20, 50, 100 or 200 — and the tool adjusts quality and dimensions until the image fits. Everything happens in your browser, so the file never leaves your device.

Free foreverRuns in your browser100% local

Quick answer

Compress image to target KB — Compress JPG, PNG or WebP to a chosen file size in KB with binary-search quality and an optional width limit. This tool runs entirely in your browser. Your tool inputs never reach our servers. Max file size: 30 MB · Max files: 1 · Batch: No. Everything still runs locally in your browser.

When to use it

Visa application portal

Many government forms reject photos above a fixed KB limit. Hit the exact cap instead of guessing a quality slider.

Job or school form

Recruitment and admission portals often require a portrait under 100 KB. Use the preset and re-check the uploaded result.

Marketplace gallery

Keep a whole gallery under a per-image cap without manually re-encoding every photo.

Limits & accuracy

The tool searches for the best quality that still fits; very low targets can make text and fine edges look soft. If the source is already below the target, it is left close to its original quality rather than degraded for no reason.

Last reviewed: 2026-11-19

Frequently asked questions

Is this tool really free?

Yes. Compress image to target KB is free to use, with no account, no usage limits and no hidden fees.

Is my data uploaded anywhere?

No. Compress image to target KB runs entirely in your browser — text and files stay on your device.

Does it work offline?

Once the page has loaded, yes. The tool keeps working without a connection and sends nothing to a server.

What are the limits of Compress image to target KB?

Max file size: 30 MB · Max files: 1 · Batch: No. Everything still runs locally in your browser.