How to download the iText 7 or iText 5 license key library manually, or using Maven or NuGet.

Important!

As of the release of iText 7.2, the old licensing system was replaced by a new Unified Licensing Mechanism, which allows volume users to more easily check their usage and extended the event counting capabilities. This replaces the old itext-licensekey and itext-licensekey-volume dependencies with the new licensing-base and licensing-remote dependencies, and the version number for the licensing libraries was increased from version 3.x to 4.x. In addition, it replaces the old XML license file with a new one in JSON format.

Simply put, if your license key file is an XML file you should follow the instructions marked iText 7.1.x in this guide. However, if you have a JSON license key file, see the instructions for iText 7.2.x.

For iText 7.2.x

Java

.NET

For iText 7.1.x

NOTE: These instructions apply to both iText 5 and iText 7 as for iText versions 5.5.13 and later, we changed to use the same license key version as for iText 7. Download the license key library from the iText 7 link below for Java or .NET.

Java

.NET


Alternatively, you can use the following instructions for our supported dependency managers:

Maven

You'll need to add the iText Artifactory server, https://repo.itextsupport.com/releases, as an additional repository in the repositories section of your pom.xml, as described in the Maven documentation. Then you can add the following dependency to your dependencies to install the latest version:

For iText 7.2.x

<properties>
       <itext.version>$release-license-base-variable</itext.version>
</properties>
<dependencies>
  <!-- iText 7 License Key Library -->
  <dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>licensing-base</artifactId>
    <version>$release-license-base-variable</version>
  </dependency>
</dependencies>

.NET

For iText 7.1.x

<properties>
       <itext.version>RELEASE</itext.version>
</properties>
<dependencies>
  <!-- iText 7 License Key Library -->
  <dependency>
    <groupId>com.itextpdf</groupId>
    <artifactId>itext-licensekey</artifactId>
    <version>${itext.licensekey.version}</version>
  </dependency>
</dependencies>

.NET

The license key library can be downloaded from NuGet.

If you need information about installing the license key library or loading your license key, see the installation guide.