Image Compressor - Reduce JPG, PNG & WebP Size
Compress JPG, PNG, and WebP images in your browser. Pick quality and max width, compare sizes, and download. Files never leave your device.
Your files never leave your device.
Lower quality creates smaller files.
Use 0 to keep the original resolution.
The compressor downloads on first use and runs in a Web Worker.
What this image compressor does
Large photos slow down websites, fill up email inboxes, and hit upload limits. This tool re-encodes JPG, PNG, and WebP images in your browser at a lower quality or a smaller maximum dimension. You can compress one image or a batch, compare the original and output sizes, and download the result. The files are never uploaded to a server.
How to compress an image
- Add your images. Drag JPG, PNG, or WebP files onto the box above, or choose them from your device. Batch compression is supported.
- Choose a quality. 80% is a good starting point for photos. Drop to 70% or 60% when file size matters more than fine detail.
- Set a maximum dimension. 1920 px is enough for most screens. Use 0 to keep the original resolution, or a smaller value for thumbnails and previews.
- Compress and download. Each finished image shows its new size and a download button. The original file is left unchanged.
Tips for better results
- Compressing an already-compressed JPG can remove detail without saving much space. Check the before and after sizes.
- PNG is lossless, so the quality setting has little effect. Reducing the dimensions is usually the best way to shrink a PNG.
- Re-encoding removes EXIF metadata such as camera details and GPS location. This is often useful for privacy.
- Keep a copy of the original if you may need the full resolution later.
When to use it
Use the compressor before uploading images to a website, attaching them to email, or adding them to a document. It is also useful for shrinking screenshots, product photos, and blog images. If you need a different format, use the WebP or HEIC converters instead.
Frequently asked questions
How much smaller will my images be?
It depends on the image and your settings. Most photos shrink substantially at moderate quality, but screenshots and already-compressed files may change less. The tool shows before and after sizes.
Does compression remove metadata?
Re-encoding through the browser canvas usually removes EXIF metadata and embedded color profiles. The image orientation is applied before compression.
Which formats can I compress?
JPG, PNG, and WebP that your browser can decode. HEIC files need to be converted to JPG first.
Is there a file size limit?
There is no server limit, but very large images are limited by your device's memory. For best results, compress large images in small batches.