File ToolsRuns in your browser
Image Compressor
Compress JPG, PNG and WebP images directly in your browser. Compare before/after, control quality and download the result.
Drop files here, or
JPG, PNG, WebP — processed entirely in your browser.
How it works
The image compressor uses your browser's built-in canvas.toBlob API to re-encode images at the quality and format you choose. The original image is decoded into a canvas, then exported to a new file.
- JPG and WebP are lossy — smaller files, slight quality loss.
- PNG is lossless — preserves every pixel but produces bigger files.
- Optional max-width downscales images that are too large while keeping the aspect ratio.
All processing happens locally — your images are never uploaded.
Examples
Common starting points:
- Photos for the web: JPG, quality 75%
- Maximum savings: WebP, quality 70%
- Transparent images: PNG, no quality slider
- Email attachments: JPG, max width 1600px, quality 80%