Image compression

Compress an image to an exact target file size.

Set a target like 200 KB or 1 MB and download an image squeezed to fit - quality and dimensions are tuned automatically, entirely in your browser.

Open compressorBrowse all tools

Compress Image to Size - Target KB/MB Compressor - CatalogPrep

Compress JPG, PNG, or WebP to an exact target file size - 100 KB, 200 KB, 1 MB and more. Batch, in your browser, nothing uploaded. Free, no signup.

Frequently asked questions

How do I compress an image to a specific file size?
Add a photo, type the target size (for example 100 KB, 200 KB, or 1 MB), and the tool automatically tunes JPEG/WebP quality - and downscales if needed - until the output fits the budget while staying as sharp as possible.
Is my image uploaded to a server?
No. Compression runs entirely in your browser using the Canvas API. Your images are never uploaded, stored, or sent anywhere - close the tab and nothing remains.
Why would I need an exact file size?
Marketplaces and forms enforce caps - eBay 7 MB, Meta 8 MB, many upload forms 1–2 MB, email ~10 MB, avatars under 200 KB. Hitting a target keeps uploads from being rejected and pages fast.
What if the target size can't be reached?
The tool first lowers quality, then progressively reduces dimensions. If a target is physically too small for the content it returns the closest smaller result and tells you the size it achieved.
Does compressing lose quality?
Lossy formats trade some detail for size. The tool keeps the highest quality that still meets your target, so the result is the best-looking image possible at that file size.