Image Compressor
Reduce the size of images (PNG, JPEG, WebP) locally in the browser without losing quality.
🔒 Processed entirely in your browser — nothing you enter here is ever uploaded.
The result appears on this page after you run the tool. Nothing you enter is uploaded.
Result
About this tool
Are you familiar with the situation when the site does not allow you to upload a photo, because its file weighs more than 2 megabytes, and you do not have special programs for compressing images at hand?
Our local image compressor will solve this problem in a moment completely confidentially. Because compression happens in your browser using the Canvas API, your private photos are not shared over the network.
You can flexibly adjust the quality level using a convenient slider and immediately see the final file size and quality on the preview. Batch compression of multiple photos is also available.
Example. A JPEG exported at quality 0.8 is re-encoded through canvas.toDataURL with that quality factor.
Limit. PNG export ignores the quality slider, because canvas PNG encoding has no quality argument.
Are my images uploaded anywhere to be compressed?
No. Compression runs locally using the browser's Canvas API — the image is decoded, resized and re-encoded entirely on your device, and the result never travels over the network. You can confirm this in your browser's developer tools: open the Network panel and compress an image; no request carrying the file will appear.
Does the quality slider work the same way for PNG and JPEG?
Not quite. JPEG (and WebP-sourced files exported as JPEG) genuinely compress at the quality level you choose, trading some detail for a smaller file. PNG is a lossless format — the canvas re-encode can't apply a quality factor to it, so for PNG inputs the quality slider mainly affects nothing and the size reduction you'll see mostly comes from the scale slider instead. For maximum PNG size savings, scale the dimensions down or convert to JPEG if transparency isn't needed.
Will compression be visible on the final image?
At moderate settings (roughly 70-90% quality on JPEG), compression artifacts are typically not noticeable at normal viewing size. Pushing the slider much lower trades visible detail for a smaller file — the live preview shows you the actual result before you download, so you can judge it directly rather than guessing.
Can I compress more than one image at a time?
Yes, batch compression is supported — add multiple files and each is compressed with the same quality and scale settings, so you don't have to repeat the process one image at a time.