Compress PNG files quickly and reliably

PNG Compressor software for Mac and Windows. Makes it easy to reduce PNG image file size — it’s the only PNG compressor you’ll ever need.

  •   Instant download — no email required
  •   Over 3 million users worldwide
  •   14-day free trial
PNG compressor - reduce PNG image file size

I use NXPowerLite to compress png assets for development before I push them to the developers. I never heard of the tool before but it became part of my workflow over the past months. It's incredibly easy and fast, it compressed images extremely well and the visual loss in quality is almost not existing. I love it. The company gives very good support service and is very responsive to questions and feedback.

— Pieter Goris

Software features

Offline PNG compressor

Compress PNG images on your local Windows or Mac computer, without the need for an Internet connection. It's 100% offline software.

Compress multiple PNG

Our bulk PNG optimizer can reduce the size of up to 10,000 PNG images at a time.

Compress Images for Email

Sending files as attachments? Automatically reduce PNG size with our Microsoft Outlook integration. No more bounce back or exceeding mailbox limits.

Optional Zip Compression

See your PNG files reduced by 50% or more, before selecting additional zip compression from the results screen to zip files together.

Convert PNG to 8-bit

To compress PNG files the software reduces the number of colours in a PNG image, reducing the 24-bit PNG to a much smaller, more efficient 8-bit indexed color image.

Preserve PNG Metadata

NXPowerLite will always preserve the image metadata when it compresses PNG files, so no information will be lost.

Trusted by 3+ million happy customers

“NXPowerLite gives us smaller, optimized files that not only save on storage space, but are more usable and easier to email than the originals. We have also been very happy with the visual quality of the compressed files and our users have been unable to tell the difference between the original and the compressed version.”

— Antelope Valley Union High School District

How to compress PNG images in four simple steps

Steps

  1. Install the NXPowerLite Desktop PNG compressor software.

  2. Drag your PNG file onto the NXPowerLite icon.

  3. Hit the 'Optimize' button to reduce file size.

  4. NXPowerLite will compress and deliver you a smaller image.

How the PNG compressor works

To reduce the size of PNG files NXPowerLite Desktop reduces the number of colours in a PNG image, which allows it to convert the 24-bit PNG to a much smaller, more efficient 8-bit indexed color image. The file size reduction can often be as much as 60-80% smaller than equivalent 24/32-bit PNG files.

What are 8-bit PNGs and 24-bit PNGs?

An 8-bit PNG (PNG-8) is limited to 256 colors or palette entries, while a 24-bit PNG (PNG-24) can contain more than 16 million different colors.

24-bit PNGs are better for more complicated images with increased levels of detail and color. Whereas 8-bit PNGs because they support fewer colors are better used for things with simple colors, such as logos and user interface elements like icons and buttons.

Non-photographic images

24-bit PNG — 66.2 KB
8-bit PNG — 19.4 KB

PNG is a particularly good format for screenshots and other flat-color images. This simple screenshot image illustrates the size difference that compressing to an 8-bit PNG can achieve without visibly degrading the image.

As images move towards photographic levels of color and detail 24-bit PNGs will continue to faithfully reproduce the image without any loss, however the file sizes can become very large compared to the equivalent JPEG.

24-bit PNG — 6.72 MB
8-bit PNG — 3.26 MB
JPEG — 1.73 MB

Will 8-bit PNGs still work everywhere?

Compressed images are fully standards-compliant and are supported by all current web browsers and operating systems.

How does the compression work?

It uses a technique called “Color quantization”, which basically means reducing the number of colours used in an image. Specifically we use the pngquant quantisation library which creates efficient 8-bit PNG files with an alpha channel.

PNGQuant Algorithm

Details of how this algorithm works have been copied below for convenience but can be found towards the bottom of the webpage for the library at pngquant.org

pngquant uses modified version of Median Cut quantization algorithm and additional techniques to mitigate deficiencies of Median Cut.

Instead of splitting boxes with largest volume or number of colors, boxes are selected to minimize variance from their median value.

Histogram is built with addition of a basic perception model, which gives less weight to noisy areas of the image.

To improve color further, histogram is adjusted in a process similar to gradient descent (Median Cut is repeated many times with more weight on poorly represented colors).

Finally, colors are corrected using Voronoi iteration (K-means), which guarantees locally optimal palette.

pngquant works in premultiplied alpha color space to give less weight to transparent colors.

When remapping, error diffusion is applied only to areas where several neighboring pixels quantize to the same value, and which are not edges. This avoids adding noise to areas which have high visual quality without dithering.