using IronZip;
// Create an empty ZIP
using (var archive = new IronZipArchive())
{
// Add files to the ZIP
archive.Add("./assets/image1.jpg");
archive.Add("./assets/image2.jpg");
archive.Add("./assets/image3.jpg");
// Export the ZIP
archive.SaveAs("output.zip");
}
Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework
A C# ZIP Archive Library that prioritizes accuracy, ease of use, and speed.
IronZip is a leading C# ZIP archive library for creating, reading, and extracting archives in .NET. Its user-friendly API enables developers to easily add archive management functionality to .NET projects in minutes.
Get your free 30-day Trial Key instantly.
The trial form was submitted successfully.
Your trial key should be in the email. If it is not, please contact [email protected]
When you need to build, read, and extract archive, fast.
Compatibility
.NET Versions
C#, VB.NET, F# Languages
.NET Core (10, 9, 8, 7, 6, 5, and 3.1+)
.NET Standard (2.0+)
.NET Framework (4.6.2+)
.NET Project Types
Web (Blazor & WebForms)
Mobile (Xamarin & MAUI)
Desktop (WPF & MAUI)
Console (App & Library)
App Environments
Windows (10+, Server 2016+)
Linux (Ubuntu, Debian, CentOS, etc.)
iOS (12+)
Android API 21+ (v5 “Lollipop”)
Docker (Windows, Linux, Azure)
Azure (VPS, WebApp, Function)
AWS (EC2, Lambda)
IDEs
Microsoft Visual Studio
JetBrains ReSharper & Rider
OS & Processors
Windows, Mac, Linux, iOS, Android
x64, x86, ARM
Binary Certification
DigiCert Signed Binaries
Generating Archives
Supported Archives
ZIP
TAR
GZIP
BZIP2
Add Files
Add Images (jpg, png, gif, tiff, svg, bmp)
Add Text Files
Add Documents (PDFs, DOCX, XLSX)
Add Audio (MP3, WAV)
Add Compressed Files (ZIP archives within a ZIP archive)
Create & Export
ZIP (Create, Import & Export)
Password Protected ZIP (Traditional, AES128 & AES256)