Apex Tools logoApex Tools

Converters

Image Compressor

Compress JPG, PNG and WebP images in your browser, compare file sizes, and download the result.

Reduce JPG, PNG and WebP file sizes without uploading your images to a server. Choose an image, adjust the quality and maximum width, and download the result as JPG, WebP or PNG. Compare the original and output sizes before downloading: savings depend on the image and settings, and a smaller file is not guaranteed.

Use this tool →

Image Compressor

Compress JPG, PNG and WebP images in your browser, compare file sizes, and download the result.

Compress JPG, PNG and WebP images in your browser, compare the original and output sizes, and download the result. Savings depend on the source image, dimensions and format; the output may be larger. Inspect the preview before choosing a file for your website, email or social post.

Choose or drop an image up to 25 MB. The initial settings are JPG, 70% quality and a maximum width of 1920 px. Selecting JPG or WebP input switches the output to that format. Quality affects JPG and WebP, not PNG. JPG replaces transparent areas with white.

For a dimensions example, a 2200 × 1000 image becomes 1920 × 873 at the default maximum width. Clear the maximum width to keep the original dimensions. Compare the displayed byte sizes rather than expecting a fixed percentage reduction.

The compressor reads and re-encodes your selected image locally using browser canvas. The compressor does not upload the image to a server. Download saves a new file; your original file is unchanged.

Key Features

  • Image Compressor: free to use
  • Adjust inputs and review results
  • Inputs processed in your browser
  • Works on phone, tablet and desktop
  • Available in English, Spanish, French and Arabic

How it works

The tool utilizes a hidden HTML5 canvas to resize the image and the browser's native 'toBlob' API to re-encode the pixels with the specified quality and format settings directly in your device's memory.

Worked example

A 2200 × 1000 image becomes 1920 × 873 at the default maximum width. File size depends on format and quality.

Frequently asked questions

Is there a file size limit?

Yes, for optimal performance in the browser, the tool supports images up to 25 MB.

Which formats are supported?

You can upload JPG, PNG, and WebP files. You can also output your compressed image to any of these three formats.

Does compression affect the image dimensions?

The default maximum width is 1920 px, so wider images are resized. Clear it or enter a width at least as large as the original to keep dimensions. JPG and WebP use the quality setting; PNG does not. A smaller file is not guaranteed.

Are my photos uploaded to a server?

No, all compression happens locally on your device. We never see, store, or transmit your images.

Why is my PNG not getting smaller?

PNG uses lossless encoding, so the quality slider does not reduce its quality. Try reducing the maximum width or choosing WebP or JPG. JPG replaces transparency with white. Compare file sizes and inspect the result before downloading.

Related tools