Compress Image to a Specific Size

Tell this tool the exact size your form demands — 50 KB, 100 KB, 200 KB — and it compresses your photo to fit under that limit. Your image is processed on your device and never uploaded.

1Choose your photo
2Set the target size in KB
3Download the right-sized image

The tool first lowers the quality as far as needed; only if that is not enough does it shrink the dimensions, step by step. If a target is simply impossible for a photo, you get the smallest honest result and a clear note — never a silent failure.

Private by design: 100% in your browser — nothing is uploaded, no sign-up. This tool runs entirely on your device.

This tool exists for one very common, very frustrating moment: you are filling in an online application — an exam entry, a government job posting, a university admission, a visa form — and the portal rejects your photo. "File must be less than 200 KB." Your phone saved that photo at 3 MB, the deadline is close, and general compressors only offer a vague quality slider that leaves you guessing, downloading, checking the size and trying again. Here you simply type the number the form demands, and the tool does the trial and error for you, in seconds, until the file fits.

These strict limits are everywhere in application systems across Pakistan, India, Bangladesh and beyond, because the portals store millions of uploads. Photographs are typically capped between 50 KB and 200 KB, signatures between 20 KB and 100 KB, and scanned documents at a few hundred KB per page. The limits are not going away, so the practical skill is shrinking a specific file to a specific size without wrecking it — exactly what this page automates.

Here is how it works under the hood. A JPEG or WebP file's size depends mainly on two things: the quality setting used when saving, and the pixel dimensions. The tool first holds the dimensions steady and binary-searches the quality — trying the middle of the range, then narrowing up or down based on whether the result is over or under your target — until it finds the highest quality that still fits. Keeping quality as high as possible matters, because a photo at the right dimensions with slightly lower quality looks far better than a tiny, blurry one. Only when even the lowest sensible quality is too big does the tool step the dimensions down — to 85%, then 70%, then smaller — searching again at each step.

A worked example: a passport-style photo straight from a phone, 3000×4000 pixels and 2.8 MB, needs to go under 200 KB for a job application. The tool finds that at full dimensions the quality would have to drop too far, steps the photo down to 70% of its size, and lands at 196 KB with the face still sharp and the background clean — a file the portal accepts on the first try. A signature scan is easier still: mostly white space compresses beautifully, and a 900 KB scan typically reaches a 50 KB target at full dimensions.

Documents and certificates need a gentler touch

Photographs forgive compression; text does not. A scanned certificate, marksheet or CNIC is mostly sharp black lines on white, and pushing the quality too low turns those lines grey and fuzzy — exactly the detail an examiner or officer needs to read. For documents, give the tool the full limit the portal allows rather than the smallest you can manage, and let it keep the dimensions untouched while quality alone does the work. If a document still looks soft in the preview, scan it again at a moderate resolution instead of an extreme one: a clean 200 dpi scan compresses smaller, and reads better, than a noisy 600 dpi one.

Typical upload limits you will meet

UploadCommon limitNotes
Application photograph50–200 KBUsually JPG; many forms also fix the pixel size, e.g. 350×450
Signature scan20–100 KBCrop tightly around the signature first — white space compresses free
Scanned certificate or CNIC200–500 KB per fileKeep dimensions full and let quality do the work, so text stays readable
Website or blog image100–300 KBWebP output reaches the target at the best quality here

Small targets deserve a special mention, because they are the ones people struggle with most. Many portals ask for a signature scan of just 20 KB, and some go as low as 10 KB or 30 KB. The preset buttons are only shortcuts — you can type any target size you like into the box, including 20 KB. For a target that small, crop the scan tightly around the signature before you compress: a tight crop leaves far less detail to store, which is what makes a 20 KB result reachable without the signature dissolving into a blur.

A few habits make the result better every time. Start from the original photo, not one that has already been compressed by a messaging app — recompressing a compressed file loses quality twice. If the portal states pixel dimensions as well as a size limit, set the dimensions first with the Image Resizer and then set the weight here. And keep your untouched original somewhere safe: once detail is compressed away, no tool can bring it back.

Frequently asked questions

How does this tool hit an exact size like 200 KB?

It encodes your photo again and again while narrowing in on the quality setting whose file lands just under your target — a technique called binary search. If even the lowest quality is too big, it steps the dimensions down and searches again, until the result fits or the smallest honest result is returned with a warning.

Will my photo still look good at 100 KB or 200 KB?

For the passport-style photos and document scans these portals ask for, usually yes — a head-and-shoulders photo has large smooth areas that compress well. Busy group photos and detailed documents suffer sooner. Check the preview at full size before you submit; if faces look smeared, allow a higher limit if the portal permits one.

Why do exam and job portals demand a specific file size?

Their servers store millions of applications, so each form sets a maximum — commonly 50 KB to 200 KB for a photo and 20 KB to 100 KB for a signature. Anything larger is rejected automatically, which is why applicants so often get stuck at the upload step minutes before a deadline.

What if my target size is too small for the photo?

The tool reduces quality first, then dimensions step by step. If the photo still cannot reach the target, it returns the smallest file it could make and tells you plainly. Cropping tightly around the subject before compressing helps a lot, because there is less detail left to store. Very small targets are a normal request, though — 20 KB for a signature scan is a standard portal limit, and the tool accepts any target you type, not just the preset sizes.

Should I choose JPG or WebP output?

Choose JPG for application portals — it is the format they almost always expect, and some reject WebP outright. WebP reaches a target size at noticeably better quality, so prefer it for your own website or anywhere the instructions do not name a format.

Are my photos uploaded to a server?

No — never. The compression uses technology built into your browser and the photo stays on your device from start to finish. That matters for exactly the files this tool is used on: ID photos, signatures and personal documents.

My photo is a PNG. What happens to it?

PNG files are large because they store every pixel losslessly, so the tool re-saves your picture as JPG or WebP to reach the target. A transparent background, if your PNG has one, is filled with white — which is what most application forms want behind a photo anyway.

The portal also specifies pixel dimensions. What do I do?

Many forms set both rules: for example 350×450 pixels and under 200 KB. Set the exact pixel size first with the Image Resizer, then bring that file here to bring the weight under the KB limit. Doing it in that order keeps the dimensions exact while the quality adjusts.

Is there a limit on the size of the original photo?

There is no limit set by us. The work is done by your device, so extremely large photos depend on its memory, but ordinary phone and camera pictures — even 10 MB ones — compress without trouble.

Can I reduce the KB size without changing the pixel dimensions?

Yes. The tool lowers the encoding quality first, and for most photos that alone reaches the target, so the width and height in pixels stay exactly the same. Dimensions are only reduced, step by step, if quality changes alone cannot make the file small enough — and the result always shows the final dimensions before you download.

Can I do this on my phone?

Yes. The tool works in your phone’s browser, on Android and iPhone, with no app to install. Choose the photo from your gallery, type the target size in KB and download the compressed copy — everything happens on the same device, and the photo is never uploaded.

Related tools