Skip to main content
Skip table of contents

Release pdfHTML 6.2.1

Release date: Sep 2nd, 2025

pdfHTML is an iText Core add-on for Java and .NET to create PDF from HTML/XML (and associated CSS).

While this release is only a patch release, it contains a few nice bug fixes and changes. First off, there’s a fix for <br/> tags where a span tag with empty content would be created instead of an Artifact in output PDFs.

It also fixes incorrect href conversion handling when setting the baseUri, and a bug where content would not be tagged as real content or an artifact after conversion.

An issue where OutlineHandler.createDefault() would overwrite an existing ID, breaking inter-document links is resolved. Finally, there’s a change to calculations for aligned content, where inaccurate free space would be calculated.

Downloads

Changelog

Bug fixes

  • DEVSIX-8698: htmlPDF create empty tag for br tag

  • DEVSIX-9066: pdfHtml: <a> with href pointing to an object (#object) become urls after converting instead of GoTo when setting the baseUri

  • DEVSIX-9158: OutlineHandler.createDefault() overwrites existing ID breaking inter document links.

  • DEVSIX-9178: Fix wrong freespace calculations for align content

eBooks

Converting HTML to PDF with pdfHTML

Installation Instructions

Examples (latest ones)

FAQ (latest ones)

Chapter 7: Frequently Asked Questions about pdfHTML

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.