Image Compressor
Compress PNG, JPEG, WebP, and AVIF images to a target size
Files stay in your browser. PNG size targets may require downscaling; originals are never overwritten.
Compressed images will appear here.
About this tool
Image Compressor helps you reduce PNG, JPEG, WebP, and AVIF files for websites, email attachments, forms, and upload limits. Choose a practical target such as 20 KB, 50 KB, 100 KB, 200 KB, or 500 KB, then adjust minimum quality and an optional maximum edge. The browser searches quality and dimensions automatically, reports the before-and-after bytes, and lets you download individual results or a ZIP. Transparent files are kept when the selected format supports them; JPEG outputs use a white background. Processing is local and originals are never overwritten.
Scenario Recipes
Prepare website images for a 100 KB upload limit
Goal: Reduce a batch of product or article images while keeping enough detail for normal screen viewing.
- Select the source images and choose WebP with a 100 KB target.
- Set a practical minimum quality and maximum edge for the destination layout.
- Review target status and dimensions for each result, then download individual files or the ZIP.
Result: You get upload-ready images with explicit size results while retaining the untouched originals.
Frequently Asked Questions
Can the compressor guarantee an exact file size?
No. Encoders and image content make exact byte sizes impractical. The tool gets as close as possible and clearly reports when the target cannot be reached without crossing the minimum quality or resize limits.
Which format is usually smallest?
WebP is often a good general-purpose choice. JPEG works well for photos, while PNG is best when lossless detail or transparency matters.
Will transparent backgrounds stay transparent?
PNG, WebP, and AVIF can preserve transparency when the browser encoder supports it. JPEG cannot, so transparent pixels are rendered on white.
Does compression upload my images?
No. Decoding, resizing, encoding, and ZIP creation run in the current browser tab.
Why is a PNG still larger than the target?
PNG is lossless and some images do not compress much. The tool may reduce dimensions, but it will not silently apply lossy JPEG conversion unless you choose another output format.
Can I compress several images at once?
Yes. Select up to 30 images, review each result, and download them together as a ZIP.
Keep browsing