Image Optimizer

Optimize JPG, PNG, and WebP images for free in your browser, with support for both lossy and lossless image compression.

Drop a JPG, PNG, or WebP image here, or use the file picker.

Original size
-
Choose an image to start
Optimized size
-
Same-format export after optimization
Saved
-
Compression result

How to use this image optimizer

  1. Choose or drop a JPG, PNG, or WebP image.
  2. Leave lossy compression off for conservative compression, or turn it on to use the quality slider.
  3. Click Optimize, then download the optimized image after the size comparison updates.

Image Optimizer features

  • Compress JPG, PNG, and WebP images directly in your browser.
  • Re-export images in the original file type to strip EXIF data, embedded thumbnails, comments, and extra profile data.
  • Keep the original image dimensions while re-encoding.
  • Turn on lossy compression to use a quality slider for JPEG and WebP output.
  • Use stronger PNG optimization when lossy compression is enabled.
  • Compare original size, optimized size, and percent saved before downloading.
  • Keep the optimized output in the same file type as the original.
  • Keep the original file automatically when re-encoding would make it larger.
  • Keep private images on your device.
  • No account needed.

What gets removed

The optimizer decodes the selected image locally, draws it at the original dimensions, and exports a fresh file in the same format. Browser image exports do not preserve EXIF data, embedded thumbnails, comments, or extra profile data from the source file.

How image optimization works

Images are opened with the browser image decoder, drawn to a canvas at their original dimensions, and compressed with the matching encoder for the original file type. If advanced compression is unavailable, the optimizer falls back to the browser canvas exporter. Smaller file mode uses the selected quality for JPEG and WebP images and a stronger optimizer level for PNG images. If the same-format export is larger, the optimizer keeps the original file instead.

Image optimizer FAQ

Are my images uploaded?
No. The image is decoded, compressed, and downloaded in your browser.
Why did my image file not get smaller?
Some PNGs and already-compressed images are difficult to shrink. If the same-format export is larger, the optimizer keeps the original file instead.