opnai / Compress Image

Compress Image

Drop images here, or click to choose Several files allowed. Processed in your browser, nothing is uploaded.

Processed in your browser. Your files are never uploaded and metadata such as GPS location is removed.

Large images slow down websites, fill up inboxes and exceed upload limits. This tool shrinks image files by re-encoding them at a quality you choose and, if you wish, limiting the longest side to a set number of pixels.

It runs in your browser, so your pictures are not uploaded. You see the size before and after for every file, plus the percentage saved.

How to use Compress Image

  1. Add JPG, PNG, WebP, AVIF or HEIC images. You can add many at once.
  2. Set the quality, an optional maximum width or height in pixels, and the output format: keep the original, JPG or WebP.
  3. Press Compress and watch each file get smaller.
  4. Download single files or all of them as a ZIP.

Features

Nothing is uploaded

Conversion runs in your browser tab. Your files are never sent to a server, so there is nothing to delete later.

Metadata removed by default

Re-encoding through a canvas drops EXIF data such as GPS location and camera details, which is handy before sharing photos.

Batch and ZIP download

Add many files at once, see the status of each one, download them individually or all together in a ZIP.

Size saved shown

Every file lists its original size, new size and percentage saved.

Max dimension

Limit the longest side to shrink huge camera photos far more than quality alone.

JPG, WebP or keep

WebP often gives the smallest result; JPG is the most compatible.

How to get the smallest file

The biggest saving usually comes from resizing: a 4000 pixel wide photo viewed on a 1200 pixel wide page wastes most of its pixels. Set a maximum dimension, then lower the quality a little, and prefer WebP if the destination supports it.

Frequently asked questions

How much smaller will my images get?

It depends on the image. Camera photos often shrink by 50 to 80 percent. Images that are already well compressed may barely change, and we show the result so you can decide.

What quality setting should I use?

75 to 85 gives a big saving with little visible change for most photos. Go lower only if size matters more than looks.

Are my images uploaded anywhere?

No. Everything happens inside your browser on your own device. We cannot see your files and nothing is sent over the network, which also means the tool keeps working if your connection drops after the page has loaded.

What happens to PNG images?

PNG is lossless, so quality does not apply when you keep the PNG format. To shrink a PNG, set a maximum dimension or output JPG or WebP. Transparency becomes white in JPG.

Can the compressed file end up larger?

It can, if the original was already heavily compressed. In that case keep the original; the tool flags files that did not shrink.

Is metadata removed?

Yes. Location and camera information are not kept, which also saves a few kilobytes.

Related tools