Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. minizip-ng

minizip-ng

NOASSERTIONC4.2.1

A modern, cross-platform C library for creating, reading, and modifying ZIP archives with extensive compression and encryption support.

GitHubGitHub
1.5k stars489 forks0 contributors

What is minizip-ng?

minizip-ng is a cross-platform C library for programmatically creating, reading, and modifying ZIP archives. It solves the need for a modern, maintained, and feature-complete alternative to the aging original minizip, offering extensive compression algorithms, encryption standards, and support for large files and Unicode.

Target Audience

C/C++ developers and software engineers who need to integrate ZIP archive functionality into applications, tools, or embedded systems across Windows, macOS, and Linux platforms.

Value Proposition

Developers choose minizip-ng for its active maintenance, comprehensive feature set (including modern compression like ZSTD and strong AES encryption), strict cross-platform compatibility, and a clean API that remains backward-compatible with the original minizip.

Overview

Fork of the popular zip manipulation library found in the zlib distribution.

Use Cases

Best For

  • Adding ZIP compression/decompression to desktop applications
  • Building cross-platform backup or packaging tools
  • Implementing secure, encrypted file archives in software
  • Handling large ZIP files (via ZIP64) in data processing pipelines
  • Creating custom archive utilities with multiple compression options
  • Maintaining compatibility with legacy minizip-based codebases

Not Ideal For

  • Web applications in JavaScript or server-side languages where built-in ZIP libraries offer simpler integration
  • Mobile app development (iOS/Android) where platform-specific APIs or higher-level libraries are preferred
  • Projects requiring minimal dependencies, as minizip-ng may pull in multiple third-party compression libraries
  • Rapid prototyping where a high-level, scriptable tool like Python's zipfile module is more convenient

Pros & Cons

Pros

Multiple Compression Methods

Supports Zlib, BZIP2, LZMA, PPMD, XZ, and ZSTD, allowing developers to choose the best compression for their needs, as detailed in the features list.

Strong Encryption Support

Includes both PKWARE and WinZIP AES encryption, providing robust security options for password-protected archives.

Cross-Platform and Legacy Compatible

Runs on Windows, macOS, and Linux with a compatibility layer for original minizip API, ensuring wide adoption and easy migration.

Active and Robust Development

Maintained with continuous integration, fuzzing tests, and regular updates, addressing long-standing issues from the original minizip.

Cons

Complex Build and Dependencies

Requires CMake and can fetch multiple third-party libraries (e.g., bzip2, liblzma, zstd) based on options, increasing setup complexity and potential binary bloat.

Low-Level API Nature

As a C library, it forces developers to handle memory management and error checking directly, lacking high-level abstractions for simpler integration.

Limited Documentation for Advanced Use

Beyond basic examples, developers must rely on source code or community help for complex tasks like custom streaming or advanced encryption setups.

Frequently Asked Questions

Quick Stats

Stars1,458
Forks489
Contributors0
Open Issues10
Last commit23 days ago
CreatedSince 2012

Tags

#c-library#bzip2#portable#minizip#c#encryption#zip#data-compression#lzma#file-archiving#cross-platform#compression#zlib

Built With

C
CMake
C
C++

Included in

C/C++70.6k
Auto-fetched 1 day ago

Related Projects

zstdzstd

Zstandard - Fast real-time compression algorithm

Stars27,216
Forks2,505
Last commit7 days ago
brotlibrotli

Brotli compression format

Stars14,736
Forks1,337
Last commit4 days ago
LZ4LZ4

Extremely Fast Compression algorithm

Stars11,852
Forks1,557
Last commit7 days ago
libarchivelibarchive

Multi-format archive and compression library

Stars3,521
Forks941
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub