<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Compress PNG

Drop your PNG images: each one gets the smallest colour palette that still looks the same, transparency included, and you compare before and after with a slider. Nothing is uploaded, with no sign-up and no file limit.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Compress PNG

Drop PNG images here, several at once if you like.

Images are compressed in your browser and never uploaded. No limit on the number of files.

Options
Settings
For each image, the smallest number of colours that still looks the same is found, then compared with lossless optimisation: the lighter file wins.
Advanced settings
Untick for flat-colour logos and pixel art: edges stay crisp.Every pixel is kept; the saving is smaller (often 5 to 30%).
Leave empty to keep the dimensions. Example: 1920 for a website.

How to use it

  1. Drop one or more PNG images, or click “Choose PNG images”.
  2. Leave “Automatic”: for each image the tool tries 256, 128, 64… colours and keeps the smallest number that does not show, then compares with lossless optimisation.
  3. Check the saving and the setting kept (for example “96 colours”), and click “Compare” to slide between the original and the result.
  4. Download each PNG, or all of them in a ZIP archive. In “Manual” mode, choose the number of colours yourself.

Example

Input

A 640 × 400 px PNG logo drawn in your browser: gradient, soft shadow and transparent background

Output

sample-logo-compressed.png: 640 × 400 px PNG, 32 colours chosen automatically, transparency kept

Good to know

  • Reducing to a palette changes pixels: on a photo with very fine gradients, a slight grain may appear. The comparison shows it; tick “Lossless only” to keep every pixel.
  • The automatic choice measures the difference on a reduced copy of the image (100,000 pixels at most) and tries 6 settings at most, so a very large image is analysed quickly but never shrunk.
  • A large PNG (several megapixels) can take several seconds: everything is computed on your device.
  • Text chunks, colour profile and APNG animation are not kept. A 16-bit PNG comes out in 8 bits per channel, unless the lossless version wins.
  • If the original is already lighter, it is kept unchanged. Files over 60 MB or 40 megapixels are refused.

Frequently asked questions

How do I compress a PNG without losing quality?

Leave “Automatic”: the tool keeps the smallest colour palette whose difference is not visible, and you check it with the before/after slider. For a strictly identical image, tick “Lossless only”: every pixel is kept and only the file encoding is optimised (often 10 to 30% smaller).

Is this PNG compressor really free?

Yes. There is no account, no watermark and no limit on the number of images (each one can weigh up to 60 MB): the compression runs in your browser, so it costs us nothing per image.

Are my images uploaded to a server?

No. Unlike most online compressors, the images never leave your device: decoding, colour reduction and encoding all happen in your browser. You can even disconnect from the internet once the page has loaded.

How much smaller will my PNG be?

It depends on the image: logos, icons and screenshots often lose 60 to 90% of their weight, photos saved as PNG 50 to 80%. If nothing can be gained, the original is kept unchanged.

Does the PNG keep its transparency?

Yes. Transparent and semi-transparent pixels (soft shadows, anti-aliased edges) are part of the palette, and the file remains a PNG that you can use anywhere a PNG is accepted.

Should I convert my PNG to JPG or WebP instead?

For a photo without transparency, JPG or WebP is usually lighter still: use “Compress an image” with the WebP option, or “Smallest image format” to compare. For a logo, an icon or anything transparent, a compressed PNG is the safest choice.

← Back to all tools