Image Compressor
Reduce image file size while keeping visual quality. Drag and drop multiple files, adjust quality, and download instantly — your images never get uploaded. Supports JPG, PNG, and WebP.
Drop images here
or click to browse · supports .png .jpg .webp · batch allowed
About the Image Compressor
This image compressor runs entirely in your browser using the HTML5 Canvas API. When you select an image, the tool reads it locally, draws it onto a canvas, and re-encodes it via toBlob at your chosen quality level. For JPG and WebP output, lower quality values produce smaller files (lossy compression). For PNG, re-encoding is lossless — to dramatically shrink a PNG, switch the PNG output option to Convert to JPG. Nothing is uploaded to a server, so your images stay private.
Lossy vs lossless compression
- JPG and WebP use lossy compression — they discard visual information that's hard for the human eye to perceive. A photo can typically be compressed 60–80% without visible quality loss.
- PNG uses lossless compression — no quality is lost, but file sizes remain larger. Best for graphics with text, sharp edges, or transparency.
- For photographs, JPG or WebP at 70–80% quality is usually indistinguishable from the original but 5–10× smaller.
When to compress images
- Web publishing: smaller images make pages load faster and improve SEO.
- Email and chat: many services cap attachment size; compression helps you stay under the limit.
- Storage: free up disk or cloud space without deleting images.
- Mobile: save bandwidth and battery for users on cellular networks.
How to compress images
- Drag and drop one or more images onto the drop zone above, or click to browse.
- Adjust the quality slider (1–100). For PNG files, choose whether to keep PNG or convert to JPG.
- Click Compress Images. Each compressed image appears with its before/after size and a download button.
Frequently asked questions
Does this tool upload my images? No. All processing happens locally in your browser using Canvas.
Can I compress multiple images at once? Yes. The input supports batch selection and the tool processes each file independently.
What quality should I choose? For most photos, 70–80% gives an excellent balance of size and quality. Use 85–95% for archival, or 50–65% for thumbnails and previews.
Why is my PNG not getting smaller? PNG is lossless — re-encoding only strips metadata. To significantly reduce PNG size, switch the PNG output option to Convert to JPG (transparency will be filled with white).
Is there a file size limit? The only limit is your browser's available memory. Very large images may take a few seconds.