Image utility

Compress Image to Target Size

Shrink a photo to a target file size (e.g. 200 KB) without leaving your browser.

Your photo is processed entirely in your browser and is never uploaded to a server.

When you need this

An application portal rejected your file as too large

Most government upload forms cap the file size rather than the dimensions. India's OCI portal, Passport Seva, and many Schengen appointment systems all refuse files over a few hundred kilobytes, and the error rarely says what the limit is. Compressing to a target size gets you under the cap without touching the pixel dimensions the same form checks separately.

You need a specific number, not just 'smaller'

A form that asks for under 200 KB will reject 210 KB as firmly as it rejects 2 MB. Setting an exact target and letting the tool find the highest quality that fits is more reliable than repeatedly exporting at different quality settings and re-checking.

Your photo is correct but the scan of a document is not

The same limits usually apply to supporting documents — bank statements, invitation letters, proof of address. A phone photo of a page is often several megabytes and needs the same treatment.

How to do it properly

  1. 1

    Find the portal's actual limit

    Check the upload page or its help text before compressing. Guessing low costs you quality you did not need to lose; guessing high means another rejection.

  2. 2

    Set the target in kilobytes

    Type the number the form asks for — 200, 100, 50. The tool searches for the highest quality that stays under it rather than applying a fixed compression level.

  3. 3

    Check the result still looks right

    Heavy compression shows first around hair and in flat background areas, as blotches or banding. If it looks rough, the source was probably larger than it needed to be — resize the dimensions first, then compress.

If something goes wrong

The portal still says my file is too large

Some forms measure the encoded size after their own processing, and a few apply a stricter limit than they document. Try a target around 20% below the stated cap.

Should I reduce the dimensions instead?

Not if the form also checks resolution — many do both, and a photo shrunk to 300×300 will fail the dimension check even at a tiny file size. Compress first and only reduce dimensions if the form has no minimum.

Why did quality drop so much at 50 KB?

50 KB is very small for a colour photograph. If the form allows it, use a larger target; if it does not, start from a correctly-cropped photo rather than a full-resolution one, since fewer pixels means each one keeps more quality.

More tools

Frequently asked questions

How do I compress an image to a specific KB size?
Upload your image, type the target size in KB (for example 200), and click Compress. The tool finds the highest quality that stays under your target.
Is my photo uploaded anywhere?
No. Compression runs entirely in your browser using your device — the file never leaves your computer.
Why do many passport and visa portals require under 200–300 KB?
Government upload forms often cap file size. Compressing to their limit lets your correctly-sized photo upload without errors.
The portal still says my file is too large
Some forms measure the encoded size after their own processing, and a few apply a stricter limit than they document. Try a target around 20% below the stated cap.
Should I reduce the dimensions instead?
Not if the form also checks resolution — many do both, and a photo shrunk to 300×300 will fail the dimension check even at a tiny file size. Compress first and only reduce dimensions if the form has no minimum.
Why did quality drop so much at 50 KB?
50 KB is very small for a colour photograph. If the form allows it, use a larger target; if it does not, start from a correctly-cropped photo rather than a full-resolution one, since fewer pixels means each one keeps more quality.