Compress image to 20 KB

Drop in a JPG or PNG and get it back at 20 KB or less — the exact size most exam and government upload forms allow. Quality is tuned automatically, and the photo is only shrunk in pixels if the target cannot be met any other way. Everything happens in your browser: nothing is uploaded, nothing is stored.

Drop your photo here

JPG, PNG or WebP — up to any size

Target file size
Output format

Processed on your device — no upload, no account, no watermark.

Result

Choose an image and the compressed 20 KB version appears here with its exact final size.

How to compress an image to 20 KB

  1. 1. Upload the JPG or PNG you need to shrink.
  2. 2. Leave the target at 20 KB, or tap 50, 100 or 200 KB if your form allows more.
  3. 3. If the photo is a full-size camera shot, set a max width of 600–800 px first.
  4. 4. Check the compressed size shown next to the original, then download the JPG.

The tool binary-searches JPEG quality between 5% and 92% to find the largest quality that still fits your limit, so you never lose more detail than the target actually requires.

What size should the photo be?

Typical upload limits for exam and government forms
UploadTypical limitGood width
Signature scan10–20 KB300 px
Passport photo (exam form)20–50 KB413 px
Photo ID / Aadhaar copy50–100 KB800 px
Certificate or marksheet100–200 KB1200 px
Web page image100–200 KB1600 px

Why JPG, not PNG

PNG is lossless, so a photographic PNG almost never gets under 20 KB without becoming unusable. JPG throws away detail the eye barely notices and reaches small sizes cleanly, which is why nearly every application portal asks for it. WebP is smaller still at the same quality, but many government portals reject it — keep JPG unless you are uploading to a website.

Keeping the photo sharp at 20 KB

File size grows with pixel count, so cropping tightly to the face and setting a max width of 413–600 px does far more good than lowering quality. A 600 px portrait at 60% quality typically lands at 18–25 KB and still looks clean; the same photo at 3,000 px would need single-digit quality to fit and would look blocky.

Related tools

Frequently asked questions

Upload the photo above and the tool automatically lowers JPEG quality — and, if needed, the pixel dimensions — until the file lands at or under 20 KB. You see the exact final size before downloading, so there is no guesswork.