Download iText®
The iText source code and binaries are hosted on SourceForge
- Download iText, the Java version of the library.
- Download iTextSharp, the C# port of the library
You can download the source code using your favorite Subversion (SVN) client:
svn co https://itext.svn.sourceforge.net/svnroot/itext/trunk main
This repository can also be browsed online.
Other iText projects
You can also download the following products:
- iText XML Worker: XML parser. Parses HTML snippets and converts them to PDF (demo).
- iText RUPS: tool allowing you to look inside your PDFs.
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
-
If you've tried the XFA demo in the last couple of months, you may have noticed some flaws, but now there's an update based on your feedback!published on 2012-02-02
-
Three new articles from Michaël en Jeroen: How OAuth works, Android 101, and iText on the JVM (featuring examples in Jython, Groovy, Scala and Clojure).published on 2012-01-03
-
The iText staff wishes you a happy New Year, and we want to say thank you 680,775 times, once for every single person who visited this site last year.published on 2012-01-01
Who's using iText?
Source tweets
-
eugenemark committed revision 5031 to the iText®, a JAVA-PDF library SVN repository, changing 1 filesposted on 2012-02-03
-
trumpetinc committed revision 5030 to the iText®, a JAVA-PDF library SVN repository, changing 1 filesposted on 2012-01-30
-
posted on 2012-01-28
Content © 2011 1T3XT BVBA
