Image Compressor

Batch compress up to 50 JPG, PNG or WebP images, then download them individually or as a ZIP

Drop images here

or click to pick files — PNG, JPG or WebP, up to 50files at once

Nothing is uploaded. Every file is compressed inside your browser.

Compression

Add up to 50 images. They are decoded and compressed one at a time, so large batches do not load every full-size image into memory together.

Before you start with Image Compressor

Batch compress up to 50 JPG, PNG, or WebP images by quality or target file size in KB, then download the results individually or as a ZIP.

Best for

  • Reducing up to 50 JPG, PNG, or WebP files without uploading the source
  • Finding the highest quality that fits a target size in KB
  • Comparing the actual output size and dimensions before downloading

Know before you start

  • JPG and WebP compression can discard detail permanently
  • PNG only becomes smaller through dimension reduction or a different output format
  • If the target is extremely small, the tool may return the closest achievable result

How to use it

1. Add images

Drag PNG, JPG or WebP files onto the drop area, or click to pick them. Add up to 50 images in one batch. Every file is decoded by your browser and never leaves your device — there is no server to send it to. The list shows each original size, dimensions and format before processing.

2a. Quality mode

Choose an output format and move the quality slider, then press Compress. The encode only runs when you press the button, so dragging the slider stays responsive on large photos. WebP is the default for PNG and WebP sources because it compresses well and keeps transparency; JPG is the default for JPG sources. Choosing "Keep PNG" swaps the quality slider for a scale slider, because PNG is lossless and only gets smaller when it gets smaller in pixels.

2b. Target size mode

Type a size in kilobytes, or take one of the presets — 100 KB, 200 KB, 500 KB or 1 MB — pick WebP or JPG, and press Compress. The tool reports the quality, dimensions and number of encode passes it landed on.

3. Review and download

Each row shows its compressed size and saving, and lets you download that result individually. For a batch, use Download all as ZIP. Files retain their original name with -compressed added, for example photo-compressed.webp.

How target size works

Quality comes first. At the original dimensions, the tool binary-searches the quality range from 10 to 95 — encoding the image, checking the resulting byte count, and narrowing the range — until it finds the highest quality that still fits under your target. That usually takes six or seven encode passes and no pixels are lost.

Dimensions are the fallback, not the first move. If even quality 10 is still over the target, the image is scaled down and the quality search runs again at the new size. The step is estimated from how far over target the smallest attempt was, but is clamped so a round never shrinks the width by more than half or by less than 10%. The floor is 320px wide: if the target still cannot be met there, the tool stops, hands you the closest result it produced, and says so rather than pretending it succeeded.

Because the search only ever measures real encoded output, the reported size is the actual file size you will download — not an estimate.

Questions

Is my image uploaded to a server?

No. The file is decoded and re-encoded by the Canvas API inside your browser. There is no upload step, no account, and no copy kept anywhere. You can load the page, disconnect from the network, and the tool still works.

How many images can I compress at once?

Up to 50 files per batch. After compression, download each result from its row or download the completed batch as one ZIP file. The cap keeps browser memory use reasonable on phones and older computers.

Why did my PNG become a WebP?

PNG is a lossless format, so re-encoding a PNG as a PNG usually saves very little — there is no quality dial to turn. WebP keeps transparency like PNG does but compresses far harder, which is why it is the default for PNG sources. You can still pick "Keep PNG", which leaves the format alone and reduces the file only by reducing its dimensions.

What quality should I pick?

For photographs, 75-85 is the usual sweet spot: the file drops a lot and the difference is hard to see at normal viewing size. Below about 60 you start to notice blocking in skies and smooth gradients. Flat graphics, screenshots and text-heavy images are less forgiving of lossy compression, so keep those higher or leave them as PNG.

Does compressing lose quality?

With JPG and WebP, yes — they are lossy formats, and the discarded detail does not come back. Compressing an already-compressed JPG applies a second lossy pass on top of the first, so work from the best original you have rather than re-compressing an export repeatedly. Scaling dimensions down is also irreversible. Keeping PNG is the only lossless path here, and it only saves space when you also reduce the dimensions.

Related

For the reasoning behind the settings — when to resize before compressing, what sizes web pages actually need, and how to check the result — read how to reduce image file size, the full guide this tool implements. If you are unsure which output format to pick, compare them in WebP vs PNG vs JPG.