Compress any image to an exact KB size
Online forms are strict. Exam boards, government portals, passport and visa sites, job applications and banks often demand a photo or signature under a precise size β 20KB, 50KB, 100KB or 200KB β and reject anything larger. This free tool solves that exact problem: tell it the size you need, and it compresses your image down to fit at or just under your target, ready to upload.
It works by lowering the JPEG quality step by step, and if that isn't enough it automatically scales the dimensions down too, so even a big phone photo can hit a tiny target. Everything happens in your browser β your image is never uploaded β so it's private, instant and completely free.
How to use it
- Upload your photo or signature (JPG, PNG or WebP).
- Type the size you need in KB, or tap a preset like 50KB.
- Optionally set a maximum width/height if the form also limits dimensions.
- Click Compress to size, check the result, and Download.
Why forms ask for an exact size
Upload limits exist to control storage and keep pages fast, especially on large government and exam systems handling millions of applicants. That's why you'll see rules like "photograph between 20KB and 50KB" or "signature must not exceed 20KB". Resizing by guesswork is frustrating; this tool removes the trial and error by targeting the exact number you enter.
How the compression works
The tool draws your image onto a canvas and performs a smart search on JPEG quality, testing values until it finds the highest quality that still fits your target size. If the smallest quality is still too large β common when a huge photo must become a few kilobytes β it reduces the pixel dimensions and tries again. The result is the best-looking image possible at your chosen size, produced as a JPG because that format reaches small targets most reliably.
Tips for the best result
If your target is very small, expect some softening β that's unavoidable when forcing a large photo into a few KB. For ID photos, crop tightly to your face first so the file isn't wasted on background. If a form limits both size and dimensions, set the max width/height too. And always keep your original file; compress a copy so you don't lose the high-quality version.
Common upload size limits
Different portals ask for different sizes, but the patterns repeat. Online exam and recruitment forms often want a photo of 20β50KB and a signature of 10β20KB. Passport, visa and ID applications usually allow a photo up to 100β200KB. University admissions and scholarship portals frequently cap documents at 100KB or 200KB. Banking and KYC uploads vary but commonly sit around 50β200KB per image. Whatever the exact number on your form, type it in and compress to match β no more "file too large" errors.
Free, private and unlimited
There's no signup, no watermark and no limit on how many images you compress. Because the work is done locally in your browser, your photos and documents stay completely private β nothing is sent to a server. Use it on any phone or computer with a modern browser.