Exact 20 KB target

Compress Image to 20KB Online — Free and Private

Set the target to 20 KB and the compressor searches for the highest quality that still fits. No account, no watermark, and your photo never leaves your device.

  • 20 KB target
  • JPG · PNG · WebP
  • Runs offline
  • No upload
KB

Drop images here or browse files

JPEG · PNG · WebP · GIF · SVG — up to 50MB each, unlimited files

Why so many forms ask for 20KB

Twenty kilobytes is the tightest limit you will meet on a government or recruitment portal. It shows up on signature fields, on scanned thumb impressions, and on photo boxes that were designed for a database built a decade ago. The portal does not care how good your camera is — it simply rejects the upload until the file is small enough.

That is the whole problem this page solves. Instead of dragging a quality slider and guessing, you type 20 into the target box and let the tool do a binary search over JPEG quality levels. It tests, compares and narrows down until it finds the best-looking file that still lands under 20KB.

What 20KB realistically looks like

A 20KB file is small, so the honest answer is that pixel dimensions matter as much as compression. A tightly cropped passport photo or a signature on white paper compresses beautifully and keeps plenty of detail at 20KB. A full 12-megapixel landscape will not — there is simply not enough room in twenty kilobytes to describe that many pixels.

When quality alone cannot reach the target, the engine quietly reduces dimensions until the file fits, then tells you it delivered the closest possible result. If you need maximum sharpness, crop first: fewer pixels means more of your 20KB budget goes towards detail instead of canvas.

  • Signatures and thumb impressions: usually excellent at 20KB
  • Cropped passport-style photos: good to excellent
  • Full-resolution phone photos: expect a downscale
  • Text-heavy documents: JPEG artefacts can soften small print

Keep the format the portal expects

Most 20KB upload boxes accept only .jpg or .jpeg. If your source file is a PNG screenshot, switch the output format to JPEG — white backgrounds compress dramatically and the portal will accept the result. The one case to avoid is a logo or signature with a transparent background: JPEG has no transparency, so the empty area turns white. If the form insists on PNG, keep PNG and expect a slightly softer result, because PNG is lossless and cannot shrink as aggressively.

How to use this compressor

  1. 01

    Drop your file in

    Drag the photo or signature into the box, or click to browse. Up to 50MB per file, and you can queue as many as you like.

  2. 02

    Confirm the 20 KB target

    Target Size is already switched on and pre-filled with 20. Change it to 50 or 100 later if a different form asks for more room.

  3. 03

    Compress and download

    Press Compress All, check the before/after slider, then save the file — or grab the whole batch as a ZIP.

Frequently asked questions

Drop the photo into the compressor above, make sure Target Size is set to 20, and press Compress All. The tool automatically tests quality levels and returns the best version that fits under 20KB. It is free, needs no account, and the file is processed on your device rather than uploaded to a server.

For signatures, thumb impressions and cropped passport photos, yes — 20KB is plenty. For large uncropped camera photos the tool has to reduce dimensions to hit the target, so fine detail will soften. Cropping to the area that matters before compressing is the single biggest improvement you can make.

No. Your original file is never modified. The compressor creates a brand-new, smaller copy in your browser memory and you download that. Close the tab and nothing is left behind anywhere.

Yes. Set the output format to JPEG, then compress. Signatures on white paper are mostly flat colour, which is exactly what JPEG handles best — you can usually keep the full resolution and still land under 20KB. If the form demands PNG, choose PNG instead and accept a slightly softer result.

No. Every step — decoding, resizing, quality search and encoding — runs inside your browser using the Canvas API. Nothing is sent over the network, which is why the tool is safe for ID cards, signatures and other documents you would not hand to a stranger.

It will not be, but the trade-off may be visible: when quality alone cannot reach 20KB the tool shrinks pixel dimensions until the file fits. If the result looks too soft, crop the image first, or use the built-in resize controls to set a sensible width such as 600 pixels before compressing again.

Last updated: · Written and maintained by the KB Image Compressor team.

Ready to try it? The compressor is right at the top of this page.

Compress my image — free