macOS
brew install zopflilocal Homebrew formula metadata
sudo port install zopfliMacPorts ports tree · archivers/zopfli/Portfile · source: api.github.com
brew
New zlib (gzip, deflate) compatible compressor. Version 1.0.3 via Homebrew; verified 2026-05-19.
install
brew install zopflilocal Homebrew formula metadata
sudo port install zopfliMacPorts ports tree · archivers/zopfli/Portfile · source: api.github.com
sudo apk add zopfliAlpine Linux edge package indexes · zopfli · source: dl-cdn.alpinelinux.org
sudo apt install libzopfli-devDebian stable package indexes · libzopfli-dev · source: deb.debian.org
sudo dnf install zopfliFedora Rawhide package metadata · zopfli · source: dl.fedoraproject.org
nix profile install nixpkgs#zopflinixpkgs package indexes · pkgs/by-name/zo/zopfli/package.nix · source: api.github.com
sudo pacman -S zopfliArch Linux sync databases · zopfli · source: geo.mirror.pkgbuild.com
sudo zypper install libzopfli-developenSUSE Tumbleweed package metadata · libzopfli-devel · source: download.opensuse.org
overview
New zlib (gzip, deflate) compatible compressor
history
Zopfli is Google's deliberately slow, very dense Deflate-compatible compressor. It matters because its output can be read by ordinary gzip, zlib, ZIP, PNG, and HTTP Deflate consumers, making it a packageable optimization step rather than a new compression format users must support.
Google announced Zopfli in February 2013 as an open-source implementation of Deflate designed to produce smaller output than previous techniques. The name came from a Swiss bread recipe, but the engineering idea was serious: spend much more CPU time during compression while keeping decompression speed and compatibility unchanged.
The GitHub project describes Zopfli as a C compression library for very good but slow Deflate or zlib compression, created by Lode Vandevenne and Jyrki Alakuijala and based on Alakuijala's algorithm. The repository also contains the zopfli CLI and zopflipng, a PNG optimizer built around the same Deflate search.
Zopfli spread first through web-performance and asset-optimization workflows, where build time is cheaper than bandwidth. Because it emits standard Deflate streams, users could precompress static assets and serve them through existing HTTP and archive tooling without changing client decompression support.
ZopfliPNG extended the same idea into image optimization: PNG files already use Deflate internally, so better Deflate choices can shrink files without changing the image format. That made the package especially interesting to people tuning websites, fonts, archives, and static downloadable assets.
The zopfli executable is best used offline: compress a file once, keep the smaller gzip/zlib/deflate result, and let normal clients decompress it. It is usually a poor choice for live request-time compression because the whole point is spending extra CPU to find a smaller representation.
zopflipng is the companion CLI for PNGs. It tries Zopfli Deflate plus PNG-specific filter and color choices, and it may remove ancillary chunks that are not needed for typical web rendering, so visual checks and metadata awareness matter when using it in asset pipelines.
Zopfli is a perfect package-nerd tool because it is small, sharp, and intentionally asymmetric: slow compression, standard decompression. It rewards users who understand build artifacts, static hosting, and the difference between a file format and an encoder.
It also sits in a recognizable Google compression lineage with Brotli and later web-compression work, but unlike Brotli it did not ask the ecosystem to adopt a new wire format. That compatibility is why it still shows up as a practical CLI package.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
zopfli | cli | global executable | |
zopflipng | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google/zopfli
install metadata
| Package key | brew:zopfli |
|---|---|
| Version | 1.0.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/zopfli |
| Homepage | https://github.com/google/zopfli |
| Repository | https://github.com/google/zopfli |
| Upstream docs | https://github.com/google/zopfli#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/google/zopfli/archive/refs/tags/zopfli-1.0.3.tar.gz |
| Last updated | 2026-05-19T07:53:37-04:00 |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zopfli |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libzopfli-dev 1.0.3-3
Header and static library files for libzopfli1
https://github.com/google/zopfli
sudo apt install libzopfli-devlibzopfli1 1.0.3-3
zlib (gzip, deflate) compatible compressor - shared library
https://github.com/google/zopfli
sudo apt install libzopfli1zopfli 1.0.3-3
zlib (gzip, deflate) compatible compressor
https://github.com/google/zopfli
sudo apt install zopflizopfli
nix profile install nixpkgs#zopflilibzopfli-dev 1.0.3-2
Header and static library files for libzopfli1
https://github.com/google/zopfli
sudo apt install libzopfli-devlibzopfli1 1.0.3-2
zlib (gzip, deflate) compatible compressor - shared library
https://github.com/google/zopfli
sudo apt install libzopfli1zopfli 1.0.3-2
zlib (gzip, deflate) compatible compressor
https://github.com/google/zopfli
sudo apt install zopflizopfli 1.0.3_git20260213-r0
Compression algorithm library
https://github.com/fonttools/zopfli
sudo apk add zopflizopfli-dev 1.0.3_git20260213-r0
Compression algorithm library (development files)
https://github.com/fonttools/zopfli
sudo apk add zopfli-devzopfli-doc 1.0.3_git20260213-r0
Compression algorithm library (documentation)
https://github.com/fonttools/zopfli
sudo apk add zopfli-doczopfli 1.0.3-15.fc44
Zlib compatible better compressor
https://github.com/google/zopfli
sudo dnf install zopflizopfli-devel 1.0.3-15.fc44
Development files for zopfli and zopflipng.
https://github.com/google/zopfli
sudo dnf install zopfli-develzopfli 1.0.3-4
Compression algorithm library
https://github.com/google/zopfli
sudo pacman -S zopflilibzopfli-devel 1.0.3-2.9
Header files for libzopfli, a gzip-compatible compressor
https://github.com/google/zopfli
sudo zypper install libzopfli-devellibzopfli1 1.0.3-2.9
Deflate/zlib compatible compression library
https://github.com/google/zopfli
sudo zypper install libzopfli1libzopfli1-x86-64-v3 1.0.3-2.9
Deflate/zlib compatible compression library
https://github.com/google/zopfli
sudo zypper install libzopfli1-x86-64-v3source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.