Skip to content

Compress image to 20 KB

Drop a photo, get it back under 20 KB — the quality is tuned automatically until it fits, on your own device.

PNG, JPG, WebP, AVIF, HEIC, GIF, BMP, SVG · or drop files anywhere in this box

Advanced settings (optional)
Image options
Output format

Keep the same format, or switch to WebP/AVIF for bigger savings.

Image quality
80

Lower values give smaller files but lower quality. 80 is a good balance for photos; 90+ for graphics with text.

Max file size
or

JPG/WebP/AVIF quality is lowered just enough to stay under 20 KB (never below 20). PNG cannot be targeted — switch format.

Transparency

Transparent areas stay transparent (JPG output is always filled with white).

Runs in your browser. Files are never uploaded — you can go offline after the page loads.

How to use the Compress Image to 20KB

  1. Drop one photo or a whole batch — JPG, PNG, WebP, HEIC all work.
  2. Press Compress: the quality is lowered automatically, step by step, until each file is under 20 KB.
  3. Download each file, or all of them as a ZIP.

Easy to use

Drop files, pick options, download. Whole folders at once, no signup, no daily limit.

Best quality

The same engines the professionals use — SVGO, resvg, MozJPEG, libwebp, libavif — compiled to run in your browser.

Private & secure

Files are processed on your device and never uploaded. Close the tab and nothing remains anywhere.

Exactly under 20 KB, automatically

Upload portals do not negotiate: if the field says 20 KB, a file at 21 KB is rejected. Instead of guessing quality settings, this page runs a binary search — it re-encodes your photo as a JPG, checks the size, adjusts the quality and repeats until the file lands just under 20 KB at the best quality that fits. If a photo genuinely cannot fit (very large dimensions), it says so plainly and the resize control is right there on the page.

Everything happens in your browser — the photos, signatures and documents people compress for application forms are exactly the files that should never be uploaded to a random server. Need a different target? Every size from 10 KB to 200 KB has its own page, and the full compressor lets you type any number.

Frequently asked questions

How do I compress an image to exactly 20 KB?

Drop the photo above and press Compress — the tool re-encodes it, automatically lowering the JPEG quality step by step until the file is under 20 KB. If a photo cannot reach 20 KB even at the lowest quality, it tells you to reduce the dimensions, which you can do on the same page.

What size photo do exam forms need?

Most Indian exam portals (SSC, UPSC, IBPS, state PSCs) ask for a passport photo of 20–50 KB and a signature of 10–20 KB, as JPG/JPEG. This page outputs exactly that: JPG under your target.

Is my photo uploaded to a server?

No. The compression runs entirely in your browser — documents and photos for applications never leave your device, which matters for ID photos and signatures.

Your files never leave your device

Most online converters upload your file to a server. InfyTool ships the actual encoders to your browser as WebAssembly instead, so processing happens inside your tab — faster for batches, and nothing to delete afterwards.

  • No upload, ever. Turn off Wi-Fi after the page loads and every tool keeps working.
  • No limits. No file-size cap, no queue, no watermark, no account.
  • Runs on your CPU. Batches use several cores in parallel; nothing is throttled.

More free tools

Need graphics to work with?

InfyTool is built by the same team as these free libraries.