How to get a photo under a KB limit

The form says 200 KB, your photo is 4 MB, and the upload button keeps refusing. File size is not a number you can set — it is the result of three things, and most people reach for the wrong one first.

5 min read · last checked 2026-09-04

Visa portals, job applications, university forms, driving licence renewals, tax filings. Somewhere in each of them is a number — 200 KB, sometimes 100, occasionally a genuinely cruel 20 — and a photo four or five times too big for it.

The usual advice is to drag a quality slider until the number goes down. That works, eventually, and it is the reason so many uploaded photos look like they were printed on a wet newspaper. There is a better order.

The tool Compress Image Get photos under an upload limit, by quality or by a size you name. Batch supported.

File size is not a setting

You cannot type 200 KB and have a picture obey. The size that comes out is the result of three separate things:

  • How many pixels there are. A 12-megapixel phone photo has twelve million of them to describe.
  • How hard they are compressed. The quality setting — how much detail the encoder is allowed to throw away.
  • How complicated the picture is. The one nobody mentions, and often the biggest surprise.

That third one is why the same settings give wildly different results. A photo of a plain painted wall compresses to almost nothing: there is barely any detail to store. A photo of a tree in leaf, at identical dimensions and identical quality, can be five times larger, because every leaf is detail the encoder has to describe.

So “save at quality 80” is not a size, and never was. It is an instruction whose result depends on the photograph.

The order that works

1. Cut the pixels first. This is the lever with the best exchange rate, and almost everybody skips it.

Halving the width and the height leaves a quarter of the pixels. A 4000-pixel-wide photo shrunk to 1000 wide has one sixteenth as many, and the file falls roughly in step. If the photo is going to be looked at on a screen inside a web form, 1000 to 1600 pixels on the long edge is already more than will ever be displayed.

Compare that with the alternative: to get the same saving from quality alone, you would have to compress so hard the picture visibly falls apart. Resizing costs you detail nobody was going to see. Over-compressing costs you detail everybody can.

Two crops of the same test image, both about 16 KB. The one that was resized first is soft but clean; the one kept at full size with the quality crushed is blocky and the text on it is breaking up.
Two routes to the same file size, from the same original — a generated image, compressed for real. The difference is which kind of detail you spent the budget on.

2. Crop what is not needed. Fewer pixels again, and this time you choose which ones go. A document photographed on a desk is usually half desk. An ID photo does not need the room behind you.

3. Then, and only then, lower the quality. With sensible dimensions in place, a moderate quality setting will usually land under the limit on its own, and the damage is spread over a picture that no longer has detail to spare.

4. Check the result at full size before you send it. Not the thumbnail. Open it, look at the smallest thing that matters — a date, a serial number, the edge of a signature — and decide whether it survived.

How a “compress to 200 KB” tool actually works

Worth knowing, because it explains what it can and cannot do for you.

There is no formula that turns a target size into a quality setting. The encoder’s output depends on the picture, so the only way to hit a number is to try: encode at some quality, measure, and adjust. A tool doing this properly runs a binary search — too big, go lower; fits, try a little higher — until it finds the highest quality that still fits under your number.

And when quality alone cannot get there, which happens constantly with small targets, it has to reduce the dimensions as well. A twelve-megapixel photo cannot be squeezed into 20 KB by any quality setting that leaves a recognisable picture. Something has to give, and pixels are the thing that gives most gracefully.

That is exactly what the compressor here does when you give it a target — the search runs on your own machine, and the result is shown before anything is saved.

When the limit cannot be met

Sometimes the number is simply too small for the photo, and there is no clever setting. Three things to try, in order:

  • Crop harder. A tighter frame is fewer pixels and less complexity at once, and for an ID photo it is usually what the form wanted anyway.
  • Check what format the form accepts. If it takes PNG and you are sending a photograph, you are fighting with one hand tied — JPG is several times smaller for a photograph. If it takes WebP, smaller still.
  • Ask. Limits on old forms are frequently inherited from a system nobody has looked at in fifteen years, and the office behind it often accepts an emailed file without blinking.

The trap: identity documents

Worth saying plainly, because it costs people weeks.

Passport pages, ID cards, certificates and bank statements are read by somebody — or something — looking closely at small printed detail. A compressed scan that looks perfectly fine at screen size can be rejected as illegible when a reviewer zooms in on a document number, and the application goes back to the end of the queue.

For anything being used as proof of identity, resize and crop, but keep the quality high. If the file still will not fit, that is a conversation with the office, not a reason to compress until the numbers blur. The same logic applies to a PDF of the same documents.

Two things that make it worse

Compressing the same file over and over. Each pass compresses the previous pass’s damage along with the picture. If the first attempt missed the target, go back to the original and try again from there — never compress the compressed copy.

Turning a screenshot into a JPG to make it smaller. It usually does not work, and it always looks worse. Screenshots are hard edges and flat colour, which is what JPEG damages first and what PNG compresses best. Resize the screenshot instead, or crop it to the part that matters.

Why these forms ask for so little

Not to torture you, though it is a reasonable suspicion.

