Compress image to KB (20 / 50 / 100 / 200)
🔒 This tool runs entirely in your browser. Your files are not uploaded to any server.
Choose photos → pick a KB target → compress
Shrink JPG / PNG / WebP to a file-size cap in your browser. Output is JPG. Batch-friendly. Nothing is uploaded.
Quick caps:
Fill only width or only height to keep aspect ratio. Leave both blank to keep original pixels (the tool may shrink pixels if the KB cap still cannot be met).
Paste a requirement text to auto-fill pixels / KB
Choose an image
This page only changes pixels and file size. It does not recolor backgrounds or check pose/composition.
What this does
Many forms reject photos that are “too large” — often a hard cap like 20KB, 50KB, 100KB, or 200KB. This page uses the same local compressor as our Chinese tool: it re-encodes to JPG and binary-searches JPEG quality (and, if needed, gently reduces pixels) until the file is under your Max KB. We count 1 KB = 1000 bytes (same as most upload counters).
How to use
- Choose one or more photos (JPG, PNG, or WebP).
- Tap a quick cap (20 / 50 / 100 / 200 KB) or set Min / Max KB yourself. Optional: set exact width × height.
- Tap Compress now, then download each result (or a ZIP for batches).
Related Chinese tools (same engines): exact pixels · image tools · PDF compress.
FAQ
Is my photo uploaded?
No. Compression runs in your browser with JavaScript. Files never leave your device.
Why 1 KB = 1000 bytes?
Many upload forms and OS “KB” displays use 1000-byte kilobytes. This tool matches that so the on-page check lines up with the form.
Can it force a photo under 20KB every time?
It tries highest quality under your Max KB. Extremely detailed images at high resolution may still exceed a tiny cap even at lowest quality — then lower the pixel size or raise the cap.
Does this change the background color?
No. Use a dedicated ID-photo tool if you need a white or blue background. This page only resizes and recompresses.