Compressing PNG Images
Everything you need to know about compressing PNG files — how to shrink file sizes without visible quality loss, the best quality settings for web and email, metadata stripping, and batch compression for 100+ files at once.

Compressing PNG: Smaller Files, Same Quality
Compressing PNG by stripping metadata and converting to WebP lossless cuts file size 30-60% while keeping every pixel and the transparent background intact.
Best For
- Reducing PNG file size for faster website loading
- Making PNG files small enough for email attachments
- Batch-compressing 100+ PNG files at once
- Stripping metadata from PNG files for privacy
Not Great For
- Compressing files that are already very small (under 50 KB)
- Compressing lossless formats at quality below 60% (visible quality loss)
- Compressing the same file repeatedly (each compression adds generation loss)
Works On
All compression runs in your browser — works on Windows, Mac, iPhone, Android, and Chromebook.
How PNG Compression Works
PNG uses lossless compression — every pixel is preserved exactly. The compression works by finding repeating byte patterns and replacing them with shorter references. Lossless compression typically reduces file size 30-60% with zero visual quality loss.
The compression pipeline runs on WebAssembly codecs that ship with the page. When you drop a PNG file into the compressor, the file is decoded, re-encoded at the chosen quality, and packaged for download — all inside your browser tab. The bytes never travel the network.
For batch compression of 100+ PNG files, the converter runs on a worker pool of 2-4 workers. Each file is compressed independently, so batches finish in parallel. After compression, download one file at a time or grab the entire batch as a ZIP archive.
Best Quality Settings for PNG Compression
For PNG (a lossless format), compression does not affect visual quality — every pixel is preserved exactly. The savings come from more efficient entropy coding and metadata stripping. Use the Auto setting to let the converter find the smallest file that maintains the exact same pixels.
The Auto setting tries multiple quality levels and picks the smallest file that maintains acceptable quality. For PNG files with mixed content, Auto produces better per-file results than a fixed quality setting because it adapts to each image.
Avoid quality below 60% for lossy compression — visible blockiness appears around sharp text, high-contrast edges, and smooth gradients like skies and skin tones. The blockiness is permanent in the output and cannot be removed by re-compressing at higher quality.
Metadata Stripping for PNG Files
PNG files often carry hidden metadata: EXIF data (camera make, model, lens, GPS coordinates, timestamps), ICC color profiles, software signatures, and XMP metadata. This metadata can add 10-30% to the file size with no visible benefit.
CloudImageConverter strips all non-essential metadata by default during PNG compression. This saves 10-30% of file size and protects privacy — GPS coordinates, camera serial numbers, and software signatures are removed. You can optionally preserve ICC color profiles for color-critical work.
For PNG files containing personal photos (especially with GPS coordinates and family member faces in EXIF data), metadata stripping is essential before sharing or uploading to the web. The in-browser compressor handles this automatically.
File Size Targets for PNG
For above-the-fold web images (hero images): target under 200 KB per image. At quality 80-85%, most PNG files in the 1000-2000 pixel range compress to 100-200 KB. This keeps Largest Contentful Paint (LCP) under 2.5 seconds on 4G.
For below-the-fold web images: target under 100 KB per image. Use quality 75-80% and lazy-load with loading="lazy". Set explicit width and height attributes to prevent Cumulative Layout Shift (CLS) during image load.
For email attachments: target under 1 MB per image. At quality 75-80%, most PNG files compress to 200-800 KB. Email servers often reject attachments over 10-25 MB, so compressing images before attaching prevents delivery failures.
For print: do not compress — use the original PNG file or convert to TIFF at full resolution. Print workflows require maximum color depth and resolution.
Batch Compressing PNG Files
Drop up to 100 PNG files into the workspace, pick the compression quality, and click Compress. The converter processes all files in parallel using a worker pool of 2-4 workers, so batches finish in 5-15 seconds on a modern laptop.
After compression, the converter shows the exact output size and percentage saved for each file. Download one file at a time or grab the entire batch as a ZIP archive. All compression happens locally — your PNG files never leave your device.
For consistent results across a batch, use the same quality setting for all files. The Auto setting is ideal for batches with mixed content because it adapts quality per image rather than applying one quality to all.
PNG Compression and Google Core Web Vitals
Google Core Web Vitals measure page speed and user experience. Largest Contentful Paint (LCP) is most affected by image file size — the largest above-the-fold image typically determines LCP. A 2 MB PNG file on a 4G connection takes 2+ seconds to download, blowing the 2.5-second LCP budget.
Compressing that same PNG file to 200 KB at quality 80% cuts the download time to under 200 ms on 4G, freeing the LCP budget for other render work. PageSpeed Insights and Lighthouse both reward compressed images with higher scores.
For the best results, compress PNG files to WebP or AVIF (25-50% smaller than JPG at the same quality) and ship via the picture element with a JPG fallback. Set explicit width and height to prevent CLS, and use fetchpriority="high" on above-the-fold hero images.
PNG Compression — Frequently Asked Questions
Common questions about compressing PNG images.
PNGHow much can I compress a PNG file?+
PNG is a lossless format, so compression preserves every pixel exactly — zero visual quality loss. The savings come from more efficient entropy coding and metadata stripping. Expect 25-60% file size reduction with zero pixel loss. For even smaller files, convert PNG to WebP lossless or AVIF lossless — both produce 30-60% smaller files at identical pixel fidelity.
PNGWhat quality setting should I use for PNG compression?+
For PNG (lossless), quality is not a meaningful setting — every pixel is preserved exactly. Use the Auto setting to find the smallest file that maintains the exact same pixels. If you need even smaller files, convert PNG to a lossy format like WebP or AVIF at quality 80-85% — this produces 70-90% smaller files with no visible quality loss.
PNGDoes compressing PNG affect quality?+
PNG is a lossless format, so compression preserves every pixel exactly — zero quality loss. The only data removed is metadata (EXIF, ICC, XMP) which does not affect the visual appearance. If you convert PNG to a lossy format for compression, quality loss depends on the quality setting — 80-85% produces no visible quality loss.
PNGCan I batch compress PNG files?+
Yes. Drop up to 100 PNG files into the workspace, pick the compression quality, and click Compress. The converter runs on a worker pool of 2-4 workers, so all files process in parallel. After compression, download one file at a time or grab the entire batch as a ZIP archive. All processing happens locally — your PNG files never leave your device. For 100 files at 1 MB each, the batch finishes in 5-15 seconds.
PNGIs PNG compression private and secure?+
Yes. All PNG compression happens 100% locally in your browser using WebAssembly codecs. The bytes never travel the network, never touch a server log, and never sit in a third-party storage queue. The server only delivers the compression code (WASM modules) once — it never sees your image content. For organizations subject to GDPR, CCPA, HIPAA, or similar data-protection rules, in-browser compression is the only fully compliant workflow.
PNGHow do I strip metadata from PNG files?+
CloudImageConverter strips all non-essential metadata from PNG files by default during compression. This includes EXIF data (camera make, model, GPS coordinates, timestamps), ICC color profiles, software signatures, and XMP metadata. Metadata stripping saves 10-30% of file size and protects privacy — GPS coordinates, camera serial numbers, and software signatures are removed. You can optionally preserve ICC color profiles for color-critical work. The stripping happens locally — no metadata ever leaves your device.
Ready to Compress PNG?
Jump straight to the tool and start compressing your PNG files now.