Image Compressor

Re-encode a JPG, PNG, or WebP image in your browser, compare the file sizes, and download a separate copy.

Choose an image up to 10 MB.
Original
Original image preview
Compressed result
Compressed image preview

Last updated: 7 November 2026

Compress an image and check the result

  1. Choose or drag in one JPG/JPEG, PNG, or WebP image up to 10 MB (10,485,760 bytes).
  2. Choose an output format and a quality setting from 10–95%. The starting quality is 75%.
  3. Select Compress image, then compare the original and result previews and the size report.
  4. If the result suits your purpose, select Download result. The download is a new file; the original is not overwritten. Check it at its intended display size, including a narrow mobile layout if it will be used online.

After changing quality or format, select Compress image again to create a result with those settings. Choosing a replacement file clears the old result. Cancelling the file picker without choosing another file keeps the current selection.

What the settings actually change

The tool decodes the image, draws it onto a browser canvas at its natural pixel dimensions, and asks the browser to encode a new file. It has no resize or crop controls. If you need smaller dimensions or a tighter crop, make that change in an image editor first. Use a dedicated editor if your workflow also requires controlled metadata removal.

Automatic requests the input image’s format. You can instead request JPG, WebP, or PNG. JPG is useful for ordinary photographs; PNG or WebP can preserve transparency. JPG cannot retain a transparent background. Check that your destination accepts the downloaded format.

The quality percentage is an encoder setting, not a promised percentage reduction in file size. Start near the default for a photo, then inspect faces, text, and fine edges. PNG and already-optimized images may show little saving or become larger. Keep the original for archival work or when preserving the original quality matters.

Read the size comparison

The report compares the original and result sizes. Percentage change is calculated from (original size − result size) ÷ original size × 100. A larger result is labelled as larger rather than presented as a saving. Displayed KB values are rounded.

Two synthetic PNGs were checked in the live tool using Chrome on Windows on 1 November 2026:

InputResultInterpretation
1000 × 300 PNG, 5,838 bytes; WebP requested at 75% quality1000 × 300 WebP, 6,154 bytesThe result was 5.4% larger. Keeping the original was the smaller-file choice.
1200 × 400 PNG, 8,567 bytes; the quality setting was not recorded1200 × 400 WebP, 8,414 bytesThe result was 1.8% smaller. The downloaded file opened and contained the expected second sample.

These are recorded examples, not target savings. Your source image, browser encoder, and settings can produce different results. Compare visual quality as well as file size.

For a fuller photo-and-screenshot workflow, read How to Compress Images for a Website Without Sacrificing Too Much Quality.

If an image cannot be processed

Only one image is processed at a time. An unsupported format, an unreadable image, or a file over the limit needs a different input. Export a genuine JPG, PNG, or WebP, or prepare a smaller image in an editor. Large pixel dimensions can also strain the browser even when the file is within the file-selection limit.

“Result is larger” is a size warning, not a missing result. You can keep the original or compare another quality/format combination; there is no guarantee that another attempt will be smaller.

Processing and privacy

The compressor’s code reads the selected file through local browser object URLs and uses the Canvas API; it has no image-upload step. The file and previews remain available to this page while you work. There is no Clear button in this version; close the page when finished on a shared device, and manage downloaded copies separately.

Local image processing does not mean that visiting the website makes no network requests. See the Privacy Policy for website services and data handling.