Skip to content
Devtoolry

Image Compressor

Compress JPEG, PNG and WebP images online with a quality slider and optional resizing. See the size saved for each file. Images never leave your browser.

Something not working, or missing a feature? Send feedback

About the Image Compressor

The Image Compressor makes JPEG, PNG and WebP files smaller so pages load faster and uploads fit size limits. Choose a quality level and, optionally, a maximum width or height; each file shows its size before and after and how much you saved. Compression runs in your browser, so photos are never uploaded.

Images are processed in your browser with its built-in codecs, so your photos and screenshots are never uploaded.

How to use the Image Compressor

  1. Drop one or more images onto the box, paste them, or choose files.
  2. Keep the original format or switch to WebP, and set the quality (70–85 suits most photos).
  3. Optionally set a maximum width or height to shrink large photos.
  4. Download each file, or use Download all.

Common mistakes

  • Compressing a huge photo instead of resizing it. A 4000-pixel-wide photo shown 800 pixels wide wastes most of its bytes. Set a maximum width close to the displayed size first; it saves far more than lowering quality.
  • Compressing the same file repeatedly. Each lossy save loses a little more detail. Always start from the original image, not from an already compressed copy.

Works well with the Image Compressor

Frequently asked questions

How much smaller will my images get?

Photos straight from a phone or camera often shrink by 60–90% at quality 75, especially when you also limit the width to what your page displays. Images that were already optimised may barely change; the tool then keeps the original.

Why did my PNG not get smaller?

PNG is lossless, so there is no quality setting to lower, and the browser re-encodes it without discarding detail. Convert it to WebP, which keeps transparency and is usually far smaller, or reduce its dimensions.

Does compression remove metadata?

Yes. Re-encoding drops EXIF data such as camera details and GPS location, which also protects your privacy. The image is rotated correctly before the orientation tag is removed.

Are my images uploaded?

No. Decoding and encoding use your browser's built-in image codecs on your device.