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
Strict upload caps can be as low as 20KB, which leaves very little room to work with. Staying recognizable at that size means balancing resolution against compression precisely. This tool binary-searches that balance automatically and brings the image under 20KB — processed locally in your browser, no upload, no limit on how many you convert.
Common scenarios with a 20KB limit
| Scenario | Typical limit | Typical format |
|---|---|---|
| Online forms with a 20KB cap | Under 20KB | JPG |
| Form thumbnails | Under 20KB | PNG/JPG |
| Tiny icons for online forms | Under 20KB | PNG |
| Web page load optimization | 20–50KB | WebP/JPG |
Photo rules for documents are set by the issuing authority, not by this tool, and they often specify a range rather than a single maximum — some online services also reject files that are too small. Always confirm the current requirements, including any lower size limit, on the official website that handles your application.
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-colour areas. Photos with lots of noise or gradients lose more. The tool reduces resolution as needed, so this target suits documents, icons and thumbnails better than large photos.
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.
Guides
Longer write-ups on the things these tools deal with: file formats, size limits, and the algorithms behind them.