Download iText®

The iText source code and binaries are hosted on SourceForge
You can download the source code using your favorite Subversion (SVN) client, see http://sourceforge.net/p/itext/code/HEAD/tree/.

Other iText projects

You can also download the following products:
Please note that these projects depend on iText®. They can't be used as standalone tools.

Technical requirements

Depending on your use of iText, you need some extra jars or libraries:
  • If you want to compile iText (or iTextSharp), you'll need three extra libraries: bcprov, bcmail and bctsp. You'll also need them at runtime if your code involves encryption or digital signing. These libraries were released by The Legion of the Bouncy Castle.
  • If you are using CJK (Chinese, Japanese, Korean) font technology (fonts that aren't embedded in the PDF, but that use font packs you can install with Adobe Reader), you need an extra iTextAsian.jar.
  • If you are using hyphenation, you need an extra itext-hyph-xml.jar. This jar contains files distributed with the Apache FOP library.

Maven repository

If you are using Maven, you can update the pom.xml of your project or to the main settings.xml file. For the settings.xml you have to add it to the "profile" section (see: http://maven.apache.org/settings.html#Repositories).
Here is a sample for the project pom.xml file which should be sufficient for most users. iText is stored in the central Maven repository, so normally you don't have to add an extra <repository> tag, you only need to add <dependency> tags for each iText package you need. In this sample, we want to use iText 5.1.3 and XML Worker 1.1.1.
---------- pom.xml ----------
<project [..default xml namespace details..]>

  [..project-details..]

  <dependencies>

    <dependency>
      <groupId>com.itextpdf</groupId>
      <artifactId>itextpdf</artifactId>
      <version>5.1.3</version>
      <type>jar</type>
    </dependency>

    <dependency>
      <groupId>com.itextpdf.tool</groupId>
      <artifactId>xmlworker</artifactId>
      <version>1.1.1</version>
      <type>jar</type>
    </dependency>

    [..other package dependency..]
  </dependencies>
</project>
-----------------------------
Note: Placeholders for other elements are added in square brackets and shouldn't be copied to your pom.xml.

News