More .NET components
using Rebex.IO.Compression;

// open a ZIP archive
using (var zip = new ZipArchive(@"c:\data\"))
	// set password
	zip.Password = "TopSecret";

	// add all text documents to the ZIP archive
Show me more code...
ZIP, UnZIP, Deflate, ZLIB and GZIP compression library for .NET Framework. Makes it easy to create, modify, encrypt or extract ZIP archives.

Why Rebex ZIP

Many time-tested features

Rebex ZIP is a mature and stable component maintained since 2010. We have been adding new features year after year, inspired by user feedback. For example:

  • Compatible with WinZip, PKZIP, Info-ZIP (and many others).
  • Password protection (legacy ZIP 2.0 encryption method; WinZip-compatible AES‑128, AES‑192, AES‑256 encryption methods).
  • Large file support (over 4 GB).
  • Multi-file operations.
  • Multithreaded compression.
  • Progress monitoring.
  • Stream or file based operation.
  • Extract data to anything.
  • No temporary files.
  • Recursive directory tree operations.
  • Wildcards support for adding, extracting and deleting files.
  • Advanced file filtering using the FileSet class.
  • Thread-safe.
  • FIPS 140-2 compliant mode.
  • Ability to use ZIP in SSIS, SQL CLR and PowerShell.
  • Support for asynchronous operations including .NET 4.x-style task-based API.
  • Custom compression and decompression algorithm implementation - no dependency on any open-source or third-party compression library (unlike many others).

And many more...

File and directory operations made easy

Add or Extract a file from/to a filesystem or memory. Rename and move files. Check existing files. Or perform other single-file ZIP operations.

Or simply process many files at once. Add or extract whole directory structures. Use wildcards or file sets to specify which files to process.

Need to work with directories? List their content, create or rename them. You can even delete non-empty folders recursively.

Overwrite or rename files using a single line of code. Monitor progress or handle problems with events.

Raw compression and decompression streams

Core of the ZIP format is the DEFLATE compression algorithm. You can use Rebex ZIP's compression and decompression streams to deflate or inflate data directly. GZIP and ZLIB formats are also supported as well.

Platform support

  • .NET Framework
    2.0, 3.0, 3.5, 3.5 SP1, 4.0, 4.5.x, 4.6.x, 4.7.x, 4.8 (32-bit and 64-bit) on Windows
  • .NET Core
    1.1, 2.1, 2.2 (32-bit or 64-bit) on Windows, Linux and macOS
  • .NET Compact Framework
    3.5, 3.9 on Windows Mobile, Windows CE, Pocket PC, Windows Embedded Compact 7, Windows Embedded Compact 2013
  • Mono
    4.x, 5.x on Linux and Apple macOS (OS X)
  • Xamarin.iOS
    Xamarin.iOS 10.3 or later
  • Xamarin.Android
    Xamarin.Android 8.0 or later

Supports Visual Studio 2008, 2010, 2012, 2013, 2015, 2017, 2019 and Visual Studio for Mac.

Learn more about supported standards and platforms.

Supports .NET Standard on .NET Core.

Experimental support for Universal Windows Platform on Windows 10 and Windows 10 IoT.

Experimental support for Xamarin.Mac 3.8 and higher.

Licensing and support

  • Royalty free redistribution.
  • Includes 1 year support contract.
  • Includes all new versions released during 1 year.