Most of these limits are old. They were set when storage was expensive and a government department was budgeting for tens of thousands of applicants, on connections that made a 4 MB upload a genuine problem. The number stayed after the reason for it went away, because the form works and nobody reviews a working form.

Which is also why arguing with the limit rarely helps, and why a photo that is 1200 pixels wide instead of 4000 is not a compromise — it is simply the right size for the job.

Common questions

How do I reduce a photo to a specific number of KB?

Resize it first — halving the width and height leaves a quarter of the pixels — then lower the quality if it is still too big. A tool that takes a target size runs a search on the quality setting, and reduces the dimensions too when quality alone cannot reach the number.

Why do two photos at the same settings come out different sizes?

Because compression depends on what is in the picture. A plain wall has almost no detail to store; a tree in leaf has an enormous amount. At identical dimensions and identical quality the second can be several times larger.

Is it better to resize or to lower the quality?

Resize, almost always, and first. Reducing dimensions removes detail nobody was going to see on screen. Over-compressing damages detail everybody can see. Use quality as the second step, not the first.

Can any photo be compressed to 20 KB?

Technically yes, but not at a size and quality worth submitting unless it is also cropped and heavily resized. For a face photo that is usually achievable; for a document scan it usually is not, and the answer is to ask the office rather than to compress until it blurs.

Will compressing make my ID document unreadable?

It can, and it is the expensive mistake. Reviewers zoom in on document numbers and dates. Resize and crop for identity documents, but keep the quality high, and always read the smallest print on the result before you send it.

Does compressing the same photo twice help?

No — it compounds the damage, because the second pass compresses the first pass’s artefacts along with the picture. If an attempt missed the target, start again from the original.

Should I convert a screenshot to JPG to make it smaller?

No. Screenshots are hard edges and flat colour — exactly what JPEG blurs and what PNG compresses well. The result usually looks worse and is often no smaller. Resize or crop the screenshot instead.

More guides

What is a HEIC file, and why will your PC not open it?

Half the size of a JPG, and a patent licence is why Windows refuses it.

How to get a PDF under an upload limit

Most PDFs cannot be compressed at all. Ten seconds tells you which kind you have.

Why WhatsApp ruins your photos, and how to send one properly

It re-compresses every picture you send. There is one way around it, and it is not the quality setting.

JPG or PNG: which should you use?

Photographs, JPG. Hard edges or transparency, PNG. The reason is worth two minutes.

Are QR codes safe? What is actually inside one

Nothing inside one can run. The risks are the destination, the sticker over the original, and who owns the code.

Why video files are so big, and what actually shrinks them

Bitrate times length is the file size. Everything else follows from that.

MP3, WAV or M4A: which audio format, and at what bitrate?

128 kbps is about a megabyte a minute. Everything else follows from that.

Percentages, and the four sums people actually get wrong

20% off then 10% off is not 30% off, and adding 20% then taking it back leaves you short.

How to take a passport photo at home that is not rejected

The rule is the height of your head, not the size of the photo — and the shadow behind you is geometry.

How to make a ringtone, and why the cutting is the easy part

Android takes an MP3 straight. An iPhone wants an M4R, which is an M4A with a different extension.

Compound interest, in both directions

Savings growing and a card balance running away are the same sum. Only the side you are standing on differs.

What actually happens when a password leaks

Why one company’s bad week becomes your problem at forty other sites — and the single habit that breaks the chain.

What you can change in a PDF without Acrobat

Moving pages and stamping them costs nothing. Changing the words is the one genuinely hard edit, and this is why.

Are electronic signatures legally binding?

Valid nearly everywhere — but a drawn signature proves the mark is there, not who put it there. What that changes, and when it is not enough.

Why background removal cuts off hair

Hair, glass and plants come out ragged for a reason that is not fixable by trying another site. What causes it, and what to photograph instead.

Why OCR gets text wrong

Why the mistakes land in invoice numbers rather than in sentences, what actually ruins a scan, and how to photograph a page properly.

What the numbers on a barcode mean

Three fields and a checksum. Why “690 means made in China” is wrong, and how the last digit is worked out from the others.

Why date calculators disagree with each other

One month after 31 January is 28 February, 2 March or 3 March depending on the rule. Why the calendar refuses to be arithmetic.

What fitness numbers actually tell you

Why the level a fitness formula gives you is usually wrong, why the change usually is not, and which of the two is worth watching.

What has to be on an invoice

The blocks nearly every country expects, the two that people get wrong, and why “net 30” gets paid later than a date.

Subtitles: a separate file, or burned into the video?

A file the player draws, or pixels in the picture. What each costs, and why automatic captions get names wrong and sentences right.

Why your final grade is not the average of your grades

The same four marks give 82.5 averaged and 74.0 weighted. How weighting works, and what you really need on the final.

Does decoy pricing actually work?

A real 1982 effect, a famous 84%-vs-32% demonstration, and a 2014 attempt to reproduce it on real products that worked about once in eight tries.

How to save a picture that is only on the clipboard

Why Ctrl+V does nothing in a folder after you copy a picture, what your computer can already save on its own, and the shortest way round it.