Image Compressor
Compress PNG, JPG, and WebP images in batch — adjust quality, resize, download individually or as a ZIP
Drop your PNG, JPG, or WebP files here and shrink them in bulk — pick a quality level, convert formats if you want, and grab a ZIP of the results. A 6 MB phone photo at 80% WebP often lands under 200 KB.
The before-and-after sizes show right next to each file so you can tell exactly how much space you saved. And everything runs in your browser. Nothing gets uploaded.
How It Works
Your browser draws each image onto an invisible HTML5 Canvas element, then exports it at whatever quality percentage you picked. For JPEG and WebP, lowering quality tells the encoder to throw away subtle details your eyes won't miss — that's lossy compression. PNG stays pixel-perfect but can still shrink when you convert to a lossy format. If you set a max width, the canvas also scales the image down before re-encoding.
Examples
Blog hero image for WordPress
You shot a banner photo on your phone and need it under 500 KB for your blog post.
hero-banner.jpg
4032 × 3024 px
6.2 MB
hero-banner.webp
1920 × 1440 px (max-width 1920)
Quality 80% → 187 KB (97% smaller)
Batch-compressing product photos for an online store
An e-commerce seller has 30 product images from a DSLR and the shop's upload limit is 1 MB per image.
30 × JPEG files
Average 3.5 MB each
Total: ~105 MB
30 × JPEG at 75% quality
Average 420 KB each
Total: ~12.3 MB — ZIP download
Converting a PNG screenshot to WebP for a docs site
Screenshots saved as PNG are huge. A technical writer needs them small for fast-loading documentation pages.
dashboard-screenshot.png
2560 × 1440 px
1.8 MB (lossless PNG)
dashboard-screenshot.webp
2560 × 1440 px (kept original)
Quality 85% → 142 KB (92% smaller)
Who Uses This
Squish hero images and thumbnails before deploying so Lighthouse scores stay green.
Batch-compress product photos to hit marketplace upload limits without losing detail buyers care about.
Keep post images under 200 KB so pages load fast on mobile — readers don't wait around.
Shrink newsletter graphics to avoid clipping in Gmail and keep total email size under 100 KB.
Common Mistakes
Anything below 50% on JPEG or WebP starts producing visible artifacts — blocky edges, smeared text, color banding. Stick to 70–85% for most uses. You'll still save a ton of space without the ugliness.
Each round of lossy compression degrades quality further while barely shrinking the file. If your JPEG is already 300 KB, running it through again at 80% won't halve it — it'll just look worse. Compress once from the original source file.
PNG is lossless, so the quality slider does nothing for it. If your image doesn't have a transparent background, switch the output to WebP or JPEG. That single change often cuts file size by 80% or more.
Technical Details
- Processing: 100% client-side — images never leave your browser
- Supported Formats: PNG, JPEG, WebP (input and output)
- Batch Limit: No hard cap — depends on your device's RAM
- Max Width Resize: Optional — 640, 800, 1024, 1280, 1920, or original
- Browser Support: Chrome, Firefox, Safari, Edge
- Download: Individual files or bulk ZIP via JSZip
Frequently Asked Questions
Does compressing an image reduce its quality?
With lossy formats like JPEG and WebP, yes — some pixel data gets discarded. But at 75–85% quality, the difference is nearly invisible to the naked eye. You'd have to zoom way in and compare side by side to spot it. PNG output stays pixel-perfect regardless of the slider.
How much can I reduce an image file size?
It depends on the source. A raw phone JPEG at quality 80% typically shrinks 60–75%. Converting a PNG screenshot to WebP can cut 85–95% of the file size. Biggest wins come from combining format conversion with a max-width resize — a 6 MB photo can easily drop to under 200 KB.
Is it safe to compress images online?
With this tool, absolutely. Your images are processed inside your browser tab — nothing is uploaded to a server. Close the tab and the data is gone. Most other online compressors do upload your files, though, so always check.
What's the best image format for websites?
WebP. It is supported in every major browser now and produces files 25–35% smaller than JPEG at the same visual quality. Use JPEG as a fallback only if you're supporting very old browsers. PNG is still the right call when you need transparency.
Can I compress images without losing transparency?
Yes — keep the output set to PNG or WebP. Both formats support alpha transparency. JPEG doesn't support transparency at all, so if you convert a transparent PNG to JPEG, the transparent areas fill in with a solid color (usually white or black).