Compress PNG
Pick PNG images to compress them.
Drop images, folders or a ZIP here
or
PNG / JPEG / WebP / GIF / SVG, or a ZIP (folder structure is kept). Images never leave your device.
Limits on this device: 100 MP per image, up to 200 MB per file
Results will appear here once you choose images.
Re-packs PNG losslessly with OxiPNG and optionally reduces the number of colors (quantization) to make it smaller. Transparency is preserved.
How to use
- Choose images (PNG / JPEG / WebP / GIF / SVG), or a folder or ZIP containing images.
- Pick the output format and set quality, target size or resize. Changing a setting reprocesses automatically.
- Use “Save” on each result, or “Save all as ZIP” for everything at once.
FAQ
Does reducing colors lower the quality?
Is transparency preserved?
How do I make a photo PNG smaller?
Compressing PNG: what to know
How PNG compression works
PNG is a lossless format that stores every pixel exactly. It records differences from neighboring pixels and then compresses them with Deflate, the same method ZIP uses. This tool shrinks PNGs in two stages. First, color reduction: libimagequant maps the colors to a palette of up to 256, using dithering to represent in-between shades. Second, OxiPNG repacks the file, choosing better filters and compression settings to trim data without changing how it looks. Screenshots and illustrations benefit greatly from color reduction and often end up less than half their original size.
Recommended settings
For PNG, “Quality” maps to the number of colors: about 160 colors at “High” (90), about 100 at “Standard” (80) and about 40 at “Light” (60); quality 100 does not reduce colors. Transparency, including partial transparency, is kept after color reduction. For material where no pixel may change (pixel art, images for visual comparison, print masters), turn on “Do not reduce PNG colors (lossless)”. Only OxiPNG's repacking is applied then, so savings are limited to a few percent up to a few tens of percent. “Target size” automatically finds the largest number of colors that fits under the target.
When the file does not get smaller
Photos saved as PNG contain too many colors to shrink much with color reduction, and reducing colors tends to add banding or grain to gradients. Photos get far smaller as JPEG or WebP; you can try this just by changing the output format. PNGs that were already reduced and optimized by another tool may not get any smaller. In that case, the original data is output and the tool tells you it was not smaller. If the resolution is much larger than the size the image is displayed at, consider resizing too.
For a step-by-step approach to lighter web page images, see the guide: Making Landing Page Images Lighter