Image · free

Image Compressor

Compress JPG, PNG and WebP images to a smaller KB or MB with a live before/after preview. Quality you control — files never leave your device.

Runs on your device — nothing uploadedNo sign-up or limitUpdated October 2026
Drop an image here
or click to browse · JPG, PNG or WebP

Files are processed locally in your browser and never uploaded.

PNG is lossless — the quality slider mainly applies to JPG and WebP.

Original
–
Compressed
–
Saved
–

About the Image Compressor

Compress JPG, PNG and WebP images to a smaller KB or MB with a live before/after preview. Quality you control — files never leave your device.

Your image is decoded and re-encoded inside your browser by the HTML Canvas API.

How to use the Image Compressor

  1. Step 1Drop or click to choose a JPG, PNG or WebP image.
  2. Step 2Set the output format and quality, then press <strong>Compress image</strong>.
  3. Step 3Compare the sizes, check the preview and hit <strong>Download</strong>.

When people reach for this tool

Shrink a heavy image that is slowing a page down

Oversized originals are the most common cause of slow pages. Compressing first cuts the download without changing what visitors see.

Fit a photo under a mail server size limit

Mail servers reject large attachments outright. Getting the file down to a few megabytes is faster than reshooting it smaller.

Stop an upload timing out on a weak connection

A smaller payload uploads in less time and retries more reliably when the signal drops mid-transfer.

Practical tips

  • Drop the quality slider only as far as the result demands. File size drops steeply around the 70–85 range and barely moves below it.
  • Always keep the original. JPG compression is lossy, so compressing an already compressed photo again stacks up the artefacts.

What you get

  • Client-side compression — files never leave your device
  • Drag & drop, click to browse, or paste a file
  • Before / after file size and percentage saved
  • Quality slider with live output size
  • Download as JPG, WebP or PNG

Image Compressor — FAQ

Why is my PNG not getting smaller?
PNG is a lossless format, so the quality slider does not apply to it. For photos or images with gradients, choose JPG or WebP for much smaller files.
Are my images uploaded anywhere?
No. The image is processed locally on your device using the browser’s Canvas API and never transmitted to any server.
How precise is the quality slider?
It maps directly to the encoder quality from 10% (very compressed) to 100% (best quality). The exact size depends on the image content.
Does compressing an image reduce its quality?
A little, and how much depends on the quality you choose. At the default setting the difference is hard to notice at normal viewing size, but crisp text and thin line art show artefacts sooner than a photograph does.
Should I compress a PNG or a JPG?
Photographs belong in JPG. Screenshots, logos and flat graphics with few colours do better as PNG. If you are not sure which format suits the file, run it through the Image Converter first.

Read next

More image tools

All 12 other tools in this collection — free, no sign-up, nothing uploaded.

← All 104 tools · A–Z index · Browse by what you are doing