Same as source keeps the original JPG, PNG, or WebP format. Choose PNG or WebP to preserve transparency.

Compress JPG, PNG, and WebP Images in Your Browser

Reduce image dimensions, adjust quality, or convert between JPG, PNG, and WebP without uploading files to a server. The tool shows the original and output file sizes plus the actual percentage saved, so you can compare settings before downloading.

How to Compress an Image

  1. Choose a JPG, PNG, or WebP image from your device.
  2. Select the output format. Keep the source format for compatibility, use JPG for photos, or choose PNG/WebP when transparency matters.
  3. Set quality and a maximum width, then click Compress.
  4. Check the resulting dimensions and file-size change before downloading.

Quality affects JPG and WebP output. Browser canvas export does not provide a quality control for PNG, so resizing or converting to WebP is usually more effective for large PNG files.

Frequently Asked Questions

Are my images uploaded?

No. Loading, resizing, conversion, preview, and export happen locally in your browser.

How do I keep a transparent background?

Use PNG or WebP output. JPG does not support transparency, so transparent pixels are placed on a white background when JPG is selected.

Why can the output be larger?

An already optimized image, a higher-quality setting, or conversion to PNG can increase file size. The result clearly shows this so you can lower quality, resize further, or try WebP.

Does the output keep EXIF metadata?

No. Canvas export creates a new image and normally removes camera metadata, including embedded location data.