Go Pro
Pricing

Compress PNG Images

Shrink your PNG files with smart colour reduction — the same technique as dedicated PNG optimisers. Transparency is preserved, and simple graphics with few colours are compressed with no quality loss. Free, private, and browser-based.

Drag & drop your files here

or

You've used today's 5 free conversions. Pro is $14.99 once — no subscription — for unlimited conversions, files up to 50MB, and no ads.

Get Pro — $14.99 one-time See what's included

Advertisement

How to Compress PNG Images

1

Upload

Drag and drop your files or click Browse to select them.

2

Convert

Adjust the quality slider if needed, then click Convert All.

3

Download

Download your converted files individually or all at once.

100% Private

Your files never leave your device. All conversion happens locally in your browser using the Canvas API and WebAssembly.

Need to automate this?

Convert images programmatically with the iLoveAVIF API — AVIF, JPG, PNG, and WebP via a single endpoint.

curl -X POST https://iloveavif.com/api/v1/convert \
  -H "X-API-Key: ilav_YOUR_KEY" \
  -F "file=@photo.jpg" \
  -F "format=avif" \
  --output photo.avif
Learn about the API → Setup guide

Frequently Asked Questions

It depends on the image and the quality setting. At the default quality, graphics that use 256 colours or fewer (logos, icons, interface screenshots) are compressed with no loss at all. Photos and gradients are reduced to an optimised palette of up to 256 colours with dithering, which looks very close to the original but is not pixel-identical. Set the quality slider to 100 to keep the image fully lossless.

Yes, completely free with no watermarks. Free users get 5 compressions per day. Pro users get unlimited compressions.

It varies with the image: photos and detailed images usually shrink the most, flat graphics less. If a file can't be made smaller, the tool tells you and gives you the original back rather than a larger file.

Transparency is kept. Fully transparent areas stay fully transparent, and semi-transparent edges and shadows are preserved as part of the optimised palette (they may shift very slightly, like colours do).

It sets how many colours the compressed PNG may use. 70 and above uses the full 256-colour palette; lower values use fewer colours for a smaller file. 100 turns colour reduction off.

Advertisement
Prefer converting from your browser?

Get the iLoveAVIF Chrome extension — right-click any image on the web to convert it instantly, or batch-convert with drag and drop. Free, no sign-up required.

Add to Chrome — Free Learn more