Compress a PNG Screenshot Without Changing Pixels

Try a lossless pass on a screenshot, graphic or icon. Compare the actual bytes before replacing the original.

Lossless DEFLATEPNG / APNGUp to 25 files
PNG compression illustration
Processed in your browser · No file upload

JavaScript checks the PNG structure. Browser compression streams recompress supported pixel data locally.

The tool loads its interface and processing files from the site. This workflow handles the contents you select or enter in the browser.

File picker filter: image/png, .png. The selected file must also pass this tool’s content and decoder checks.

Files per batch
25
Input per file
25 MiB
Total input
150 MiB
Source pixels
24 MP
Image edge
16,383 px
ZIP output
100 MiB

Limits are safeguards, not a guarantee every file below them will process. Complex files and device memory can require a smaller input.

Read the privacy policy

See how MAGODUCK tests tool outputs

1

Add PNG files

The PNG signature, chunk boundaries, CRCs, IHDR and IDAT/IEND structure are validated before recompression.

Drop PNG images here

or choose files from your device

25 files · 25 MB each · 150 MB total · 24 MP · 16,383 px edge
Selected PNG bytes are processed in this browser tab.

Batch queue

No files selected

    Before & after

    Compare exact source and recompressed byte sizes.

    HOW IT WORKS

    PNG compression without changing pixels

    1. Validate PNG

    Chunk CRCs, IHDR, IDAT and IEND are checked before processing.

    2. Recompress IDAT

    The existing zlib stream is decompressed and the exact filtered scanline bytes are compressed again.

    3. Compare bytes

    The tool reports the exact output size, including cases where browser recompression is not smaller.

    TECHNICAL BEHAVIOR

    PNG IDAT and DEFLATE

    Lossless image data

    PNG compression method 0 is zlib-wrapped DEFLATE. The filtered image scanline stream is not altered by this compressor.

    Metadata and animation

    Non-IDAT chunks are preserved byte-for-byte, including text/profile chunks and APNG animation-control/frame chunks.

    Privacy

    No PNG compression upload endpoint is implemented. Processing occurs with browser Compression Streams and local byte reconstruction.

    FAQ

    PNG Compressor FAQs

    Why is there no PNG quality slider?

    Because a JPEG-style quality control would be misleading for this lossless PNG workflow.

    Can output be larger?

    Yes. If the source is already efficiently compressed, a new DEFLATE stream can be the same size or larger. The real result is shown.

    Is APNG animation preserved?

    The animation-specific non-IDAT chunks are copied unchanged. The default-image IDAT stream is recompressed losslessly.

    Technical references checked October 2, 2026. PNG Third Edition specifies compression method 0 as zlib/DEFLATE and defines IDAT as a single compressed stream split across one or more chunks. W3C PNG Third Edition.

    Compress PNG without pretending it is JPEG

    Lossless DEFLATE recompression with actual size reporting.

    Compress PNG

    PNG privacy

    Selected PNG bytes stay in this browser workflow.

    Using PNG Compressor

    Keep originals and inspect output before production use.

    PNG preview

    100%Download