How to Compress an Image to 20KB, 50KB, or 100KB
Somewhere between filling out a job application, uploading a passport photo, or registering for an exam, almost everyone eventually hits the same wall: “Photo must be less than 50 KB.” Your phone shot a 4 MB image. Now what?
This guide shows how to hit an exact file-size target — 20 KB, 50 KB, 100 KB, 200 KB, whatever the form demands — while keeping the photo as sharp as the limit allows, and without uploading it to a stranger's server.
The fastest way (30 seconds)
- Open the FreeCompressor image tool.
- Drag in your photo (or click Browse / paste it).
- Under “Compress to target size”, tap your limit —
20 KB,50 KB,100 KB,200 KB,500 KBor1 MB. - The tool automatically finds the highest quality — and the best format — that fits under that size. Drag the divider to check it, then hit Download.
Because it runs entirely in your browser, your photo is never uploaded. That matters when the “photo” is your passport, PAN card, or signature.
Why an exact KB limit is hard by hand
File size doesn't map cleanly to any single setting. It depends on the image's dimensions, its content (a busy photo compresses worse than a flat headshot), the format, and the quality level — all at once. Guessing “quality 60” and re-exporting until you land under 50 KB is slow and frustrating.
The reliable approach is a search: try a quality, measure the result, adjust, repeat — narrowing in until you find the largest file that still fits. That's exactly what target-size mode automates, running a binary search over the quality range in a fraction of a second.
How to keep quality high at tiny sizes
A 20 KB budget is brutal for a detailed photo. These three levers buy you the most quality per kilobyte:
- Crop and resize first. A form photo displayed at 200×200 doesn't need to be 3000×3000. Fewer pixels means each one can keep more quality inside the same byte budget.
- Let the format be chosen for you. For a plain headshot, a JPG at moderate quality often looks better at 20 KB than a PNG. Target mode picks the smaller-at-quality format automatically — lossless PNG when it fits, otherwise the best lossy option.
- Check the preview, not just the number. The before/after slider tells you whether 20 KB actually looks acceptable for your photo, or whether you should crop tighter.
Common size limits you'll run into
| Where | Typical limit |
|---|---|
| Exam / recruitment portal photo | 20–200 KB |
| Exam / recruitment signature | 10–50 KB |
| Government ID upload | 50–300 KB |
| Website avatar / profile picture | ~100–500 KB |
| Email-friendly photo | Under 1 MB |
Always follow the exact spec on the form you're filling — limits vary by organization and change over time.
What about signatures and scanned documents?
Signatures are usually black-on-white line art, which compresses extremely well — a 10–20 KB target is easy to hit. Crop tightly to the signature, choose a small target, and the tool will usually keep it crisp. The same trick works for scanned forms saved as images.
Do it now, privately
You don't need a desktop app or an account. The image compressor hits any KB target in your browser, for free and unlimited — and the file never leaves your device. For the theory behind keeping quality while shrinking, see how to compress images without losing quality.