Compress Image to an Exact KB Size

Hit a hard KB upload limit — 20, 50, 100 or 200 KB — without losing more quality than you must.

  • No upload
  • Browser-based
  • Free
  • No signup

🔒 100% client-side. Every image is re-encoded locally in a canvas — nothing is uploaded.

Images are processed in your browser and never uploaded.

How to use Compress Image to KB

  1. Drag your photo onto the box, or click to choose one (you can add several).
  2. Pick a target size — tap 20, 50, 100, 200 KB, or type a custom KB value.
  3. Click "Compress" and wait a moment while it runs in your browser.
  4. Check the result size shown, then click Download to save the JPG.

Common use cases

  • Government & exam forms.
  • Faster uploads on slow connections.
  • Email and chat size caps.

Tips

  • If the target is very small, crop the photo to just the needed area first — less detail compresses smaller.
  • For passport-style photos, 100 KB usually keeps the face sharp; go lower only if the form demands it.
  • The dimensions shown next to each result tell you if it had to downscale to fit.

Troubleshooting

Frequently asked questions

Does this upload my image anywhere?
No. The image is re-encoded locally in your browser using a canvas. Nothing is sent to any server.
How does it hit an exact KB size?
It repeatedly re-encodes the image as JPEG, lowering quality and, if needed, downscaling the dimensions, until the file is at or just under your target size — keeping the best quality that still fits.
Why is the output always JPG?
Government and exam portals that enforce KB limits accept JPG, and JPG lets us tune file size precisely. PNG can't be size-targeted the same way.
It couldn't reach my target — why?
If you ask for a very small size (e.g. 20 KB) on a large, detailed photo, even the smallest setting may exceed it. The tool then gives you the smallest possible version and tells you.