Compress Image 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 images to 20KB or less (tiny files)
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?
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). For avatars and thumbnails, 20KB is plenty.
Will the photo be blurry at 20KB?
It searches the best compression quality at full resolution first and reduces resolution only when the target cannot be reached otherwise, rather than blindly dropping quality. At 20KB the file simply carries fewer pixels, so the smallest targets suit avatars, thumbnails and scans rather than large prints.
What resolution works best for 20KB?
Aim for a source around 300-800px on the long side before uploading. Anything much larger gets downscaled aggressively, and anything tiny may fail to reach useful detail. The tool finds the best balance automatically.
Does it support HEIC?
Yes. HEIC/HEIF photos from an iPhone upload and compress directly, no format conversion needed.
Can I compare the result before downloading?
Yes. After compression you can preview each file with its exact size, and re-run with a different target if 20KB looks too aggressive for a particular image.
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.