idpixo

Image Compressor

Compress images locally in your browser. Files never leave your device.

Click or drag images here

JPG, PNG, WebP · multiple files supported

How it works

Your browser re-encodes each image with your chosen quality (JPEG) and optional downscale, entirely on your device. PNG inputs with transparency are flattened to white. For photos, quality 0.7–0.85 typically cuts file size by 60–80% with no visible difference. Need an exact size? Switch to Target size (KB) and the tool searches the best JPEG quality that stays at or under your limit, keeping the pixel dimensions you chose — if the target is smaller than the image can reach, it reports the smallest possible file instead.

← All tools

Hitting an exact size for a passport or visa upload

Many passport and visa portals reject a file by size, not by looks. Switch the mode above to Target size (KB), pick the cap your portal enforces (or type a custom one), and the tool searches the best JPEG quality that stays at or under it — keeping the pixel dimensions you set with Resize. Nothing is uploaded; the search runs on your device.

Portal / documentFile size it wantsSource
UK passport (online)50 KB – 10 MB · at least 600 × 750 pxgov.uk
Canada digital passport photo200 KB – 5 MBcanada.ca
New Zealand visa / NZeTA500 KB – 3 MBImmigration NZ
US DV lottery entry240 kB maximumDV lottery rules (see & verify on the official page)
India passport photoroughly 10–300 kBcommon guidance — confirm on the official portal

Two things to keep straight. First, both a floor and a ceiling can bite: New Zealand refuses a file that is too small as well as too large, so do not over-compress to beat a cap you were never near. Second, some portals want an exact pixel size (for example a square 600 × 600 crop) rather than "any size under X KB" — resize to the exact dimensions, then set the KB target. The per-portal numbers are on the digital file requirements page; the printed formats are on the size chart. If a portal has already refused your upload, work through the upload failure fixes; to validate the finished image first, use the passport photo checker.

Frequently asked questions

Does this compressor upload my photos?

No. Everything runs in your browser — the file never leaves your device. That is the point of doing it here rather than on a site that sends your image to a server.

How do I compress a photo to an exact KB size?

Switch Mode to Target size (KB), choose a preset (20, 50, 100 or 200 KB) or type a custom value, set the pixel dimensions you need with Resize, then run it. The tool searches for the highest JPEG quality that stays at or under your target; if the image physically cannot get that small, it reports the smallest size it can reach.

Will the print size change when I compress?

No. The KB target only changes the JPEG quality (the compression), not the pixel dimensions. Resize, by contrast, does change the pixels — so set your pixel size first if the portal fixes it, then compress to the KB cap.

Why did my file get rejected for being too small?

Some portals set a minimum as well as a maximum. New Zealand, for example, wants between 500 KB and 3 MB, so a heavily compressed file can be refused for being under the floor. Check your portal's numbers before compressing aggressively.

Can I batch-compress several photos at once?

Yes — add multiple files at once and they compress together with the same settings, which is handy when you are preparing the same photo for more than one document.

What KB target should I use for a passport photo?

Use the cap of the portal you are submitting to, not a guess. Common ones: the US DV lottery caps at 240 kB, Canada's digital passport photo allows 200 KB–5 MB, the UK allows 50 KB–10 MB, and New Zealand's visa photo allows 500 KB–3 MB. Confirm the current figure on the official page.