Image Compressor

Compress JPG, PNG and WebP images in your browser. Choose the quality, shrink dimensions and download smaller files – no upload needed.

Updated 23 October 2026 By

Runs in your browser Free · No sign-up

Loading tool…

How to use the Image Compressor

  1. Drop one or more images into the box, or click to choose them.
  2. Pick the output format and quality, or enter a target size such as 200 kB and let the tool find the highest quality that fits.
  3. Click “Compress images” and download each result, or all of them at once.

About this tool

Large photos slow down websites and fill up email attachments. This compressor re-encodes your images at the quality you choose and can also reduce their width, which usually saves the most space. Because it runs entirely in your browser, your pictures never leave your device.

  • Private: your data is processed on your device and never uploaded.
  • Free with no account, limits or watermarks.
  • Fast: results appear instantly, even offline once the page has loaded.

What the Image Compressor does

Photos straight from a phone or camera are often several megabytes each. That is far more than a website, an online form or an email attachment needs. This image compressor makes JPG, PNG and WebP files smaller by re-encoding them at a quality level you choose and, if you want, by reducing their width at the same time. How much you save depends on how the photo was saved before: in our test, phone photos that were already stored at quality 75 hardly shrank at their full size, but became 69 to 74 percent smaller when reduced to 1,280 pixels at the same quality.

You can compress a single picture or a whole batch at once. For every image the tool shows the old size, the new size and how much you saved, so you can decide whether to keep the result or try another setting. If the compressed file would end up larger than your original — which can happen with images that are already well optimised — the tool simply keeps the original instead.

Everything happens inside your browser. Your images are never uploaded, which makes the tool safe for private photos, scanned documents and screenshots that contain personal data, and it also means there is no waiting for an upload or a server queue.

When to use it

  • Faster websites

    Large images are the most common reason pages load slowly. Smaller files improve Core Web Vitals such as Largest Contentful Paint and help both visitors and search rankings.

  • Email and messengers

    Many mail servers reject attachments above 10 to 25 MB. Compressing photos first lets you send more pictures in one message.

  • Online forms and portals

    Job applications, government portals and university uploads often limit files to 1 or 2 MB. Enter the limit as the target size and the tool finds a setting that fits.

  • Saving storage space

    Shrinking an archive of holiday photos or product images can free gigabytes on your phone, laptop or cloud storage.

Tips for the best results

  • Start with a quality of 75%. If the file barely gets smaller, the photo was already compressed: reduce the width instead of lowering the quality further.
  • Reducing the width saves the most space: a 4000-pixel photo resized to 1600 pixels has about six times fewer pixels to store.
  • For websites, choose WebP as the output format. In our test it was 8 to 30% smaller than JPG at the same measured quality, and all modern browsers support it. Many upload forms still accept only JPG or PNG.
  • PNG is lossless, so re-saving a PNG as PNG barely helps. Convert screenshots and graphics to WebP, or photos to JPG, for a real reduction.
  • Keep your originals. Compression removes detail permanently, so always work on a copy if you might need the full-quality image later.
  • Compressed images lose their EXIF metadata, including the GPS location of the photo — useful when you share pictures publicly. HDR data such as an Ultra HDR gain map is removed too, so the result is shown at normal brightness on HDR screens.

How the Image Compressor works

When you add an image, your browser decodes it and draws it on an invisible canvas. If you set a maximum width, the picture is scaled down at this stage using high-quality resampling, and the height is adjusted automatically to keep the proportions.

The canvas is then exported again as JPG or WebP at the quality you selected. Lossy formats like these save space by discarding fine detail and subtle colour variation that the human eye hardly notices; the lower the quality value, the more detail is removed and the smaller the file becomes. PNG output is lossless and ignores the quality setting. If you enter a target size, the tool tries several quality levels between 60% and 90% and keeps the highest one that fits; if even 60% is too big, it reduces the dimensions step by step.

Because the work is done by your own device, the speed depends on its processor and memory. Very large files of 50 megapixels or more may take a few seconds on older phones, but nothing ever leaves your device.

Frequently asked questions

Will compressing reduce the quality?

JPG and WebP compression removes detail your eye barely notices. At 70–80% quality most photos look the same as the original. If the compressed file would be bigger than the original, the tool keeps your original.

Why does my PNG barely get smaller?

PNG is a lossless format, so re-saving it as PNG cannot remove much. Convert it to WebP or JPG, or reduce the maximum width, to get a much smaller file.

Are my images uploaded to a server?

No. All processing happens in your browser using the Canvas API. Nothing is sent to us or stored anywhere.

What is the best quality setting?

For photos, 70–80% is the sweet spot for most uses. Go down to 60% for thumbnails or when a strict file size limit applies; stay at 85–90% for images that will be printed or zoomed.

How small can I make an image?

There is no fixed minimum. Enter a target size and the tool picks the highest quality between 60% and 90% that fits; if even 60% is too big, it also reduces the dimensions. In our test, three phone photos with a 100 kB target all came out just below 100 kB.

Can I compress several images at once?

Yes. Select or drop as many files as you like; each one is processed separately and you can download them one by one or all together.

Which formats are supported?

You can add JPG, PNG, WebP, GIF and BMP files. Results can be saved in the original format, as JPG or as WebP. Animated GIFs are saved as a still image.

Guides for this tool