# Compress PNG files without losing a pixel

Lossless optimisation with OxiPNG, on your device. Transparency and every pixel stay exactly as they were.

Use the tool: https://kotelo.co/compress-png

Where the work happens: on your device. The file is not uploaded. Free, no account, no daily limit.

## What lossless means here

A PNG stores its pixels with a compression method that can be done well or badly. Most programs do it quickly rather than well. OxiPNG tries many more ways of packing the same pixels and keeps the smallest, so the file gets smaller while the picture stays bit-for-bit identical.

Because nothing is discarded, the saving depends on how wastefully the original was written. Screenshots, logos and interface graphics often shrink noticeably. A PNG that was already optimised will come back unchanged.

## When a PNG is the wrong format

PNG is built for flat colour, sharp edges and transparency. It is a poor fit for photographs: a photo saved as PNG is far larger than the same photo as a JPG or WebP, and no lossless optimiser can fix that.

If your PNG is a photo, or you need a much smaller file than lossless can give, switch the output format to WebP. WebP keeps transparency and is far smaller. Choose JPG only when the picture has no transparent areas, because JPG fills them with white.

## Target sizes and PNG

A lossless format has no quality setting to lower, so when you ask for a target size the only way to reach it is to reduce the pixel dimensions. The tool does that in steps and reports the scale. For a fixed size with the original dimensions, convert to WebP instead.

## Compress PNG: common questions

### Will my transparent background be kept?

Yes. PNG output keeps full transparency. WebP and AVIF output keep it too. JPG cannot store transparency.

### Why is the saving smaller than on other sites?

Some sites reduce the number of colours in a PNG, which is a lossy change. This tool is lossless: the picture you get back is identical to the one you put in.

### Is the PNG uploaded anywhere?

No. The optimiser runs in your browser.

### Does it work on PNG screenshots?

Yes, and screenshots are where lossless optimisation tends to work best.

## Related tools

- [Compress image](https://kotelo.co/compress-image): JPG, PNG, WebP or AVIF, one file or a batch.
- [Compress WebP](https://kotelo.co/compress-webp): Smaller WebP images with quality or exact-size control.
- [Convert image](https://kotelo.co/convert-image): To JPG, PNG, WebP or AVIF, in the browser.

## Guides for this tool

- [How to make screenshots smaller and keep text sharp](https://kotelo.co/guides/make-screenshots-smaller)
- [Why is my PNG so large, and how to make it smaller](https://kotelo.co/guides/why-is-my-png-so-large)
- [Is it safe to compress files online?](https://kotelo.co/guides/is-it-safe-to-compress-files-online)

How files stay on your device, and how to check: https://kotelo.co/privacy-by-design
