Convert HTML into rich, smart PDF documents. Convert HTML to PDF with pdfHTML. pdfHTML is an extension for iText 7, allowing you to easily convert HTML and CSS into PDF documents in Java or .NET. Use your HTML skills to convert HTML to PDF documents with ease. When using pdfHTML in a closed source environment, you need to purchase an iText commercial license.


iText 7 pdfHTML

Convert HTML to PDF

pdfHTML is an HTML to PDF converter, that easily converts HTML and CSS into PDF documents. As an iText 7 add-on you can use pdfHTML for out-of-the-box solutions, or on its own. With the iText pdfHTML tool you can easily convert HTML to PDF and create professionally formatted rich, smart PDF reports and documents. You can integrate the API into your workflow and convert HTML into PDF documents which are standards compliant and are accessible, searchable and usable for indexing.


Why use iText 7 pdfHTML?

Re-use the structural information from HTML to easily create PDF/A, PDF/UA, or Tagged PDFs. pdfHTML provides the engine to convert HTML to PDF and the results are well-formatted, well-structured PDF documents. There is no need to know the technical details of the PDF format, pdfHTML utilizes semantic and structural information already present in the HTML.

Easily integrates with HTML tools

pdfHTML convert HTML to PDF pdfHTML provides the engine to convert HTML to PDF

By using HTML and CSS to layout and style your document, you can leverage your existing HTML and CSS skills to create PDFs. This add-on easily integrates with HTML tools.

Out of the box and customized options for HTML to PDF conversion.

pdfHTML convert HTML to PDF pdfHTML provides the engine to convert HTML to PDF

The HTML elements are already mapped to iText elements based on HTML5 and CSS3. To customize, you simply add your own handlers to the pdfHTML framework.

Create a structured PDF document

pdfHTML convert HTML to PDF pdfHTML provides the engine to convert HTML to PDF

Convert HTML to PDF with pdfHTML and use the structural and semantic information from HTML to create PDF/A, PDF/UA or Tagged PDFs and create standards compliant PDF documents. 

Key features

Core capabilities of iText 7 pdfHTML

pdfHTML provides a convenient API which allows you to convert HTML files straight to PDF files or to a list of iText elements. This gives you full control over how to parse and insert the HTML elements. When using pdfHTML to convert HTML to PDF you will realize another great advantage. Semantic and structural information contained in the HTML files is an excellent source for pdfHTML to convert the HTML files into rich, smart PDF documents.

Leverage HTML flexibility in PDF

Core capabilities development icon
  • Convert static HTML5 and CSS3 to PDF
  • The conversion is customizable, dynamic and simple through an easy to use API. 

Conversion options

Core capabilities development icon
  • Convert a full document to PDF directly.
  • Convert an HTML snippet to "iText building blocks", e.g. an HTML rich text paragraph into an iText Paragraph object.

Create PDFs that are compliant with PDF standards

Core capabilities development icon
  • More specifically, PDF/A, PDF/UA and Tagged PDFs.


Core capabilities development icon
  • Add dynamic content to your PDF such as barcodes.
  • Leverage converter properties and custom processing of tags to fine-tune your conversion.

Support and learning resources*Available only in English

Satisfied Customers

We chose the iText library because it was the only solution that allowed easy integration into our open standards architecture.

iText is a breeze! Using a proven and tested PDF technology helped us to focus on what we do best — building a high quality mobile app.

With iText we have the peace of mind that we are delivering a solid solution to our client.


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