Clone this repo:


  1. 117bc99 simplify css by Thomas Klausner · 2 years, 1 month ago main
  2. 7ced5c7 TODO: document valid file paths by Thomas Klausner · 2 years, 2 months ago
  3. 686ab8b zipcmp: mention removed files count first by Thomas Klausner · 2 years, 2 months ago
  4. bdc03ab Fix some typos, including in test data. by Thomas Klausner · 2 years, 3 months ago
  5. 563ee2c Explicitly mention that zip_close invalidates all state about the archive. by Thomas Klausner · 2 years, 3 months ago

This is libzip, a C library for reading, creating, and modifying zip and zip64 archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. Decryption and encryption of Winzip AES and legacy PKware encrypted files is supported. The API is documented by man pages.

libzip is fully documented via man pages. HTML versions of the man pages are on and in the man directory. You can start with libzip(3), which lists all others. Example source code is in the examples and src subdirectories.

If you have developed an application using libzip, you can find out about API changes and how to adapt your code for them in the included file

See the file for installation instructions and dependencies.

If you make a binary distribution, please include a pointer to the distribution site:

The latest version can always be found there. The official repository is at github.

There is a mailing list for developers using libzip. You can subscribe to it by sending a mail with the subject “subscribe libzip-discuss” to minimalist at List mail should be sent to libzip-discuss at Use this for bug reports or questions.

If you want to reach the authors in private, use

Github Actions Build Status Appveyor Build status Coverity Status