Image Compressor

Reduce image file size by resizing and, for JPG and WebP, adjusting encoding quality. PNG is encoded losslessly and ignores quality; its output may be larger. Compress up to 50 images at once in your browser and see the saving for each file.

  • Free, no signup
  • Runs in your browser
  • Reviewed November 17, 2026

Settings

Images are only scaled down, never up.

Images

Drag images here, paste with Ctrl+V, or

Up to 50 files. PNG, JPG, WebP, GIF, BMP, AVIF, SVG, HEIC/HEIF, TIFF. Files stay on your device. HEIC/TIFF: up to 20 MB per file; primary image or first page only.

How to use the Image Compressor

  1. Keep a browser-encodable original format, or explicitly choose JPG or WebP. PNG stays lossless and transparent; other inputs this browser cannot encode in their original format become PNG. JPG removes transparency by filling it with white.
  2. Set quality for JPG, WebP or a supported AVIF output. PNG ignores quality, so the control is disabled when it has no effect. For photos, start around 70 to 80% and inspect the result; settings and savings are image-dependent.
  3. Set a maximum size. 1920 px on the longest side is plenty for full-width web images; 1280 px or less for email.
  4. Add images and press Compress. Each row shows the old size, the new size, and the percentage saved.

How it works

Two things reduce image file size: fewer pixels and stronger compression. This tool does both in your browser. It scales the image down to the maximum size you choose, then re-encodes it. JPG, WebP and supported AVIF outputs use the quality setting; PNG is lossless and ignores it.

Halving the width and height cuts the pixel count to a quarter, which typically shrinks the file more than any quality change. Phone photos are often 4000 px wide or more, far larger than any screen needs.

If a result comes out larger than the original, which can happen with already well-compressed files at high quality, the row shows it so you can keep the original instead.

Worked example: a phone photo for a blog post

A typical 12-megapixel phone photo is 4032×3024 pixels. Resized to 1920 px on the longest side it becomes 1920×1440, about 23% of the original pixel count, before any quality change.

Encoding that at 75% quality as JPG or WebP usually reduces a multi-megabyte photo to a few hundred kilobytes. The exact result depends on the content: detailed scenes compress less than smooth skies.

UseSuggested settings
Full-width website image1920 px, 75 to 80%, WebP
Blog or article image1280 px, 75%, WebP or JPG
Email attachment1280 px, 70%, JPG
Thumbnail640 px, 70%, WebP

Limitations

  • JPG and quality-controlled WebP or AVIF encoding can be lossy. Repeated lossy re-encoding degrades images, so start from the original. PNG encoding is lossless, but resizing still changes the pixels and re-encoding can increase file size.
  • Metadata such as EXIF data and GPS location is removed.
  • This tool re-encodes PNG but does not provide a dedicated PNG size-optimisation pipeline. Keep the original dimensions to avoid resizing; use a dedicated PNG optimiser when you need size optimisation without resizing or converting to a lossy format.
  • Animated images are reduced to their first frame.

Frequently asked questions

How much can I compress an image without losing quality?

For photos, quality between 75 and 85% is usually indistinguishable from the original at normal viewing size. Resizing an oversized image to the size it will be displayed at often saves more than lowering quality.

Does compressing an image remove location data?

Yes. The output is a freshly encoded image with no EXIF metadata, so GPS coordinates and camera details are not included.

Why did my file get bigger?

If the original was already efficiently compressed, re-encoding at a higher quality can produce a larger file. Lower the quality or keep the original.

What size should images be for a website?

Match the largest size they are displayed at, doubled for sharp high-density screens if needed. Full-width images rarely need more than 1920 to 2560 px wide.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool