FREEDOM251

Freedom251 › Image Compression Software

pngcrush

Free plan LinuxMacWindows

Visit pngcrush Alternatives Pricing

pngcrush's own site

What pngcrush is

pngcrush is a free, open-source command-line application for optimizing PNG files with lossless compression. It tries different compression levels and PNG filter methods to reduce the size of a file’s IDAT datastream. It supports batch processing and metadata controls, but does not resize images or provide API access. For chunk handling, it can remove unwanted ancillary chunks or add chunks such as gAMA, tRNS, iCCP, and textual chunks. The program runs from an MSDOS, UNIX, or Linux command line, and the maker links to precompiled Windows binaries for use in an MSDOS window. Source code is available from SourceForge and the pmt git repository; the distribution includes libpng and zlib. The maker permits use, modification, and redistribution without a fee, under a license equivalent to but not identical with the libpng license. The SourceForge files page lists pngcrush-1.8.11.tar.xz as the latest version. The maker also notes that security depends in part on the libraries used to build it, including a caveat about older unpatched libpng versions.

Who it suits

pngcrush suits users comfortable with command-line image tools who need to optimize PNG files or manage their chunks. The maker also points to graphical applications that embed pngcrush alongside other image optimizers.

What it does well

  • Lossless compression targets PNG IDAT data.
  • Batch processing is supported.
  • Can remove or add PNG chunks.
  • Use, modification, and redistribution are permitted without a fee.

What to know first

  • It does not resize images.
  • It provides no API access.
  • The interface is command-line based.
  • Older unpatched libpng builds have an overflow caveat.

Limits

pngcrush is free, with a listed price of $0. It supports PNG files only, does not resize images, and has no API access.

Plans

PlanBilled and limitsPrice
pngcrushOpen source; may be used, modified, and redistributed without a feeFree

As pmt.sourceforge.io lists them, read 8 Oct 2026. The maker's own page has the final word.

Getting started

  1. Open the pngcrush website.
  2. Choose a build for Linux, macOS, or Windows; the maker links to precompiled Windows binaries.
  3. Run pngcrush from an MSDOS, UNIX, or Linux command line.
  4. Use the command-line application to optimize PNG files.

pngcrush is a free command-line tool for optimizing PNG files, best suited to people who want batch processing or control over PNG chunks from a terminal. Its lossless, focused approach is useful for targeted PNG work; the command-line interface and single-format scope make it a poor fit for visual or broader image workflows.

Overview

pngcrush tries different compression levels and PNG filter methods to reduce the IDAT datastream while keeping compression lossless. That suits workflows where smaller PNG files matter but changing image data through lossy compression does not. It handles PNG only and does not resize images, so it will not replace a general image editor or a multi-format optimizer.

Key features

Batch processing lets users apply optimization across multiple PNGs. Metadata controls provide a more specialized strength: pngcrush can remove unwanted ancillary chunks or add gAMA, tRNS, iCCP, and textual chunks. That control is useful when chunk handling is part of the job, though it assumes comfort with command-line work.

pngcrush runs from MSDOS, UNIX, or Linux command lines, and the maker links precompiled Windows binaries for use in an MSDOS window. Source is available from SourceForge and the pmt git repository, with libpng and zlib included in the distribution. The maker permits use, modification, and redistribution without a fee; the license is equivalent to, but not identical with, the libpng license.

Build choices carry a security consideration: the maker warns that compiling with an unpatched libpng earlier than 1.2.7 or 1.0.17 leaves the program vulnerable to overflow conditions fixed in August 2004. The maker believes a build statically linked with the supplied zlib is immune to the zlib-1.1.3 double-free bug because it detects and rejects double-free attempts. Users building from source should account for these caveats. The SourceForge files page lists pngcrush-1.8.11.tar.xz as the latest version.

Pricing

pngcrush costs nothing. The free plan is the software: open source, and usable, modifiable, and redistributable without a fee. There is no free trial because no paid plan is required. That makes it a straightforward fit for individuals or teams needing a no-fee PNG utility; the tradeoff is that it offers no graphical interface or resizing to cover adjacent image tasks.

Platforms

pngcrush supports Linux, macOS, and Windows. Its interface is command-line based, with precompiled Windows binaries running in an MSDOS window. The maker points users who want graphical applications toward ImageOptim for Mac and Trimage for Linux, Windows, and Mac; both embed pngcrush alongside other image compressors or optimizers.

Who it's for

pngcrush is a strong fit for terminal users who need lossless PNG compression, batch processing, or direct control over ancillary chunks. It is less suitable for people who want a graphical workflow, need to resize images, or regularly work with formats beyond PNG.

Pros and cons

  • Pros: Lossless compression targets smaller PNG datastreams without discarding image data.
  • Pros: Batch processing and chunk controls suit repeatable, specialized PNG cleanup.
  • Pros: Free use, modification, and redistribution make it practical to adopt and adapt without a license fee.
  • Cons: The command-line interface is a barrier for users who prefer visual tools.
  • Cons: PNG-only support and no resizing leave broader image workflows to other software.
  • Cons: Source builds require attention to the maker's libpng and zlib security caveats.

Alternatives

Optimole is a better fit for web-based use: its free plan costs nothing and includes 2,000 monthly visits, unlimited images, and unlimited sites.

TinyPNG suits users who want an API-oriented option with a free web plan; it allows 20 compressions per session, 5 MB per image, and 3 conversions per session.

Fastly Image Optimizer is aimed at API, Linux, or web workflows, with a free plan covering 100,000 image requests per month.

JPEGmini offers a free plan with a seven-day trial of Pro features followed by limitations, capped at 50 images per day on one device.

Thumbor is an open-source photo thumbnail service for API, Linux, and self-hosted use.

Squoosh is a free web option for image compression in the browser with local processing.

FileOptimizer is a free Windows tool for personal and commercial use, with a full version without limitations.

Curtail is a free Linux option for compressing PNG, JPEG, WebP, and SVG files.

For a broader set of image compression tools, see Image Compression Software.

Verdict

Choose pngcrush if you work in a terminal and want free, lossless PNG optimization with batch processing and chunk-level control. Its focused toolset and no-fee license are compelling for that job. Look elsewhere if you need a graphical interface, image resizing, or support for formats beyond PNG.

Verdict

pngcrush provides focused PNG compression and chunk handling through a command-line interface. Users building it should take the maker’s library-version security caveat into account.

Questions

How much does pngcrush cost?

The listed plan is free. The maker permits use, modification, and redistribution without a fee.

Is pngcrush open source?

Yes. The maker describes it as open source and says its license is equivalent to, but not identical with, the libpng license.

Which platforms does pngcrush support?

It is listed for Linux, macOS, and Windows. The maker links to precompiled Windows binaries that run in an MSDOS window.

Does pngcrush have a graphical interface?

pngcrush is a command-line application. The maker points to ImageOptim for Mac and Trimage for Linux, Windows, and Mac as graphical applications that embed it with other image tools.

Facts from pngcrush's own pages

API access
No · pmt.sourceforge.io, 20 Sept 2026
Batch processing
Yes · pmt.sourceforge.io, 20 Sept 2026
Build caveat
The maker warns that compiling with an unpatched libpng earlier than 1.2.7 or 1.0.17 leaves the program vulnerable to overflow conditions fixed in August 2004. · pmt.sourceforge.io, 8 Oct 2026
Chunk handling
It can remove unwanted ancillary chunks or add chunks including gAMA, tRNS, iCCP, and textual chunks. · pmt.sourceforge.io, 8 Oct 2026
Compression modes
lossless · pmt.sourceforge.io, 20 Sept 2026
Free plan
Yes · pmt.sourceforge.io, 20 Sept 2026
GUI options
The maker points to ImageOptim for Mac and Trimage for Linux, Windows, and Mac as free graphical applications that embed pngcrush with other image compressors or optimizers. · pmt.sourceforge.io, 8 Oct 2026
Interface
pngcrush is a command-line application that runs from an MSDOS, UNIX, or Linux command line. · pmt.sourceforge.io, 8 Oct 2026
Latest version listed
The SourceForge files page lists pngcrush-1.8.11.tar.xz as the latest version. · sourceforge.net, 8 Oct 2026
License
The maker says pngcrush is open source and may be used, modified, and redistributed without paying a fee; its license is equivalent but not identical to the libpng license. · pmt.sourceforge.io, 8 Oct 2026
Metadata controls
Yes · pmt.sourceforge.io, 20 Sept 2026
Purpose
pngcrush optimizes PNG files by trying compression levels and PNG filter methods to reduce the IDAT datastream size. · pmt.sourceforge.io, 8 Oct 2026
Image resizing
No · pmt.sourceforge.io, 20 Sept 2026
Security note
The maker says the build linked statically with the supplied zlib is believed immune to the zlib-1.1.3 double-free bug because it detects and rejects double-free attempts. · pmt.sourceforge.io, 8 Oct 2026
Source and dependencies
The source is available from SourceForge and the pmt git repository, and the distribution includes libpng and zlib. · pmt.sourceforge.io, 8 Oct 2026
Supported formats
PNG · pmt.sourceforge.io, 20 Sept 2026
Windows binaries
The maker links to precompiled Windows binaries that run in an MSDOS window. · pmt.sourceforge.io, 8 Oct 2026

Where pngcrush stands on Freedom251

Look at these too