Compress PNG to 20KB
Selected
Original
Compressed
Add images to see compression results
Target size (KB)
A built-in 5% safety margin is applied (e.g. a 50KB target compresses to ≈47KB), so uploads are never rejected for being just over the limit.
Quality 5–100:
Could not reach target size
Lower the quality further or resize the image, then try again.
Transparent image — kept as PNG
Compress PNG to 20KB while keeping transparency
Exam registration systems often cap photo uploads at a strict 20KB, and e-signatures at just a few KB. Staying recognizable at such extreme sizes requires a precise balance between resolution and compression. This tool binary-searches that balance automatically, squeezing photos under 20KB — processed locally, no upload, unlimited.
Common scenarios with a 20KB limit
| Scenario | Typical limit | Required format |
|---|---|---|
| Exam registration photos | Photo 20KB | JPG |
| E-signature images | 2–10KB | PNG/JPG |
| Tiny icons for online forms | Under 20KB | PNG |
| Web page load optimization | 20–50KB | WebP/JPG |
How to Compress an Image to a Specific Size
Upload your image
Drag & drop an image or click to select. You can upload several images at once.
Set the target size
Pick a preset (20 KB to 1 MB) or type an exact size in KB. The tool auto-adjusts quality and resolution to hit it.
Compress
Click Compress. Everything runs locally in your browser — your files never leave your device.
Download
Download the compressed images one by one, or grab everything as a ZIP.
Why choose this tool
Extreme compression engine
Automatically balances quality and resolution so even a large photo squeezed to 20KB keeps recognizable contours instead of turning into a blur.
All formats supported
JPG, PNG, WebP, AVIF, BMP, GIF and iPhone HEIC all compress; output as JPG, PNG or WebP.
Batch + ZIP
Exam season often means hundreds of photos at once. Batch process them all and download as a single ZIP.
100% local
Images with personal details (names, ID photos) never leave your device — ideal for sensitive use cases.
Frequently asked questions
Is 20KB really enough for a PNG?
It depends on the purpose. Exam systems usually only need facial comparison or manual review, where a 20KB JPG suffices; for stricter recognition, choose a larger target (50/100KB).
Will the PNG be blurry at 20KB?
PNG at 20KB keeps hard edges and text crisp because the format excels at flat-color areas. Photos with lots of noise or gradients lose more; the tool scales down first so faces stay recognizable.
What happens to transparent areas at 20KB?
Transparency is preserved if you keep PNG/WebP output. At such a small budget the tool may trim unused transparent padding automatically — crop your image first for the best result.
Can it compress iPhone HEIC photos?
Yes. HEIC/HEIF photos from an iPhone upload and compress directly, no format conversion needed — useful when your only source is an iPhone camera roll.
Can I use the output as a favicon?
Yes — 20KB PNG is ideal for favicons and thumbnails. For maximum compatibility, combine it with our image-to-ico tool to generate multi-size ICO files.
Ready to beat the 20KB limit?
Upload your photo, pick 20KB, and get a compliant file in seconds. Fully local, free, unlimited.