Skip to content

Image Compressor

Shrink image file size in your browser without uploading it anywhere.

Drag an image here, or

Processed entirely in your browser — nothing is uploaded to a server.

Ad space

About this tool

Drag in a JPEG, PNG, or other image and adjust the quality slider to shrink its file size while keeping it visually sharp. JPEGs stay JPEGs; PNGs and other formats are converted to WebP (or JPEG as a fallback) since WebP actually supports a quality setting and keeps transparency, unlike PNG. Compression runs entirely on your device using the canvas API, so your images never leave your browser.

How to use this tool

  1. 1

    Upload an image

    Drag a JPEG, PNG, or other image onto the drop zone, or click to choose a file.

  2. 2

    Adjust the quality slider

    Lower quality means a smaller file; 70–80% is a good starting point for photos.

  3. 3

    Download the result

    Compare the original and compressed sizes, then download the compressed file.

Frequently asked questions

Is my image uploaded to a server?
No — compression happens entirely in your browser using the HTML canvas API. The image file never leaves your device.
What quality setting should I use?
70-80% quality is a good starting point for most photos: it removes a large share of the file size with minimal visible difference. Go lower if you need the smallest possible file, or higher for images with fine detail.
Why did my PNG come out as a WebP file?
PNG compression is lossless and has no quality setting to adjust, so re-encoding a PNG as a PNG usually can't shrink it and can occasionally make it larger. WebP supports the same transparency as PNG but with an adjustable quality setting, so it's used instead whenever your browser supports it.
Why did my compressed file come out larger than the original?
This can happen if the source file was already efficiently compressed — for example a well-optimized PNG or a JPEG saved at low quality already. Try lowering the quality slider, or the file may already be close to its practical minimum size.