Image
Image Compressor
Shrink JPG, PNG, and WebP images right in your browser — adjustable quality, instant before/after comparison.
Loading compressor…
About this tool
Drop one or many images and tune the quality slider. The tool re-encodes each image with HTML Canvas right in your browser — your files never leave the device.
Best results: JPG and WebP at 70–85% quality typically halve the file size with no visible difference. PNG with transparency is re-encoded as PNG (lossless) or as WebP (much smaller).
Frequently asked questions
- Does my image get uploaded?
- No. Compression runs in your browser via the HTML Canvas API. Your file never leaves your device.
- Which format should I pick?
- WebP usually wins for both photos and graphics — typically 25-35% smaller than JPG at the same visual quality, and it supports transparency. JPG is best for maximum compatibility (older email clients, some legacy CMSes). PNG is for cases where you must keep lossless transparency.
- Why is my PNG barely smaller?
- PNG is lossless — quality is fixed. Real shrink for PNG comes from converting to JPG or WebP. If your PNG has transparency, switch to WebP to keep the alpha channel and still get a big size cut.
- What's the file size limit?
- There's no hard limit, but very large images (>50MP) may be slow on older devices because the browser has to decode and re-encode them in memory.