.NET API for Files Compression & Archiving

Compress file to create archives or Decompress archives of types ZIP, TAR, GZIP, BZ2, 7Zip, RAR from within any .NET based application.

  Download Free Trial
Aspose.ZIP for .NET

Aspose.ZIP for .NET


Aspose.ZIP for .NET is a flexible documents compression and archive manipulation API for standard ZIP format. API enables .NET applications to achieve files compression/decompression, archiving files as well as folders and encryption of archives. It provides protection via user-defined passwords and traditional encryption using ZipCrypto or AES encryption such as AES128, 192 and AES256.


Advanced .NET Core Compression Library Features



Easy Integration


Create an archive from one or more files


Add files to archives without compression


Encrypt or decrypt whole archive or specific entries


Add entries to existing archive


Delete entries from existing archive


Compress folder respecting its structure


Decompress to directory respecting archive structure


Compress any size documents by applying parallelism

Integrating Compression API in a .NET Application

The compression library integration is simple whereas most of the compress & decompress operations can be performed with just a few lines of code. 

Single file compression - C#

var dir = "full directory path";
using (var arch = new Archive())
   arch.CreateEntry("filename.dat", dir+"file.dat");

Support and Learning Resources