PNG is a lossless format, which is why screenshots and logos look perfect in it — and also why the files get so large. compresspng.net shrinks them two ways. Lossless re-packs the file without touching a single pixel. The lossy settings reduce the colour palette instead, which is how a 2 MB screenshot becomes 300 KB while still looking identical on screen.
Transparency survives every setting. Drop in one PNG or a hundred; they come back ready to download.
Lossless or lossy — which should you pick?
Lossless keeps every pixel exactly as it was, so it is the honest answer to "compress a PNG without losing quality". The trade-off is modest savings: usually 5–15%, and sometimes nothing at all if the file was already well packed.
Balanced and Strong reduce the number of distinct colours in the image. On screenshots, logos, icons, diagrams and UI mockups — anything with flat areas of colour — the result is visually indistinguishable while the file drops by 60–80%. On photographs saved as PNG you may see faint banding in smooth gradients; those are better served by converting to JPEG.
Why your PNG is so big in the first place
PNG compression works by predicting each pixel from its neighbours and storing only the difference. That is brilliant for flat colour and sharp edges, and poor for photographic noise, where almost every pixel differs from its neighbour. A 12-megapixel photo saved as PNG can easily be 20 MB — roughly ten times the same photo as a JPEG — because there is no repetition for the algorithm to exploit.
That is the single most useful thing to know: the format, not the compressor, is usually the reason a file is huge. Photographs belong in JPEG or WebP; PNG earns its keep on graphics and anything that needs transparency.