What Is Image Compression?
Image compression reduces an image file's size while balancing visual quality. Smaller images can reduce page-transfer size and improve loading performance, especially on slower mobile connections.
Lossy encodingremoves visual information to reduce size and is used by this tool's JPEG and WebP outputs. PNG preserves the redrawn pixel data without lossy encoding, although Canvas conversion does not retain the original metadata, animation, color profile, or compressed byte stream. Results depend on the image, dimensions, format, quality, and browser encoder.
How to Compress Images Online
Upload your images
Add up to 25 browser-decodable images. Each file can be up to 25 MB, with 150 MB and 80 megapixels allowed per batch.
Adjust compression settings
Choose JPEG, PNG, or WebP output. Set quality for JPEG/WebP, resize by percentage, or enter exact width and height. Leave one dimension blank to preserve the original aspect ratio.
Click Compress All
Images are processed locally in sequence to reduce peak browser memory use. Each completed card shows dimensions and file-size change.
Preview and compare
Toggle between the original and compressed version on each image card to visually verify quality before downloading.
Download
Download individual images with the per-card Download button, or click Download All as ZIP to get every compressed image in one archive.
JPEG vs PNG vs WebP
| Format | Compression | Transparency | Best For | File Size |
|---|---|---|---|---|
| JPEG | Lossy | None | Photos, hero images | Small |
| PNG | Lossless | Full alpha | Logos, screenshots, icons | Large |
| WebP | Lossy output | Full alpha | Efficient web images | Often small |
Frequently Asked Questions
Technical note: Compression uses the browser's built-in Canvas API ( canvas.toBlob()). Quality and file size results may vary slightly between browsers due to their image encoders. The tool verifies the returned MIME type so an unsupported WebP request is never downloaded as a mislabeled PNG. Animated inputs become a static image, and embedded metadata is removed.