Getting started with iText 7 .NET

iText 7 is available under two licenses:
Click the arrow to expand information about our libraries.

Download instructions are identical for both, and fully explained below.

Compatibility Matrix

7.0.0 7.0.1 7.0.2 7.0.3 7.0.4 7.0.5 7.0.6 7.0.7 7.1.0 7.1.1 7.1.2
pdfSweep 1.0.0 1.0.1 1.0.1 1.0.1-1.0.2 1.0.2 1.1.0 1.1.0 1.1.1 2.0.0+ 2.0.0+ 2.0.1+
pdfInvoice 1.0.0 1.0.1+ 1.0.1+ 1.0.1+ 1.0.1+ 1.0.1+ 1.0.1+ 1.0.1+ 2.0.0+ 2.0.0+ 2.0.0+
pdfDebug - 1.0.1 1.0.1 1.0.1 1.0.1 1.0.1 1.0.1 1.0.1 2.0.0+ 2.0.0+ 2.0.0+
pdfCalligraph 1.0.0 1.0.1 1.0.2 1.0.2-1.0.3 1.0.3 1.0.3 1.0.3 1.0.3 2.0.0+ 2.0.0+ 2.0.0+
pdfXFA 1.0.0+ 1.0.0+ 1.0.0+ 1.0.0+ 1.0.0+ 1.0.0+ 1.0.0+ 1.0.0+ 2.0.0+ 2.0.0+ 2.0.0+
pdfHTML - - 1.0.0 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 2.0.0+ 2.0.1+ 2.0.2+
pdf2Data - - - 1.0.8-1.1.3 1.0.8-1.1.3 1.0.8-1.1.3 1.0.8-1.1.3 1.0.8-1.1.3 2.0.0+ 2.0.0+ 2.0.1+

How to download iText 7 Community?

Automated dependency management for iText 7 Community .NET

All modules are available in a single NuGet package, which you can find by typing Install-Package itext7 in the NuGet Package Manager.

iText 7 Community .NET on GitHub

The source code is available on GitHub.

  • You can download the modules (.nupkg) of iText 7 Community in a single ZIP file for .NET. version iText 7 Community.
  • Developers can clone the following git projects to access the source code .NET version iText 7 Community.
  • Download pdfHTML.NET version pdfHTML.
  • Download pdfSweep .NET version pdfSweep.
  • Download pdfInvoice.NET version pdfInvoice.

How to download iText 7 Core and add-ons?

License key and library

If you've purchased a commercial license for iText 7 and/or its add-ons, you have a license key. To properly use it, that means you're going to have to download the proper license key library. Read more about the license key libaries. An FAQ about the license key can be found here.

Using the NuGet Gallery

iText 7 Core and add-ons for .NET are available on NuGet. The iText 7 license key library is a required dependency for these packages, so it will automatically be installed as well.
You can install iText 7 Core by typing the following command in the NuGet Package Manager:

  • Install-Package itext7

For the iText 7 add-ons:

  • Install-Package itext7.pdfsweep
  • Install-Package itext7.pdfcalligraph
  • Install-Package itext7.pdfinvoice
  • Install-Package itext7.pdfhtml
  • Install-Package itext7.pdfxfa
  • Install-Package itext7.licensekey
  • itext.pdf2data

Please be aware that for pdf2Data next to the SDK (described above), you also need to install the pdf2Data template editor (web application) - installation instructions can be found here.

Using the iText Artifactory server

The iText 7 NuGet packages are also available on the iText Artifactory server. You can add it as a custom NuGet repository to Visual Studio. In the NuGet Package Manager, go to the settings and add the following URL as a package source:

You can also browse the iText Artifactory server and download NuGet packages manually.

License key libraries

The licensekey library (itextsharp.licensekey.dll) needs to be added as a reference to your project. It can be downloaded from our repository or through NuGet. You can add our NuGet repo to your NuGet Packet Manager by adding this URL as a source:

  • You need the latest version when using iText 7.1, the current version is 3.0.0. Older versions (1.x.y) can only be used in combination with iText 5.

  • With the introduction of version 3.0.0 of the license key library, we also released a volume based counting mechanism. The mechanism works with an event system. iText and its add-ons will send events through this event system. When a volume license key file has been loaded, the statistics concerning usage will be sent to our servers. This means the machine that runs your application needs an active Internet connection. Click here to read our guid showing you how to enable the automated monitoring of volume licenses (Capacity Rental License).

The license file (typically itextkey.xml) needs to be loaded before calling the proprietary code. This is done using the static method LoadLicenseFile() of the LicenseKey class: LicenseKey.LoadLicenseFile(“path/to/itextkey.xml”).

How to uninstall iText 7 Community or Core?

.NET version - NuGet

To uninstall iText 7 follow below steps:

  1. Take the iText code out of your project.
  2. Run the NuGet Package Manager command Uninstall-Package itext7 -RemoveDependencies.