Compress PNG — Lossless PNG Optimizer

Compress PNG files without losing quality. Lossless oxipng optimisation shrinks screenshots, logos and icons with identical pixels — free, batch, in your browser.

Runs in your browserNothing uploadedFree · no signup
Drop PNG files here, or click to chooseScreenshots, logos, icons, exports. Optimised in your browser — never uploaded.

Every setting is lossless — the pixels come out identical. Higher effort tries more ways of packing the same pixels and takes longer; Best is usually only a few percent smaller than Fast.

Lossless means the savings are smaller than a lossy compressor would give — anywhere from nothing on a file that's already been optimised to a quarter or more on screenshots and exports from apps that favour speed over size. If you need a much smaller file and can accept some change to the pixels, converting to JPG or WebP in the image compressor will shrink a photo far further.

Frequently asked questions

Does compressing a PNG here reduce its quality?
No. Every setting is lossless: the optimised file decodes to exactly the same pixels as the original, down to the last bit of every colour channel. What changes is how those pixels are packed — the filter chosen for each row, the deflate compression, and the pixel format itself, so a picture that only uses 200 colours can be stored as an indexed palette instead of full RGBA. The one optional exception is the transparent-pixel clean-up, which only touches colour values hidden under pixels that are fully see-through and so can never be displayed.
How much smaller will my PNG get?
It depends entirely on how the file was saved. A PNG written by an app that favours speed — many screenshot tools, design-tool exports, the canvas in a browser — often shrinks by a quarter or more. One that has already been through an optimiser may not shrink at all, and in that case the tool says so and hands back your original rather than a needlessly rewritten copy. If you need a dramatically smaller file and can accept some change to the pixels, a lossy format like JPG or WebP is the right tool instead.
What do Fast, Better and Best do?
They are oxipng's optimisation levels 2, 3 and 4. Higher levels try more combinations of row filters and compression strategies and keep whichever produces the smallest file, so they take longer — often four or more times as long for Best as for Fast — and usually gain only a few extra percent. Fast is the right default for a batch; Best is worth it for a single image you are about to ship on a website.
Does it remove metadata from the PNG?
By default, yes: text comments, the modification timestamp and any eXIf block — which can carry camera details or GPS coordinates — are stripped before optimising. Colour information such as an embedded ICC profile, sRGB or gamma chunk is always kept, because removing it can visibly shift colours on a colour-managed screen. Untick the option to keep the metadata exactly as it was.
Are my images uploaded?
No. The optimiser is oxipng compiled to WebAssembly and served from this site; it runs in a background worker inside your own browser, so your images never leave your device and the page keeps working offline once loaded. Animated PNGs are detected and left untouched rather than risk breaking the animation.