Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
The iText PDF library is a Java and .NET library for creating and manipulating PDF files. iText 7 is the advanced version of iText 5 and iTextSharp. It is a simpler, more performant, and extensible library that meets the growing challenges of today's PDF document processes and document needs, one add-on at a time.
The iText Group is a world pioneer in PDF (Portable Document Format) technology, including products such as iText 7 Suite, iText pdf2Data, and iText DITO application software.
The iText 7 Core is an open-source PDF library that you can incorporate into your own applications for creating interactive forms. It is a rethinking of the successful engine used in iText 5 with a modular code structure that allows for future enhancements and expansion as well as easier scripting.
The iText library has multiple features for business users:
iText is a technology company in the digital documents space. The company’s flagship product is an open-source Java library and .NET library for creating and manipulating PDF documents in Java and .NET (C#).
Let's take a look at a hello world source code example of generating iText PDF documents.
// Import iText7 libraries
using iText.Kernel.Pdf;
using iText.Layout;
using iText.Layout.Element;
// Create a writer instance with the destination file path
var writer = new PdfWriter("destination.pdf");
// Create a PdfDocument instance which uses the writer
var pdf = new PdfDocument(writer);
// Create a Document instance for high-level manipulation
var document = new Document(pdf);
// Add a paragraph with "Hello World!" text
document.Add(new Paragraph("Hello World!"));
// Close the document to ensure changes are saved
document.Close();
// Import iText7 libraries
using iText.Kernel.Pdf;
using iText.Layout;
using iText.Layout.Element;
// Create a writer instance with the destination file path
var writer = new PdfWriter("destination.pdf");
// Create a PdfDocument instance which uses the writer
var pdf = new PdfDocument(writer);
// Create a Document instance for high-level manipulation
var document = new Document(pdf);
// Add a paragraph with "Hello World!" text
document.Add(new Paragraph("Hello World!"));
// Close the document to ensure changes are saved
document.Close();
' Import iText7 libraries
Imports iText.Kernel.Pdf
Imports iText.Layout
Imports iText.Layout.Element
' Create a writer instance with the destination file path
Private writer = New PdfWriter("destination.pdf")
' Create a PdfDocument instance which uses the writer
Private pdf = New PdfDocument(writer)
' Create a Document instance for high-level manipulation
Private document = New Document(pdf)
' Add a paragraph with "Hello World!" text
document.Add(New Paragraph("Hello World!"))
' Close the document to ensure changes are saved
document.Close()
PdfWriter
and manages the content and data structure in accordance with PDF standards.Close()
method is crucial as it ensures all content is flushed and the file is correctly completed.iText 7 is paid and has limited functionalities. They do not provide all the functionalities in a single package. We need to use different libraries for different purposes. For instance:
PDF creation and PDF generation are supported by iText 7 while HTML to PDF Conversion is supported by pdfHTML. On the other side, PDF which includes removing sensitive data from PDF is supported by pdfSweep.
Data extraction such as extraction of images, tables, and text from PDF documents is provided by the pdf2Data library. RUPS supports PDF debugging to manipulate PDF documents.
Similarly, other features have libraries to support them, which are part of the iText 7 Suite. So, it is very difficult for the developer to manage so many DLLs.
Its commercial license is also very expensive. They have not mentioned the price on their iText 7 license and pricing page. We need to contact their sales department for the quotation, which will cost us time.
Let's suppose, if we are working on generating PDF documents, and at the same time we need to extract images, tables, or text from the existing PDF. In this case, we need to buy iText 7 Suite as well as iText pdf2Data which will cost us more.
Is there any alternative to iText software with comprehensive features which provides all the mentioned features in a single library with a reasonable commercial license? The answer is Yes.
Explore IronPDF Features and Capabilities is a .NET and Java Library developed and maintained by Iron Software. IronPDF is the most popular C# and Java PDF library for creating and editing PDFs. Its simple API enables developers to quickly generate professional, high-quality PDFs from HTML in .NET projects. It prioritizes accuracy, ease of use, and speed.
The features of the IronPDF include:
Let's discuss a bit about its licensing.
IronPDF is free for development and does not require any license. However, its commercial license is required for using it in production. You can always avail free trial of IronPDF at any time. Its commercial license varies from 749 USD to 2999 USD. You can select the package as per your need and start working. You don't have to contact their sales which saves time. Moreover, their commercial license includes 24/7 support.
IronPDF provides all the functionalities in a single package. It is like an all-in-one solution. We need to use different packages for the different features in the case of iText 7. IronPDF's commercial license can easily be purchased with full support without contacting sales. On the other hand, we need to contact sales to request a quote to use iText 7 for commercial purposes.
We have kept this article simple and comprehensive. Feel free to ask any questions in the comment section.
iText is a Java and .NET library for creating and manipulating PDF files. It includes products such as iText 7 Suite, iText pdf2Data, and iText DITO.
The iText library allows users to create, read, and manipulate PDF documents, add digital signatures, fill out and flatten interactive forms, add tags, create maps and books, and add bookmarks and watermarks. It supports PDF specifications like PDF 2.0, PDF/A, and PDF/UA.
iText 7 Core is open-source and free to use for non-commercial purposes, but its commercial license is expensive and requires contacting their sales for a quote.
iText 7 requires using different libraries for different functionalities, making it complex to manage. It is also expensive for commercial use, as the commercial license pricing is not publicly listed.
You can use IronPDF, a .NET and Java PDF library developed by Iron Software, which allows for creating and editing PDFs with a simple API. It supports generating PDFs from HTML and other formats.
IronPDF offers an all-in-one solution with features like converting HTML to PDF, extracting images and text, and offering multithreading capabilities. It supports all .NET languages and versions and is compatible with various operating systems.
Yes, for IronPDF, a commercial license is required for production use. The license pricing ranges from 749 USD to 2999 USD, and it includes 24/7 support.
IronPDF offers a more straightforward licensing process and pricing is publicly available, whereas iText requires contacting sales for a quote. IronPDF's commercial license is easier to purchase and includes full support.