ZeroUpload
100% Client-Side Lossless & Palette

Compress PNG

Optimize PNG images by reducing palette depth and metadata while keeping transparency intact.

Privacy Guaranteed:
Processed 100% locally in your browser. Files never touch our servers.
How It Works

How PNG compression works here

PNG is a lossless format: every pixel is stored exactly, which is why PNGs keep sharp text and transparent backgrounds but are often large. This tool re-encodes your PNG in the browser using the open-source browser-image-compression library. The output is still a PNG and transparency is preserved.

Because PNG has no quality setting like JPG, the main way to make a big PNG smaller is to reduce its pixel dimensions. Each compression level has a target size: Light aims for 5 MB, Balanced for 3 MB and Strong for 1.5 MB. If your file is above the target, the tool scales the image down step by step until it fits. If it is already below the target, it is only re-encoded, and the size may change only slightly.

The tool does not reduce the number of colours in the image. If you need a much smaller file for a website and do not need transparency, converting to JPG or WebP usually saves far more than any PNG setting.

Comparison

PNG, JPG or WebP?

FormatTransparencyBest forTypical file size
PNGYesLogos, icons, screenshots, text, line artLarge for photos, small for flat graphics
JPGNoPhotographsSmall for photos, blurry edges on text
WebPYesWebsites that need small filesUsually smaller than both
Practical Tips

Tips for Better Results

Know the display size

A 4000 px wide PNG shown in a 400 px wide box on a website wastes most of its bytes. Resize to about twice the display width, then compress.

Photos do not belong in PNG

If your PNG is a photograph without transparency, convert it with PNG to JPG. The file is often many times smaller.

Start with Balanced

Balanced keeps the original dimensions for most everyday PNGs and only shrinks very large ones. Use Strong only when you have a hard size limit.

Troubleshooting

When Something Goes Wrong

The output has smaller dimensions than the input

Your file was larger than the target for the level you picked, so it was scaled down to fit. Choose a lighter level to keep more pixels.

The file size did not change much

Small or already-optimised PNGs have little left to remove. Try converting to WebP or JPG if transparency is not needed.

Specifications

What This Tool Supports

Input
PNG
Output
PNG (transparency kept)
Levels
Light (5 MB), Balanced (3 MB), Strong (1.5 MB)
Maximum file size
50 MB
Largest output side
4096 px

Step-by-Step Guide: How to Use Compress PNG

1

Select PNG

Choose a PNG image file from your computer or phone.

2

Choose a Level

Light, Balanced or Strong. Stronger levels set a lower size target and may scale very large images down to reach it.

3

Download

Check the real size reduction and download your compressed PNG.

Frequently Asked Questions

No. The output is still a PNG with its transparent areas intact.

Related Tools