Compress PNG Images Online
Shrink PNG file size while keeping transparency and lossless quality. No signup required.
Have a JPG? Use Compress JPG →
Drop your PNG files here
or click to select - multiple files supported
How Compress PNG works
Upload PNG
Drag & drop or click to select your PNG file.
Choose Options
Adjust quality, size, or other output settings if needed.
Download PNG
Click Compress and your PNG file downloads instantly.
About PNG compression
PNG compression is lossless by definition - the DEFLATE algorithm inside the format rewrites pixel runs and palette indexes more efficiently without discarding a single bit of image data. A typical 24-bit PNG straight out of Photoshop or Figma carries unused alpha channels, redundant gAMA chunks, and a sub-optimal filter strategy that pngcrush, zopflipng, or oxipng can squeeze out for roughly 10-40% savings depending on content. UI screenshots and flat illustrations compress best; photographic PNGs improve less because pixel entropy is already high.
The biggest single win for PNG size is dropping from 24-bit truecolor to an 8-bit indexed palette when the image uses fewer than 256 unique colors - common for logos, icons, and game sprites. Posterized PNG-8 with a quantized palette is technically lossy at the indexing step but visually identical for flat-color art, and the resulting file is often 60-75% smaller than the truecolor source. Tools like pngquant and TinyPNG default to this hybrid approach. For lossless-only workflows stick with oxipng or zopflipng.
If your final destination is the web and you can drop PNG entirely, WebP lossless typically beats optimized PNG by another 20-30%, and AVIF goes further still on photographic content. Compress PNG when you specifically need the format for transparency support in legacy browsers, asset pipelines that reject WebP, app icons (iOS and Android still require PNG), or print workflows expecting RGBA. For everything else convert to WebP and serve PNG only as a fallback.
Where PNG comes from
PNG (Portable Network Graphics) was created in 1996 by a working group led by Thomas Boutell as a patent-free replacement for GIF, after Unisys began enforcing LZW compression royalties. The W3C adopted it as a recommendation in 1996 and ISO standardized it in 2003. PNG uses lossless DEFLATE compression and supports full alpha transparency, making it the de facto choice for screenshots, UI assets, logos, and pixel art. Modern re-compression tools like zopflipng, oxipng, and pngquant can squeeze 20-70% more out of an existing PNG without changing a single visible pixel.
PNG vs PNG at a glance
| PNG | PNG | |
|---|---|---|
| File size | Original PNG (e.g. 2.4 MB screenshot) | Compressed PNG (typically 30-70% smaller) |
| Visual quality | Lossless original | Lossless re-encode (pixel-identical) |
| Transparency | Full alpha channel preserved | Full alpha channel preserved |
| Color depth | 24-bit truecolor or 32-bit RGBA | 8-bit palette where safe, else 24/32-bit retained |
| Decoder support | Every browser since 1996 | Every browser since 1996 |
Real-world workflow — Indie game studio shipping a 40 MB sprite pack to itch.io
- Export 312 sprite sheets from Aseprite, totaling 184 MB of raw PNG
- Batch-upload them and let the compressor strip metadata, re-quantize palettes, and run zopfli on the IDAT stream
- Verify alpha edges look identical against a checkerboard background
- Download the optimized bundle - now 58 MB total, well under itch.io's 100 MB free tier
- Drop the zipped sprites into the Godot project and commit the smaller assets to git
Recommended compression settings
| Use case | Settings |
|---|---|
| Web delivery | |
| Email attachments | |
| Print archival | |
| App / game assets | |
| Long-term archive |
Where will your PNG file open?
| Platform | PNG | PNG |
|---|---|---|
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ | |
| ~ | ~ |
When to compress PNG
PNG compression is essential for reducing the file size of screenshots, UI graphics, logos, and exported design assets without switching to a lossy format. Unlike JPG compression, PNG always uses lossless encoding - Every pixel is preserved exactly. Optimising PNG focuses on improving the compression algorithm efficiency, stripping unnecessary metadata, and reducing the colour depth where the image allows.
Web developers optimising asset libraries use PNG compression on every static asset in their build pipeline. A collection of UI icons, button states, and interface graphics at 2 MB can often be reduced to under 500 KB through PNG optimisation alone - A meaningful page weight saving that directly improves load times and Lighthouse performance scores.
Designers exporting from Figma, Sketch, or Illustrator often produce PNG files with embedded metadata, colour profiles, and inefficient compression. Running these through a PNG compressor before upload to a CMS or image host reduces storage consumption and delivery bandwidth without any visible change to the image quality.
PNG compression tips
- Quantize to PNG-8 with pngquant for flat-color UI work - 256 colors is invisible for icons, buttons, and illustrations, and saves 60-75% versus 24-bit.
- Strip ancillary chunks (tEXt, gAMA, sRGB, iCCP) with oxipng --strip safe - they add 200-800 bytes per file and rarely render anything visible.
- For sprite sheets and tilemaps, run zopflipng with --iterations=15 - it spends extra CPU finding better filter combinations and beats default DEFLATE by another 8-12%.
- Don't compress PNGs that will be re-saved later in Photoshop or Figma - the editors expand them back to uncompressed RGBA on load anyway, so optimize only at the final export step.
- If transparency isn't needed, convert to JPG at quality 90 instead - photographic PNGs are typically 4-6x larger than the equivalent JPG with no visible difference.
Why use this Compress PNG tool
Related tools
Formats involved
PNG – Portable Network Graphics
Compress PNG tips
- Use the Lossless preset for icons and UI assets that must stay pixel-perfect; use lossy quantization for photos and complex artwork.
- PNG compression has the biggest impact on flat-color images, logos, and screenshots — expect 50–80% savings on those versus 10–20% on photographs.
- Transparency is fully preserved at all quality levels, so it's safe to compress PNGs with alpha channels.
- If file size is still too large after compression, try converting to WebP instead — it typically produces smaller files than PNG for the same quality.
PNG compression — frequently asked questions
Related guides & articles
Maybe you wanted something else?
- compress-jpg → When the source is a photo without transparency, JPEG can shrink it 10x further with negligible visual loss.
- png-to-webp → Convert to WebP for a 25-35% additional size reduction when modern browser support is sufficient.
- png-to-jpg → If alpha isn't needed, flatten to JPG for the smallest possible delivery file.
- compress-image → Mixed batch of JPG, PNG, and WebP - one tool handles them all.