A list of paid, free or open source C++ (C plus plus) compression, file archives, zip, tar, 7z, zlib, Bzip2 libraries, plugins and tools including compressors, decompressors, deflate and inflate compression, string compression, compact compression libraries and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ compression libraries, plugins and tools

  • bit7z – A C++ static library offering a clean and simple interface to the 7-zip shared libraries. [MPL2]
  • Brotli – Brotli compression format. Developed by Google. [MIT]
  • bzip2 – A freely available, patent free, high-quality data compressor. [BSD]
  • bzip3 – A better and stronger spiritual successor to BZip2. [LGPL]
  • FiniteStateEntropy – New generation entropy codecs : Finite State Entropy and Huff0.
  • PhysicsFS – A library to provide abstract access to various archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3’s file subsystem. [zlib]
  • KArchive – A library for creating, reading, writing and manipulating file archives like zip and tar. It also provides transparent compression and decompression of data, using formats like gzip, via a subclass of QIODevice. [LGPL]
  • libarchive – Multi-format archive and compression library. [New BSD] website
  • LZ4 – Extremely Fast Compression algorithm. [BSD] website
  • LZFSE – LZFSE compression library and command line tool. Developed by Apple.
  • LZHAM – Lossless data compression library with a compression ratio similar to LZMA but with much faster decompression. [BSD]
  • LZMA ⚡ – The default and general compression method of 7z format. [PublicDomain] website
  • LZMAT – An extremely fast real-time lossless data compression library. [GPL]
  • miniz – Single C source file Deflate/Inflate compression library with zlib-compatible API, ZIP archive reading/writing, PNG writing. [MIT]
  • Minizip – Zlib with latest bug fixes that supports PKWARE disk spanning, AES encryption, and IO buffering. [zlib]
  • smaz – Small strings compression library. [BSD]
  • Snappy – A fast compressor/decompressor. [BSD]
  • ZLib – A very compact compression library for data streams. [zlib]
  • zlib-ng – zlib for the “next generation” systems. Drop-In replacement with some serious optimizations. [zlib]
  • zstd – Zstandard – Fast real-time compression algorithm. Developed by Facebook. [BSD]
  • ZZIPlib – Provides read access on ZIP-archives. [MPL/LGPL]

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries, compression, file archives, zip, tar, 7z, zlib, Bzip2, compressors, decompressors, deflate and inflate compression, string compression, compact compression libraries

Image: Unsplash License.

Portions of this text under: MIT license