Reduce JPG, PNG and WebP file sizes privately in your browser.
Images are processed entirely on your device — never uploaded.
Understanding your result
The result card shows the original size, the new size and the percentage saved. Because everything is local, even large or sensitive photos stay private.
Formula and method
The image is drawn onto an off-screen canvas and re-encoded at your chosen quality. Lower quality and smaller dimensions both reduce file size. PNG output is lossless, so use JPEG or WebP for the biggest savings.
Worked example
A 4 MB JPEG photo re-encoded at 70% quality and resized to 1600 px wide commonly drops to well under 1 MB with little visible difference.
How to use this tool
- Choose an image from your device.
- Set the quality, output format and optional max width.
- Press Compress, then download the smaller file.
Common mistakes to avoid
- Expecting PNG to shrink dramatically — it is lossless; choose JPEG or WebP for photos.
- Setting quality so low that visible artefacts appear.
About the Image Compressor
The Image Compressor reduces photo file sizes using your browser’s built-in canvas engine. Adjust quality, convert formats and optionally resize — all without uploading your images anywhere.
Frequently asked questions
Are my images uploaded?
No. Compression happens entirely in your browser using the canvas API. Nothing is sent to a server.
Which format should I pick?
WebP usually gives the best size for photos, JPEG is the most compatible, and PNG preserves transparency losslessly.