Tools

Image Compressor

Compress JPEG, PNG and WebP images in bulk, or to a target size

Drop images here or tap to choose
JPEG, PNG, WebP, GIF, BMP · several at once

Choose one or more images to start.

How to compress images online

  1. Drop one or more images on the box above, or tap it to choose files.
  2. Pick an output format. Same as original keeps JPEG as JPEG and PNG as PNG; WebP is usually the smallest.
  3. Lower the quality slider for smaller JPEG and WebP files, or set a max width to shrink large photos.
  4. To hit a size limit, type a target size in KB. The tool searches for the highest quality that fits.
  5. Download each file, or all of them at once as a ZIP.

Results update when you change an option, so you can compare sizes quickly. The table shows the size before and after, and how much you saved.

Which settings should I use?

For photos, JPEG or WebP at 70–85% quality looks almost identical to the original and is often 60–90% smaller. Resizing helps even more: a 4000 pixel phone photo shown at 1200 pixels on a website carries over ten times more pixels than needed. For screenshots, logos and graphics with flat colors, use PNG with 256 colors. This reduces the palette like popular PNG optimisers do, and often cuts the file size by half or more while keeping transparency.

Transparent areas become the background color you choose when saving as JPEG, because JPEG has no transparency.

Private by design

Your images are compressed by your own browser using the Canvas API. They are never uploaded, so this is safe for personal photos and confidential documents, and it works offline once the page has loaded. Re-encoding also removes EXIF metadata such as GPS location.

Will compressing reduce image quality?

JPEG and WebP are lossy, so some detail is discarded, but at 75% or more the difference is hard to see. Lossless PNG keeps every pixel exactly. Palette PNG keeps sharp edges but can show banding in smooth photo gradients.

Why did my file get bigger?

An image that was already well optimised, or a photo converted to PNG, can grow. Use a lower quality, JPEG or WebP for photos, or set a target size.

Can I compress an image to an exact size like 100 KB?

Yes. Enter the target in KB. The tool lowers quality first and only shrinks the dimensions if the lowest quality is still too big.

Does it work with HEIC photos from an iPhone?

Most browsers cannot decode HEIC. Set your iPhone camera to "Most Compatible" or export the photo as JPEG first.