A pure-Java library for converting well-formed HTML/CSS to PDF and images with accessible PDF support.
Open HTML to PDF is a pure-Java library that converts well-formed HTML and CSS into PDF documents or images. It solves the problem of server-side PDF generation on the JVM by providing a fast, lightweight renderer that supports accessibility standards and common web formats. It is particularly useful for generating reports, invoices, and documents from HTML templates in Java applications.
Java developers and teams needing to generate PDFs from HTML/CSS in server-side applications, especially those requiring accessible PDFs or compliance with PDF/A standards.
Developers choose Open HTML to PDF for its performance advantages over browser-based renderers, its strong support for accessible PDF generation, and its pure-Java implementation that avoids external dependencies like a full browser engine.
An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 3. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports WCAG, Section 508, and PDF/UA compliance, making it suitable for legally mandated accessible documents.
The custom rendering engine is significantly faster for large documents compared to browser-based alternatives, as highlighted in the differences with Flying Saucer.
Built-in plugins allow direct rendering of SVG images and MathML content, beneficial for technical and scientific PDFs.
Can generate PDF/A standards-compliant documents, essential for archival and regulatory purposes.
Includes features for footnotes and limited right-to-left text, catering to academic and multilingual use cases.
Lacks modern CSS features like flexbox, grid, and transparency, requiring developers to revert to older layout techniques.
Does not run JavaScript, so dynamic or client-side rendered content cannot be processed, limiting its use for modern web pages.
Requires Jsoup for proper HTML parsing, adding an extra step and potential complexity to the workflow.
Documentation is hosted on an old repository and not migrated, which may lead to outdated or incomplete guidance.