Compress images: shrink JPG, PNG, and WebP files

Cut file size for websites, form attachments, or sending in chat. Enter a target size when a form allows only so many KB, and the tool finds the highest quality that still fits.

Everything runs in your browser. Files are never uploaded to any server.

Output format

How to use

  1. Choose images

    Drag, click, or paste. Many at once is fine.

  2. Set quality or target KB

    Quality 70–80 usually looks the same. Enter a target KB if there is a size limit.

  3. Compress and download

    See how much each file saved, then download one by one or as a ZIP.

How compression works here

JPG, WebP, and AVIF are compressed by lowering the save quality; fine detail that is hard to see goes first. PNG is compressed by reducing the colors to at most 256 (quantization), the same method many popular PNG compressors use. Results can be 50–80% smaller for graphics and screenshots.

If the compressed file comes out larger than the original (usually because it was already optimized), the tool keeps the original.

Target size in KB

Enter a number under "Target maximum" for forms that limit upload size, for example a 200 KB passport photo or a 500 KB application file. The tool tries several quality levels and picks the highest one under the limit. If even the lowest quality is too big, the image is scaled down step by step. PNGs that do not fit are converted to JPG (or WebP if they have transparency).

Common questions

What quality do you recommend?

For photos on social media and websites, 70–82 usually looks no different from the original. For images that will be printed, stay at 85 or above.

Does the resolution (pixel size) change too?

No, unless the target KB cannot be reached by lowering quality. To change pixel size, use the Resize image tool.

Why didn't my PNG shrink much?

A PNG of a photo with millions of colors is hard to compress without visible change. For photos, switch to JPG or WebP; size can drop by more than 80%.

Is it safe for personal documents like ID cards?

Images are processed in your browser and never uploaded to a server. Still take care when sharing the compressed copy of a personal document.