C++ compression libraries
Compression and archive libraries for C and C++, ranked by GitHub stars
آخر تحديث · GitHub stars (stars)
لماذا هؤلاء العشرون
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
Brotli
Brotli compression format. Developed by Google. [MIT]
15,127 stars 1,406 forkslast push 2026-11-20TypeScriptMIT
-
2
LZ4
Extremely Fast Compression algorithm. [BSD] website
12,821 stars 1,667 forkslast push 2026-11-21CNOASSERTION
-
3
Snappy
A fast compressor/decompressor. [BSD]
6,633 stars 1,061 forkslast push 2026-10-23C++NOASSERTION
-
4
libarchive
Multi-format archive and compression library. [New BSD] website
3,676 stars 1,083 forkslast push 2026-11-17CNOASSERTION
-
5
Zopfli
A compression library that performs very good but slow deflate/zlib compression. [Apache-2.0]
3,609 stars 359 forkslast push 2026-11-21C++Apache-2.0
-
6
miniz
Single C source file Deflate/Inflate compression library with zlib-compatible API, ZIP archive reading/writing, PNG writing. [MIT]
2,927 stars 441 forkslast push 2026-11-09C++MIT
-
7
zlib-ng
zlib for the "next generation" systems. Drop-In replacement with some serious optimizations. [zlib]
2,131 stars 361 forkslast push 2026-11-20CZlib
-
8
LZFSE
LZFSE compression library and command line tool. Developed by Apple.
1,825 stars 201 forkslast push 2022-09-05CBSD-3-Clause
-
9
heatshrink
data compression library for embedded/real-time systems [ISC]
1,559 stars 238 forkslast push 2024-05-19CISC
-
10
minizip-ng
Fork of the popular zip manipulation library found in the zlib distribution. [zlib]
1,516 stars 520 forkslast push 2026-11-10CNOASSERTION
-
11
FiniteStateEntropy
New generation entropy codecs : Finite State Entropy and Huff0.
1,508 stars 167 forkslast push 2024-03-21CBSD-2-Clause
-
12
smaz
Small strings compression library. [BSD]
1,228 stars 131 forkslast push 2019-10-25CBSD-3-Clause
-
13
libzip
A C library for reading, creating, and modifying zip archives.
1,063 stars 378 forkslast push 2026-11-19CNOASSERTION
-
14
bit7z
A C++ static library offering a clean and simple interface to the 7-zip shared libraries. [MPL2]
857 stars 148 forkslast push 2026-10-28C++MPL-2.0
-
15
cmix
A lossless data compression program that aims for the highest compression ratios at the cost of speed. [GPL-3.0]
733 stars 57 forkslast push 2026-09-27C++GPL-3.0
-
16
-
17
-
18
FastLZ
Small & portable byte-aligned LZ77 compression. [MIT]
549 stars 106 forkslast push 2024-08-02CNOASSERTION
-
19
ZXC
High-performance asymmetric lossless compression. [BSD-3-Clause]
541 stars 14 forkslast push 2026-11-20CBSD-3-Clause
-
20
Rapidgzip
Gzip Decompression and Random Access for Modern Multi-Core Machines. [Apache-2/MIT]
475 stars 17 forkslast push 2026-11-07Apache-2.0
المراجع
- fffaraz/awesome-cpp: Compression, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 06:27 UTC.
- fffaraz/awesome-cpp (Compression), GitHub community list, 28 tools with a public repository.