Compress an image

Re-encodes the image at a quality you choose, so a photo that was three megabytes can go out as a few hundred kilobytes. The preview shows the result next to the original size, so you can find the point where the saving stops being worth it.

How to compress an image

  1. 1Drop in the imageJPEG, PNG, WebP, GIF, BMP and AVIF are all read.
  2. 2Set the qualityLower quality means a smaller file. Somewhere around 70 to 80 percent is usually where the eye stops noticing and the bytes keep falling.
  3. 3Compare and downloadOriginal and result sizes are shown together with a preview, so you can judge the trade before committing.

Questions

Is my image uploaded anywhere?

No. The image is read by your browser and processed on a canvas in the page. It never reaches a server, so nothing is uploaded and no copy is kept anywhere.

Does compressing lose quality?

Yes, and that is the mechanism. JPEG and WebP compression discards detail the eye is bad at noticing. At high quality settings the difference is invisible at normal viewing size; push it far enough and you will see blocking around edges.

Why did my PNG barely shrink?

PNG is lossless, so there is far less to remove than in a JPEG. Screenshots and flat graphics compress well as PNG already. Converting a photo from PNG to JPEG or WebP will usually save far more than compressing the PNG.

Does it strip the EXIF data?

Re-encoding through a canvas drops the metadata, so location and camera details do not survive. If removing metadata is the actual goal, Privacy Scrubber does it deliberately and shows you what it found.

Related tools