X
🎯

Compress Image to Exact Size

Shrink a photo to a target like 20KB, 50KB, 100KB or 200KB for online forms and exams β€” accurate, private, and in your browser.

πŸ–ΌοΈ

Drop an image here, or click to choose

JPG, PNG or WebP Β· 100% private

compressed preview
β€”
β€”
πŸ”’ 100% Private: your image is compressed in your browser and never uploaded.
Advertisement

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

  1. Upload your photo or signature (JPG, PNG or WebP).
  2. Type the size you need in KB, or tap a preset like 50KB.
  3. Optionally set a maximum width/height if the form also limits dimensions.
  4. 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.

❓

FAQ

How do I compress an image to an exact size like 50KB?

Upload your photo, type your target in KB (for example 50), and the tool automatically lowers the JPEG quality β€” and shrinks the dimensions if needed β€” until the file fits at or just under your target. Then download the result.

Why do forms ask for a specific KB size?

Government, exam and job application portals limit upload size to save storage and bandwidth. Common limits are 20KB or 50KB for a signature and 50KB to 200KB for a photo. This tool hits those exact limits so your upload is accepted.

Is my photo uploaded anywhere?

No. Compression happens entirely in your browser using a canvas, so your image never leaves your device. It's completely private and free with no signup.

What if my target size is very small?

For very small targets the tool first reduces quality, then automatically scales down the image dimensions to reach the size. Extremely small targets on a large photo may slightly soften detail, which is normal when forcing a tiny file.

What formats can I compress?

You can upload JPG, PNG or WebP images. The compressed output is a JPG, which gives the smallest reliable file size for hitting a KB target.

Does it keep the same dimensions?

It keeps your original dimensions when possible and only scales down if the target can't be reached by quality alone. You can also set a maximum width or height yourself before compressing.

✨

More tools