How to compress PNG and JPEG images in bulk
A PNG screenshot, a transparent logo and a phone photo respond differently to compression. These choices help keep the result useful.
For JPEG photographs
Enable Compress, keep the original format and begin around 80–85% quality. Compare the output visually. If the image already has efficient JPEG encoding, it may not get smaller.
For PNG screenshots and transparent graphics
The default Keep original format guarantees that the output remains PNG. By default PNG optimisation is lossless and retains colours. Choosing Smaller files may try a reduced palette or convert an opaque photo to JPG.
- Choose your PNG files and enable Compress.
- Process with Keep original format first; PNG uses lossless encoding in that mode.
- Use the original/result preview on any image with gradients or logos.
- For maximum fidelity, keep the original format; for smaller photos, opt into JPG and inspect the preview.
For large photographic PNGs
For broad compatibility, select the optional Smaller files (JPG allowed) mode to compare JPEG against PNG for opaque photographs. If you specifically need WebP for your website, enable Convert and choose it manually.
Why a file can grow — and why two sites differ
A 124 KB JPEG is not a like-for-like compression result against a 412 KB PNG, even when the filename still says .png. Our tool detects actual file encoding and shows original format, output format and real byte sizes. Exporting at a different format, size or encoding can produce more bytes. Compression-only jobs keep the original file if re-encoding gets larger. Intentional resizing or conversion can still grow the output.
Lower byte size is not the same as higher visual quality. Check faces, text edges and gradients before exporting a large batch.
A sensible quality check
Zoom in on eyes, hair, small text and smooth skies before downloading. Lossy JPEG may introduce blocks or halos; palette reduction in the optional smaller-files mode may simplify smooth gradients. The file-size comparison shows real formats, so PNG → JPG is identified as a conversion rather than presented as lossless PNG compression.
A real PNG-versus-JPG compression comparison
We encoded the same fictional portrait four ways at the same pixel dimensions. The files below are the actual outputs: open or download them to examine the trade-off yourself.

| Encoding | File size | Saved vs source | |
|---|---|---|---|
| Source PNG | 2192.4 KiB | — | View file ↗ |
| Optimized PNG · lossless | 2166.3 KiB | 1.2% | View file ↗ |
| JPG · quality 82 | 277.3 KiB | 87.4% | View file ↗ |
| WebP · quality 82 | 138.3 KiB | 93.7% | View file ↗ |
How this test was run
Pillow 12.3.0; JPEG library 6.2; WebP library 1.6.0; 1536 × 1024 px; no resize; JPEG 4:4:4 subsampling; optimized JPEG and PNG encoding.
These are reference encoder results, not BulkImageTools browser results or a controlled equal-perceived-quality comparison. Lossy JPEG/WebP may lose fine detail. Format conversions are never disguised as lossless PNG compression. Results differ by photo and browser.