Image Compressor

Shrink a JPG, PNG or WebP file right here in your browser. The image is never uploaded to a server.

1. Choose an image

Lower quality means a smaller file. 60–80% is usually indistinguishable from the original.

Result
Original
Compressed
Saved

How to use it

  1. Click the box and pick an image, or drag one straight onto it.
  2. Slide the quality control until the saving looks right. 70% is a good default.
  3. Press Download compressed to save the smaller file.

Why the same photograph can be 4 MB or 400 KB

Two things decide the size of a photograph, and most people only think about one of them.

Dimensions come first. A modern phone takes pictures around 4000 pixels wide. A full-width image on a web page is rarely more than 1600, and a thumbnail is 300. Sending a 4000-pixel image to a space 400 pixels wide wastes about 99 percent of the data, and no amount of compression afterwards recovers that.

Quality comes second. JPEG throws away detail your eye is least likely to miss, and the quality setting decides how much. This is where the surprise lives: going from 100 to 85 typically cuts the file by half or more while looking essentially identical, because the last stretch of quality is extraordinarily expensive in bytes.

Choosing a quality setting

  • 90 and above — archival, or an image that will be edited again later.
  • 80 to 85 — the sweet spot for almost anything on the web. Start here.
  • 60 to 75 — fine for thumbnails and backgrounds where nobody is inspecting detail.
  • Below 50 — visible blocking around edges and text. Worth it only when size matters more than looks.

Compression here is lossy and it cannot be undone. Always keep your original file and compress a copy. Compressing an already compressed image repeatedly degrades it a little each time.

Frequently asked questions

Is my image uploaded to a server?

No. The file is read by your browser, redrawn on a hidden canvas, and re-encoded on your own device. Open your browser's network tab while you compress — you will see no request go out.

Why does the output come out as a JPG?

Quality-based compression only applies to lossy formats. PNG is lossless, so a quality slider would do nothing. Use the Image Format Converter if you need to keep PNG.

How much can I expect to save?

A photo straight from a phone usually drops 60–85% at 70% quality with no visible difference. An image that is already compressed will save much less.

Will it strip my EXIF data?

Yes, as a side effect. Redrawing on a canvas discards camera metadata and GPS location, which is often exactly what you want before posting a photo online.

Related tools