Edit photos with AI — just describe the changeOpen
PhotoRetrica

PNG Compressor

Make PNG files lighter by reducing the number of colors, while keeping transparency and sharp edges.

Files never leave your device100% free

Drag & drop an image here, or browse

Files never leave your device

How to use: PNG Compressor

  1. 1

    Open your image

    Drop a JPG, PNG, WebP or other photo onto the page, or choose it on your device. It opens instantly and is never uploaded anywhere.

  2. 2

    Adjust the settings

    Use the tool controls; the preview updates as you change them, so you can see the result before saving.

  3. 3

    Download the result

    Save the finished image to your device, or open it in the photo editor to keep retouching it with layers, filters and AI tools.

How PNG compression works

PNG is a lossless format, so it can't be shrunk with a simple quality setting like JPG. The most effective method is color quantization: the image is redrawn with a limited palette of up to 256 colors, and a palette-based PNG takes far less space than one storing millions of colors. This is the same technique used by popular PNG optimizers.

The quality slider sets the size of the palette: lower values mean fewer colors and a smaller file, and at 100% the image is saved without reducing colors. Screenshots, logos, icons and illustrations with flat areas can often be reduced a lot with no visible change, while photos with smooth gradients may show banding at low settings.

Transparency is preserved, so the result still works for logos and web graphics. The panel shows the size before and after and the percentage saved.

Everything runs locally in your browser — your images are never uploaded to a server.