Installing iText 7 pdf2Data for .NET developers

Thank you for your interest in our data extraction add-on - pdf2Data , we hope you will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation process, from downloading iText 7 pdf2Data to adding the dependency to your .NET building tool.

Finally, if you would require extra help please have a look at our FAQs or the community discussion at Stack Overflow. If you are interested in getting support of our in-house developers and/or a license key for commercial iText products, you will need to acquire a commercial license.

Before you install

  • Make sure you have purchased a commercial license of iText 7 Core and pdf2Data - if for commercial purposes. All downloads we offer closed-source come with our commercial license model.
  • Download and install the proper license key library, you can find the installation guide here.
  • Install iText 7 Core, you can find the installation guide here.
  • Important remark: in the installation guide we use NuGet as building tool for .NET.

iText 7 pdfInvoice is available via Nuget. Simply add iText 7 pdfInvoice by typing the following command in the NuGet Package manager:  Install-Package itext7.pdfdata

Installation pdf2Data template editor (web application)

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.

Note: The webapp refers to the pdf2Data template editor. Even though you may have purchased the .NET version of pdf2Data, keep in mind that the template editor (which runs in the browser) is deployed as a java web application. The template editor is (strictly speaking) not needed to be able to use pdf2Data, but it does make things a lot easier. For more information on the template editor, check the whitepaper.

  • Download a Java SE Runtime Environment and install it. Java 8 or higher is required.
  • Download a Apache Tomcat 7.x software and install it (or higher version).  Due to the possible issues with compatibility of Java8 and Tomcat7, version 7.0.77 or higher is required for Tomcat7. Any version of Tomcat8 should suffice.
  • Download a PDF2Data web application war file.  Download the war file from:
  • Deploy the application on the installed Tomcat server ( In most cases it is sufficient to copy a war file into subdirectory webapps in Tomcat directory ( eg., c:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\)
  • Create the file “”:
    • dir.temp=your_folder_for_resources Set temporary directory for resources.
    • This variable should not be changed.
    • Set server name for SMTP protocol.
    • mail.smtp.port=25 Set number of port for server.
    • mail.ssl.smtp.port=567 Set port of ssl connection for server.
    • mail.ssl.enable=false Set true if your server use SSL encryption.
    • mail.smtp.starttls.enable=false Set true if your server use STARTTLS encryption.
    • mail.from=your email address (e.g.
    • email address (e.g.
    • user.password=your email password
    • licensekey=path to license file (.xml) (e.g. licensekey=/home/user/license.xml) E.g., settings for GMail server:  mail.smtp.port=25  mail.ssl.smtp.port=465  mail.ssl.enable=true mail.smtp.starttls.enable=true  Also if your e-mail from gmail account wasn’t sent you would change your account access for less secure apps (  These settings are needed to enable the feedback mechanism in the template editor. The feedback will be sent to (as indicated in the config file by the variable), the email will have to be sent from a certain email address (as indicated by the mail.from, and user.password variables).
  • Create an environment variable PDF2DATA_PROPERTIES and set it to the path of the file from previous step (f.e. “d:\MyFolder\”).
  • Start Tomcat server ( if it was not running before. Example properties file:  mail.smtp.port=25 mail.ssl.smtp.port=465 mail.ssl.enable=true  mail.smtp.starttls.enable=true  mail.smtp.port=25  mail.ssl.smtp.port=567  mail.ssl.enable=false  mail.smtp.starttls.enable=false  mail.smtp.port=25  mail.ssl.smtp.port=465  mail.ssl.enable=true  mail.smtp.starttls.enable=false  licensekey=/home/user/license.xml

Compatibility Matrix

Use our easy compatibility matrix tool to find more information about the compatibility between your current iText Core/Community version and our add-ons and 3rd-party standalone applications

Add-ons 7.1.5

iText 7 Core


iText 7 Community



2.0.0 - 2.1.2



More add-ons 7.1.5










Still have questions? 

We're happy to answer your questions. Reach out to us and we'll get back to you shortly.

Contact us
Stay updated

Join 11,000+ subscribers and become an iText PDF expert by staying up to date with our new products, updates, tips, technical solutions and happenings.

Subscribe Now