Apache PDFBox VS iText

Compare Apache PDFBox vs iText and see what are their differences.


[DEPRECATED] Core Java Library + PDF/A, xtra and XML Worker. Only security fixes will be added — please use iText 7 (by itext)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • Sonar - Write Clean Java Code. Always.
Apache PDFBox iText
25 2
2,149 1,524
3.6% 1.6%
9.3 0.0
1 day ago 3 months ago
Java Java
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Apache PDFBox

Posts with mentions or reviews of Apache PDFBox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-04.


Posts with mentions or reviews of iText. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-30.
  • How do i convert html file to pdf file using java(fx)?
    3 projects | /r/JavaFX | 30 Dec 2022
    Not really a JavaFX question as JavaFX is a UI framework. Your question is therefore just related to Java. To answer that I've seen a similar feature from IText (https://itextpdf.com) or OpenPDF (https://github.com/LibrePDF/OpenPDF) as an open source alternative. Maybe take a look at those for a start and check if they provide you what you're looking for.

What are some alternatives?

When comparing Apache PDFBox and iText you can also consider the following projects:

OpenPDF - OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository. ⛺

Apache FOP - Apache XML Graphics FOP

flyingsaucer - XML/XHTML and CSS 2.1 renderer in pure Java

Apache POI - Mirror of Apache POI

Dynamic Jasper - Dynamic Reports using Jasper Reports

Open HTML to PDF - An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!

boxable - Boxable is a library that can be used to easily create tables in pdf documents.

Konik - A library to create, read and validate ZUGFeRD compliant invoices. Available for Java and .NET