Free Image Compressor β Any KB Target, No Upload
Compress a photo to 20KB, 50KB, 100KB or any size you type β in your browser, no upload, private, no watermark.
What This Compressor Does Differently
Built for size-capped uploads
1. Choose a target size
Tap the limit your form asks for. The tool keeps the best quality that fits under it.
2. Or pick where you are uploading
Each page opens the same tool with that siteβs format and size already set.
This tool runs entirely in your browser and does not upload or store any images. It is provided as-is, without warranties. Always keep original copies of important documents.
How to compress an image to 20KB or under (step-by-step)
- Upload your image β drag and drop or click the upload zone. Supports JPG, PNG, WebP, AVIF, HEIC.
- Switch to Target KB Mode β click the "Target KB Mode" button in the tool.
- Set 20KB as your target β click the "20 KB" preset button or type 20 in the custom field.
- Click Compress β the tool binary-searches for maximum quality safely under your target, entirely in your browser.
- Download your file β click "Save" next to your compressed image. No upload, no watermark, no signup required.
Best uses for 20KB images
- US visa and DV Lottery photos β the published specification is a JPEG between 600Γ600 and 1200Γ1200 pixels and under 240KB, which is why so many people land here looking for a kilobyte target rather than a percentage.
- Exam and application forms that print a KB limit β many registration portals state a range in their own instructions, for example "photograph: JPEG, 10β200KB". Type that ceiling into Target KB Mode instead of guessing.
- Job applications and HR portals β Workday, Greenhouse, Indeed and LinkedIn profile photos all accept a normal headshot; the ceiling is set by the employer or by the platform's own resize, so aim for a few hundred KB and stop there.
- Storefront listings β Shopify, Etsy, eBay and Amazon publish pixel and background rules, not a maximum file size in KB. Smaller files are a speed decision you make, not a rule you satisfy.
- Email and messaging β the photo you attach is only part of the message; a heavy inline image pushes the whole thing toward the size many providers refuse to deliver.
We only quote a number here when an official source publishes one. Where a portal does not, we say so instead of inventing a limit β and the exact figures on each dedicated page come with the link we checked them against.
Why a kilobyte target instead of a quality slider
A quality percentage is the wrong unit for a form field that asks for kilobytes. The same "80%" can leave one photo at 40KB and another at 900KB, because output size depends on pixel dimensions and detail, not on the number you typed.
- What the tool actually does β it runs a binary search over encoding quality in your browser, between roughly 5% and 95%, narrowing until the encoded file fits under your target.
- The result is at or under, never over β a file that is already smaller than your target comes back unchanged, so the output never exceeds the ceiling you typed.
- It stops trying after a dozen passes β if a very large, very detailed photo cannot reach an aggressive target at usable quality, resize the pixels first, then set the target.
- Nothing is uploaded β encoding happens on your device, which is the point for passport, visa and ID photos.
Tips for Getting the Best Compression Results
Frequently Asked Questions
How do I compress an image to 20KB or under? +
Upload your image, switch to Target KB Mode, type 20, and click Compress. The tool runs a binary search in your browser to find the highest quality that still fits under 20KB β nothing is uploaded to any server.
Is this tool really no-upload? +
Yes. All compression runs locally in your browser using its built-in image decoding and encoding APIs. Your files never leave your device β unlike TinyPNG, 11zon, and Cloudinary, which upload files to their servers.
What image formats are supported? +
JPEG, PNG, WebP, AVIF, and HEIC (iPhone photos) are all supported. Output can be WebP, AVIF, JPEG, or PNG. HEIC files are automatically converted in your browser before compression.
Can I compress multiple images at once? +
Yes β add up to 50 images in one batch. The tool works through them one after another in your browser, then you download each file individually or grab the whole set as a ZIP. It is free and needs no signup.
Will quality be OK after compression? +
Target KB Mode searches encoding quality and returns the highest setting that still fits under your number, so you get the best file that satisfies the limit rather than a fixed percentage. Any lossy compression discards some data, and a tight target on a detailed photo will look softer β check the before/after preview before using the file somewhere important. WebP and AVIF generally hold up better than JPEG at the same file size.
What is Target KB Mode? +
Target KB Mode takes a file-size ceiling instead of a percentage β 20KB, 50KB, 100KB, or any value from 5KB up to 5000KB. The tool searches encoding quality and returns the best result that fits under the number you typed.
Is this tool completely free? +
Yes β no account, no watermark, no daily quota and no file is ever uploaded, so there is nothing to meter. The practical limits are the ones built into the tool: 50 files per batch and a target between 5KB and 5000KB.
Popular Size Presets
Pick a kilobyte ceiling and the tool searches for the best quality that stays under it
Compress for Specific Platforms
Each page separates what the platform publishes from what we recommend