Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
PNG
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
Compressing a PNG here is lossless: every pixel comes out exactly as it went in, and the file gets smaller because it is stored more cleverly rather than because anything was thrown away. Drop a file above and it happens in your browser. Expect ten to thirty per cent from a file written by a design tool, and close to nothing from one that has already been optimised — in which case you get the original back.
PNG stores every pixel exactly, and so does this. What changes is the encoding. Before compressing a row of pixels, PNG may transform it — subtract the pixel to the left, or the one above, or an average of both — and a well-chosen transform turns a smooth gradient into a long run of near-identical numbers that the compressor then flattens to almost nothing.
Most software picks one of those transforms quickly and moves on. oxipng, which is what runs here, tries the combinations properly and keeps whichever produced the fewest bytes. The image is bit-for-bit identical; only the description of it is shorter. That is the entire trick, and it is why "compress PNG" and "compress JPG" are genuinely different operations rather than the same one at different strengths.
Usually because it is a photograph. PNG was designed for images with flat areas and hard edges — logos, screenshots, diagrams, text — and it is excellent at those. A photograph has no flat areas at all: every pixel differs slightly from its neighbours, there are no runs to compress, and PNG dutifully stores all of it. The same picture as a JPEG is routinely a tenth of the size.
If that is your situation, no lossless compressor will rescue it, and the honest answer is a different format. Converting to JPEG or WebP will do more in one step than any amount of PNG optimisation. If the image needs a transparent background, WebP keeps it and JPEG does not.
A screenshot taken on a high-density display is twice the dimensions it appears to be. A 2× screenshot pasted into a document that shows it at half size is carrying four times the pixels anyone will see, and dropping the width to what is actually displayed saves far more than lossless optimisation ever can.
The one thing to watch is text. A screenshot containing readable words should be resized cautiously or not at all — the letterforms are exactly the fine detail that scaling destroys, and a document with unreadable screenshots is worse than a large one.
PNGs exported by image optimisation tools, or by software that already runs a good encoder, are frequently at or near their smallest. Running another pass over them finds nothing, and a compressor that returns a marginally different file of the same size has wasted your time.
When that happens the original comes back unchanged. It is not a failure — it is the correct answer, and it means whoever produced the file already did this. The "thorough" setting searches longer and occasionally finds a few per cent more; it is worth one attempt and rarely worth a second.
Sometimes the better answer is a different format — especially for a photograph stored as PNG.