What the Image Compressor does
This page re-encodes a picture at a lower quality setting to shrink its file size, using the encoder built into your browser. You pick one file, move a quality slider, and press the compress button. The page then shows the new version next to the original size, with the percentage saved, and offers a download button once a compressed file exists.
A typical job: a photo is over the upload limit on a form, so you open it here, set the slider to about 70 and compress. The stats line reports the original size, the new size and the reduction. If the result is still over the limit, lower the slider and run it again. The pixel dimensions never change, so the saving comes purely from discarding colour detail.
How to use it
- Choose one imageUse the file picker to open a JPEG, PNG or WebP from your device. The browser reads the file locally through the FileReader interface, so the picture is never sent to a server.
- Set the qualityDrag the slider between 10 and 100 per cent and watch the label beside it update. Lower values produce smaller files along with softer texture, banding in smooth gradients and smeared edges on fine lines.
- Press compressThe image is redrawn onto a canvas and re-encoded at the quality you chose. The preview swaps to the new version and the stats line reports both sizes plus the percentage reduction.
- Download or retryPress the download button to save the result, named compressed with the matching extension. To compare settings, move the slider and compress again, because each run replaces the previous file rather than adding another.
Options and formats
Things to watch out for
Frequently asked questions
Why is my PNG hardly smaller after compressing?
PNG is lossless, so the quality slider has nothing to trade away. Whatever reduction appears comes from the canvas re-encoding rather than from the slider setting. For a substantial saving on a photograph, export it as JPEG first and compress that copy instead.
What quality setting should I use?
Start at 80 for web pages and previews, where the difference is hard to spot at normal viewing size. Move towards the middle of the range when a form or an email has a hard size limit. Near the bottom the image starts to band and smear, so check the preview before you ship it.
Does compressing change the image dimensions?
No. The picture is copied onto a canvas at its original width and height, and only the encoding quality changes. A photo that is too wide for a layout stays too wide after compression, so resize it in an editor and compress the result if size in pixels is the problem.
Is my photo uploaded anywhere?
No. The browser reads the file, re-encodes it on a canvas inside the page, and never transmits it. You can confirm this in the network panel of your developer tools, where no request carries the image data, which is why the tool also works on a phone with a slow connection.
Can I compress several images at once?
No. The picker holds one file at a time and every run overwrites the previous result, so there is nothing to queue. Work through a batch one image after another, saving each download and checking its size before you pick the next file.
Why does the slider stop helping near 100?
The top of the range removes very little data, so the byte count barely moves while the picture stays visually identical. The size falls fastest through the middle of the range, which is why a setting around 70 to 80 is the practical starting point for photographs headed to a web page.