Skip to content
ImageUtility

Compress

Compress a PNG

PNG is a lossless format, so there is no quality dial to turn down.

Loading the image tools...

The way to make a PNG genuinely smaller is to reduce how many distinct colours it contains, which is exactly what this tool does - while keeping the transparent background intact.

How to compress a PNG

  1. Drop one PNG file or a whole folder of them onto the upload area.
  2. Choose how many colours to keep. Fewer colours means a smaller file.
  3. Turn on dithering if you see banding in gradients.
  4. Download the compressed PNG.

Supported formats

This tool accepts PNG files. Everything is decoded by your own browser, so the formats available depend on what your browser can open - which for HEIC in particular varies between Safari and other browsers.

Because the image is rebuilt from raw pixels, EXIF metadata such as camera details, timestamps and GPS coordinates does not carry into the result. Orientation is applied to the pixels first, so photographs stay the right way up. Embedded colour profiles are also dropped and the output is saved as sRGB, which can shift colours slightly in wide-gamut photographs. Animated files are refused rather than being flattened to a single frame.

Frequently asked questions

Is my PNG uploaded anywhere?

No. PNG files are often screenshots of private things - dashboards, invoices, messages - so this is worth being precise about. The file is opened and rewritten inside your browser tab and no part of it is transmitted.

Is the PNG compressor free?

Yes. There is no sign-up and no watermark added to the output. The PNG you download is exactly what the tool produced.

How does PNG compression work here?

PNG stores pixels losslessly, so it cannot simply be re-saved smaller. This tool reduces the number of distinct colours in the image using median-cut quantisation. Fewer colours means less variation for the PNG encoder to describe, which is what actually shrinks the file - often by 60-70% at 128 colours.

Is transparency preserved?

Yes. The alpha channel is left completely untouched, so soft edges, drop shadows and cut-out backgrounds survive exactly as they were. Only the colour channels are quantised.

What is dithering and should I turn it on?

Dithering scatters small variations between neighbouring pixels so that a reduced palette still looks smooth. Turn it on for photographs and gradients, where flat colour bands would otherwise be visible. Leave it off for logos, icons and screenshots, which look cleaner and compress better without it.

How many colours should I keep?

256 is nearly indistinguishable from the original for most images. 128 is a good balance. 64 or fewer works well for logos, icons and flat illustrations but will show banding on photographs.

Should I use PNG or WebP?

WebP supports transparency too and is usually far smaller than PNG for the same visual quality. If the image is for the web and you do not need PNG specifically, converting to WebP will almost always beat compressing the PNG.

Guides

Looking for something else? Browse all ImageUtility tools.