Compress PNG Online

Reduce PNG file size while preserving transparency and lossless quality. Free DEFLATE optimization — no signup, no watermarks.

256-bit SSL 500K+ conversions 4.9 rating Files auto-deleted in 2h

Tap to choose your file

or

Supports M4A, WAV, FLAC, OGG, AAC, WMA, AIFF, OPUS • Max 100 MB

Encrypted upload via HTTPS. Files auto-deleted from our servers within 2 hours.

How to Compress a PNG Image

1

Upload PNG

Drag and drop your PNG image into the tool above, or click to browse. Supports PNG files up to 100 MB.

2

Compress

The tool applies lossless DEFLATE optimization to reduce file size while preserving every pixel, including transparency.

3

Download

Click Compress & Download and get your smaller PNG. The result shows exactly how many bytes you saved.

How PNG Compression Works

PNG uses the DEFLATE compression algorithm — the same algorithm behind ZIP files. It’s a lossless method, meaning every single pixel is preserved exactly as in the original. No data is ever discarded.

Before DEFLATE runs, PNG applies a filter strategy to each row of pixels. The filter predicts pixel values based on neighboring pixels and stores only the difference. Five filter types are available:

  • None — stores raw pixel values (best for random noise)
  • Sub — stores difference from the pixel to the left
  • Up — stores difference from the pixel above
  • Average — uses the average of left and above pixels
  • Paeth — uses a linear function of left, above, and upper-left pixels

Our tool tests multiple filter strategies and DEFLATE parameters to find the combination that produces the smallest file. This is why re-compressing a PNG from another tool can sometimes yield further savings — the original may not have used optimal settings.

PNG vs JPG: When to Use Each

Criteria PNG JPG
Compression Lossless — no quality loss Lossy — adjustable quality
Transparency Full alpha channel support No transparency
Best for Screenshots, logos, diagrams, text overlays, graphics with sharp edges Photos, natural images, gradients, large background images
Typical file size Larger (especially for photos) Much smaller for photographic content
Size reduction 10–30% via lossless optimization 50–80% with quality-based compression

Use PNG when you need transparency, pixel-perfect rendering, or sharp text. Use JPG when file size matters more than pixel accuracy — especially for photographs.

Tips for Smaller PNG Files

  • Reduce the color palette — if your image uses fewer than 256 colors (icons, simple graphics), an 8-bit PNG with an indexed palette can be 3–5× smaller than a 24-bit PNG.
  • Remove metadata — PNG files often contain EXIF data, ICC color profiles, and text chunks. Stripping these can save 10–50 KB per image.
  • Use 8-bit instead of 24-bit — for images with limited colors (diagrams, UI screenshots with flat design), 8-bit color depth is visually identical but dramatically smaller.
  • Simplify gradients — smooth gradients create many unique pixel values, making compression less effective. If possible, use solid colors or stepped gradients.
  • Consider WebP — WebP supports both lossless and lossy compression with transparency. Lossless WebP is typically 26% smaller than PNG for the same image.

Pro tip: For maximum size reduction of PNG photos, convert to JPG or WebP instead — a 5 MB PNG photo can become 200 KB JPG at quality 80, a 96% reduction, with no visible quality loss for photographs.

Frequently Asked Questions

Yes, PNG compression is always lossless. The DEFLATE algorithm reduces file size by finding repeating patterns in the data without discarding any visual information. Every pixel, including transparency, is preserved exactly as in the original. This is fundamentally different from JPG, which is lossy.
Yes, 100%. PNG compression is lossless, so all transparency data (alpha channel) is fully preserved. Your transparent backgrounds, semi-transparent effects, and opacity gradients remain exactly as they were. No data is discarded during compression.
Typical lossless PNG compression saves 10–30% depending on the image content. Screenshots with large solid-color areas compress very well (20–40%). Photos saved as PNG see more modest reduction (5–15%) since they have less repeating data. For dramatic size reduction of PNG photos, consider converting to JPG or WebP.
It depends on your image. If it’s a photograph without transparency, converting to JPG at quality 80 can reduce the file size by 80–95%. However, if your PNG has transparency, text overlays, or sharp edges (screenshots, logos, diagrams), keep it as PNG — these images look best in lossless format. You can use our PNG to JPG converter if you decide to switch formats.
You can upload PNG files up to 100 MB. There’s no limit on the number of files you can compress. Files are encrypted via HTTPS during upload and automatically deleted from our servers within 2 hours.
Yes, completely free. No signup, no watermarks, no file count limits. Upload your PNG, compress it, and download the result. Works on any device with a modern web browser.

Related Image Tools