Compress Image to an Exact Size

Compress any JPG, PNG, WebP or AVIF down to a target file size — 1 MB, 500 KB, 200 KB, 100 KB, 50 KB or 20 KB — entirely inside your browser. Nothing is uploaded: your photos never leave your device, there is no sign-up, and the compressed file is ready to download in seconds.

Applied to every image you add

Drop images here to compress to 200 KB

JPG · PNG · WebP · AVIF — up to 20 files, 50.00 MB each. Nothing is uploaded.

Compress to a target size, not a guessed quality

Most compressors give you a quality slider and leave you to guess. That is backwards: what you actually know is the limit you have to fit — a 500 KB upload cap, a 100 KB form field, a 20 KB profile picture. This tool starts from that number and works out the quality and resolution that get you there.

It searches from the largest, sharpest settings downwards: full resolution at the highest quality first, then progressively lower quality at the same size, and only then a smaller image. The first combination that fits your target wins, so you always get the best-looking file that still meets the limit.

Common targets

TargetTypical use
1 MBEmail attachments and most web forms
500 KBForum and marketplace upload limits
200 KBWebsite images and blog headers
100 KBJob portals, ID photos and CMS fields
50 KBThumbnails and email signatures
20 KBAvatars, favicons and strict form caps

Frequently asked questions

Is my image uploaded to a server?

No. The compression runs inside your browser using the Canvas API and a Web Worker, so the file you pick never leaves your device. There is no copy of it on our side to store, leak or sell.

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

Choose a target from the dropdown above — or open a size-specific page such as /image/compress-to-size/100kb/. The tool then lowers the encoding quality, and if that is not enough it also scales the image down, until the result fits under your target. The exact size of every file is shown before you download it.

Will the image look worse?

The tool always keeps the highest quality that still fits your target: it first tries the maximum quality at full resolution, and only reduces dimensions when quality alone cannot reach the target. That is why the same photo compresses better here than with a fixed-quality slider that makes you guess.

Which image formats can I use?

JPG, PNG, WebP and AVIF. Your JPG stays a JPG. PNG and AVIF inputs are written out as WebP, because PNG has no quality setting — WebP is the only way to hit a target size while keeping transparency intact.

Is there a limit or a watermark?

No watermark, no account, no daily quota. You can add up to 20 images at a time and each one can be up to 50 MB. Because the work happens on your own device, there is no per-file cost that would force a limit.

Does it work on a phone?

Yes — the tool is a normal web page and works in the browser on iOS and Android. Photos picked from the camera roll are processed on the device itself, which also avoids burning mobile data on an upload.