Compress PNG files

Two ways to make PNGs smaller: lossless optimisation that keeps every pixel identical, or conversion to WebP, which keeps transparency and is usually many times smaller.

Drop images to compressor paste from clipboard · JPG, PNG, WebP, AVIF, HEIC, SVG, GIF · batches welcome Choose images

Private: your images are processed on your device and never uploaded.

    Original
    Result
    OriginalResult

    Lossless or lossy: what our tests showed

    We tested a 1280×800 screenshot of our own home page, which is the kind of PNG most people need to shrink:

    OutputSizeSavingPixels identical?
    Original PNG (as saved by Chromium)247.2 KB––
    PNG, optimised losslessly (OxiPNG)114.1 KB54%Yes
    WebP, quality 7532.3 KB87%No (SSIM 0.987)
    JPG, quality 7547.7 KB81%No (SSIM 0.980)

    Lossless optimisation halved the screenshot without changing a single pixel. That is the option to choose for logos, icons, diagrams and anything you will edit again. Leave Output on “Same as original”.

    Why PNG photos hardly shrink

    Photos behave differently. Our five test photos saved as PNG only got 4–6% smaller with lossless optimisation, because camera noise leaves nothing for a lossless format to simplify. Converted to WebP at quality 75 they shrank by 93–94%. If your PNG is a photo, set Output to WebP (keeps transparency) or JPG (fills transparency with white).

    How is this different from TinyPNG?

    Services such as TinyPNG make PNGs smaller by reducing the number of colours (“quantisation”), which is lossy. PixelPare’s PNG output is strictly lossless. For a lossy result you get far better quality per kilobyte by switching to WebP, which every current browser supports. And your files are never uploaded anywhere.

    Frequently asked questions

    Is PNG optimisation really lossless?

    Yes. OxiPNG re-packs the same pixel data with more efficient filters and compression. Open the original and the optimised file in any editor and every pixel is identical.

    Will transparent backgrounds be kept?

    Yes, for PNG and WebP output. JPG has no transparency, so transparent areas become white.

    Why did my PNG get only slightly smaller?

    It was probably saved by an app that already compresses well, or it’s a photo. Switch Output to WebP and compare the result with the thumbnail slider.

    Related tools