How to compress JPG, PNG, and WebP images in your browser
Drop an image, compare original vs compressed side by side, see savings %, download — your photo never leaves your device.
Large images slow down pages, fill up email inboxes, and hit upload limits. The Image Compressor shrinks JPG, PNG, and WebP files using the browser's Canvas API — with side-by-side preview, savings percentage, and optional EXIF stripping.
How it works
- Drop or select an image — JPEG, PNG, WebP, GIF, or BMP. The original size and dimensions are shown.
- Adjust settings — quality slider (1–100%), scale (100% down to 25%), output format, and EXIF strip toggle.
- Compress and compare — click "Compress image", see original vs result side by side, check savings %, then download.
What actually reduces file size
- Lower quality — for JPEG and WebP, reducing quality removes imperceptible detail. 80% is a good default; 60% for thumbnails.
- Smaller dimensions — halving width and height cuts pixel count by 75%. A 4000×3000 photo rarely needs to be that large on the web.
- Format choice — WebP typically beats JPEG at the same visual quality. PNG is lossless but larger; use it when you need transparency.
- EXIF removal — re-encoding on canvas strips GPS, camera model, and other metadata, which can shave extra bytes from phone photos.
Privacy
Unlike cloud compressors that upload your file to their servers, this tool decodes the image in memory, redraws it on a canvas at the target size and quality, and encodes the result locally. Nothing is sent over the network except loading the page itself.
When to use something else
For animated GIFs, use the GIF Compressor — it handles frame dropping and palette reduction. For format conversion without compression focus, try the Image Converter.