IRONSOFTWAREHOME
Extract ZIP
using IronZip;

// Extract ZIP
IronZipArchive.ExtractArchiveToDirectory("output.zip", "extracted");
Imports IronZip

' Extract ZIP
IronZipArchive.ExtractArchiveToDirectory("output.zip", "extracted")
NuGet Download
PM > Install-Package IronZip
Extract ZIP

Extract ZIP

ZIP is a file compression and archiving format that reduces file sizes for efficient storage and transmission. It combines multiple files and directories into a single archive, typically with a '.zip' extension. ZIP archives are commonly used for data backup, software distribution, and file sharing.

However, automating the extraction of a large volume of ZIP archives can be cumbersome and prone to human error. IronZIP allows for the programmatic extraction of ZIP archive contents, making workflows more streamlined and efficient.

Extracting Zip Archive

First, we import the IronZip namespace, allowing us to utilize the library. We then proceed to use the method ExtractArchiveToDirectory to extract the file contents of the ZIP archive and send them to an intended directory.

This method extracts the archive provided to the intended directory. The first parameter is the ZIP file that you wish to extract the contents from. Keep in mind that this parameter should be the absolute path where the ZIP archive is stored. The second parameter is the directory where you wish to extract the contents of the ZIP archive, too.

Learn to Create and Extract ZIP Files with IronZIP
View on GitHub

Ready to Get Started?

Nuget Downloads 23,187Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required