Skip to content
imgtools.Tools

Compress PNG

Make a PNG smaller without changing a single pixel, or reduce its colors for a much smaller file. Nothing is uploaded.

Runs entirely in your browser. Nothing is uploaded.

Drop an image, click to browse, or paste from clipboard

How this works

Lossless mode runs your image through oxipng, compiled to WebAssembly, which searches for a tighter way to store the same pixels. The picture is identical, and the savings depend on how well the file was compressed to begin with. Photos usually shrink little, while screenshots and graphics can shrink a lot.

Lossy mode first reduces the image to at most 256, 128, 64, or 32 colors, then optimizes it into an indexed PNG. It works well for logos, icons, and screenshots, and shows banding on smooth photos. The result shows both sizes so you can compare.