Image Compressor
Shrink JPG, PNG and WebP files without losing visible quality.
About this tool
Reduce image file size dramatically for faster websites, emails and uploads. Compress quality levels, see a live before/after comparison, and download smaller files — all locally in your browser.
How it works
Images are decoded to a canvas and re-encoded via canvas.toBlob with the chosen quality and format. File size is measured from the resulting Blob, and previews render from object URLs created in memory. Nothing is persisted.
How to use Image Compressor
- 1Upload an image by dragging and dropping, pasting, or clicking to browse.
- 2Drag the quality slider and watch the preview and file-size readouts update.
- 3Compare the original and compressed image side by side.
- 4Download the compressed file, or copy it to your clipboard.
Examples
A 2.4 MB photo compresses to 320 KB at 70% quality — over 85% smaller.
A PNG screenshot drops from 1.1 MB to 190 KB as WebP.
Compressing to 90% quality is often visually identical to the original.
Pro tips
- For photos use 70–85% quality: the file drops a lot, quality barely changes.
- For logos and screenshots, export as PNG or WebP rather than JPEG to avoid artifacts.
- WebP output is usually the smallest at equal quality — try it first.
Frequently asked questions
Where do my images go?
Nowhere. All compression happens in your browser using the Canvas API. Your images are never uploaded.
Which formats are supported?
JPG, PNG, WebP, GIF and BMP can be compressed. Output formats are JPG, PNG or WebP.
Why does the file size barely change at high quality?
JPEG is already efficient, so above ~90% quality the savings are small. Lower it to 70–80% for the best trade-off.
Advertisement
