Home / Free tools / Images / Image Compressor

Image Compressor

Make photos smaller by choosing a quality or a target such as 'under 200 KB'. The tool shows the size before and after, works in bulk and keeps your files on your device.

Drag and drop images here, or

Fill in "smaller than" to let the tool find the best quality that fits, shrinking the picture only if it has to. Otherwise the quality number is used.

Runs in your browser. Nothing you paste or choose is uploaded or stored.

What this image compressor does

The compressor makes picture files smaller so pages load faster and uploads fit within a limit. You can choose a quality, or tell it a target such as "smaller than 200 KB" and let it find the highest quality that fits. You can also cap the longest side in pixels, which is often the biggest saving of all. Results can be downloaded one by one or together in a ZIP file, and each row shows the size before and after.

The compression happens in your browser. Your files are not uploaded to a server, so it is safe for private photos and documents, and you can compress as many as you like.

How the compression works

JPG and WebP are lossy formats: they save space by storing the picture a little less accurately. The quality number, from 1 to 100, sets how accurately. Around 75 to 85 is the usual balance, because differences are hard to see while the file is often a third to a half of the size of a quality-95 file. Below about 50 blocky patches and blurred edges become visible.

For the target-size mode the tool encodes the picture at a high quality first. If the file is already small enough it stops. Otherwise it searches for the highest quality, to within about one percent, whose file fits under your limit. If even a very low quality is too big, it makes the picture 20% smaller and tries again, repeating up to a handful of times, and tells you what it did. If it cannot reach the target it returns the smallest result and says so.

PNG is a lossless format with no quality setting, so a PNG cannot be made smaller by lowering quality. When the format is "Same as original", PNG files are saved as WebP instead and a note says so. If you need to keep a PNG, shrink its dimensions with the image resizer. If the new file turns out not to be smaller than the original, the original is kept unchanged.

Worked example

A product photo is 3000 x 2000 pixels and 2.4 MB, and your shop accepts files up to 500 KB. Add the photo, type 500 in "smaller than (KB)" and leave the format on "Same as original". The tool tries quality 95, finds the file still too big, and then searches for the best quality under 500 KB. A typical photo ends up around quality 70 to 80 at its full size, with the row showing something like "2.4 MB to 480 KB, saved 80%". If your limit were 100 KB instead, the tool would also reduce the dimensions in 20% steps until the file fits, and the note shows how far it shrank the picture.

Getting the smallest file with the least visible loss

Why compress images for a website

Pictures are usually the heaviest part of a page. Smaller files shorten loading time, which helps visitors on mobile connections and is one of the measures search engines consider when judging page experience. For a shop, product images also have to meet marketplace file-size limits. Google Merchant Center, for example, has a maximum file size per image; see the Merchant Center tools and the product image size checker to check your images against its rules.

Limits

The tool uses the browser's own encoder, so results differ slightly between browsers and are not as small as those of specialised encoders. Metadata such as camera details and location is removed from the saved copy, which is good for privacy but means the photo date is lost. Animated GIFs become single frames. Photos over 120 MB are refused, and very large images can fail on devices with little memory.

Questions

How can I reduce an image to under 200 KB?

Type 200 in the 'smaller than' box. The tool finds the highest JPG or WebP quality that fits and, if needed, makes the picture smaller in steps. The result row shows the final size and what was changed.

What quality setting should I use?

For photos, 75 to 85 is a good balance of size and appearance. Go lower only for thumbnails, and higher if the picture will be printed or edited again.

Why does the tool turn my PNG into WebP?

PNG is lossless and has no quality setting, so a PNG cannot be compressed by quality. The default saves it as WebP, which is much smaller for photos. To keep a PNG as it is, make it smaller with the image resizer.

Is compressing images safe for private photos?

Yes. The processing happens in your browser and the files are not uploaded. Camera and location metadata is not copied to the new file.

Will compression make my images look bad?

At quality 75 to 85 most people cannot tell the difference at normal viewing size. The result is shown next to its size so you can judge, and the original is never changed.

Why does the tool say the original was kept?

If the new file would not be smaller than your original, which can happen with files that were already well compressed, the tool keeps the original rather than make it worse.

Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.