Image Compressor

Compress JPG, PNG and WebP images in your browser to reduce file size without uploading them. See real before-and-after sizes and download the result.

Runs in your browser
Loading Image Compressor...

How to use

  1. 1

    Drag an image onto the upload area, or click and choose a file (JPG, PNG or WebP).

  2. 2

    Move the quality slider - lower means a smaller file with more compression.

  3. 3

    Choose an output format if you want to convert at the same time.

  4. 4

    Compare the previews and size figures, then click Download.

How it works

Your image is decoded in memory, redrawn onto a canvas and re-encoded at the quality you choose. Modern canvas encoding produces smaller JPEG and WebP files because it applies a fresh, tuned compression pass and drops redundant metadata.

Frequently asked questions

Does the image leave my device?

No. The whole process runs inside your browser using the built-in canvas API.

What does the quality slider do?

Lower quality values discard more fine detail and produce smaller files. Values around 60-80 usually look indistinguishable from the original on normal screens.

Why may a PNG not shrink much?

PNG stores pixels losslessly. Re-encoding a PNG as JPEG or WebP is where the big savings come from; a lossless re-encode is limited to metadata cleanup.

Is the file saved anywhere?

No. Nothing is uploaded and nothing is stored on any server.

Related tools