The Zip, GZip, BZip2 and Tar Implementation For .NET

Developers look to Xceed Zip for .NET, community sponsor of SharpZipLib, when they need advanced Zip and streaming compression capabilities.

#ziplib (SharpZipLib, formerly NZipLib) is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform. It is implemented as an assembly (installable in the GAC), and thus can easily be incorporated into other projects (in any .NET language). The creator of #ziplib put it this way: "I've ported the zip library over to C# because I needed gzip/zip compression and I didn't want to use libzip.dll or something like this. I want all in pure C#."


The library is released under the GPL with the following exception:

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Note The exception is changed to reflect the latest GNU Classpath exception. Older versions of #ziplib did have another exception, but the new one is clearer and it doesn't break compatibility with the old one.

Bottom line In plain English this means you can use this library in commercial closed-source applications.


You can download the source code and compiled assembly from this site. Download now!

#ziplib is a by-product to our open source IDE SharpDevelop. It is free, C# source code included!


#ziplib has intially been developed by Mike Krueger, however, much existing Java code helped a lot in speeding the creation of this library. Therefore credits fly out to other people.

The current maintainer of #ziplib is David Pierson. Please contact him regarding features, bugs etc via the forum.

Change Log

The changes are documented in the release history that can be found in our project wiki.


Copyright ©2001-2012 IC#Code. All rights reserved. Want to sponsor a feature / the project? Get in touch!