Blog

How to Batch Compress Multiple PNG Files at Once

By admin · Jun 16, 2026

If you have dozens or hundreds of PNG images that need to be compressed, doing them one by one would take forever. Batch compression lets you compress all your PNG files at the same time — saving hours of work.

Method 1: compresspngfile.com — Batch Online (Up to 20 Files)

compresspngfile.com supports batch compression of up to 20 PNG files simultaneously.

  1. Go to compresspngfile.com
  2. Click "Select Files" or drag multiple PNG files onto the upload area
  3. Hold Ctrl (Windows) or Cmd (Mac) while clicking to select multiple files
  4. All selected files upload and compress simultaneously
  5. Download files individually, or click "Download All" for a ZIP archive

Best for: Quick batch jobs of up to 20 images. No software needed. Works on Windows, Mac, and mobile.

Method 2: pngquant Command Line (Unlimited Batch)

For large batches (hundreds or thousands of files), pngquant via command line is the most powerful free option.

On Windows (PowerShell):

Download pngquant.exe, place it in your images folder, then run:

pngquant.exe --quality=65-80 *.png

On Mac/Linux (Terminal):

Install pngquant: brew install pngquant (Mac) or sudo apt install pngquant (Linux)

Then run: pngquant --quality=65-80 *.png

For subfolders: find . -name '*.png' -exec pngquant --quality=65-80 {} \;

Method 3: IrfanView Batch Conversion (Windows)

  1. Download and install IrfanView (free at irfanview.com)
  2. Go to File > Batch Conversion/Rename
  3. Add all your PNG files to the list
  4. Set output format to PNG
  5. Click "Options" to adjust PNG compression level
  6. Click "Start Batch" to process all files

Batch Compression Comparison

MethodFile LimitCompression QualityEase of Use
compresspngfile.com20 per batchExcellent (80%)Very Easy
pngquant CLIUnlimitedExcellent (80%)Advanced
IrfanViewUnlimitedGoodModerate
GIMP Script-FuUnlimitedGoodAdvanced

Tips for Efficient Batch Compression

Conclusion

For most users, compresspngfile.com handles batch compression perfectly — upload up to 20 files, compress them all at once, and download as a ZIP. For large-scale batches, pngquant via command line is the most powerful free option.