Open HTML to PDF is a pure-Java library for rendering a reasonable subset of well-formed XML/XHTML (and even some HTML5) using CSS 2.1 (and later standards) for layout and formatting, outputting to PDF or images. Use this library to generated nice looking PDF documents. But be aware that you can not throw modern HTML5+ at this engine and expect a great result. You must special craft the HTML document for this library and use it's extended CSS feature like #31 or #32 to get good results. Avoid floats near page breaks and use table layouts.
Features
- Uses the well-maintained and open-source (LGPL compatible) PDFBOX as PDF library
- Proper support for generating accessible PDFs
- New, faster renderer means this project can be several times faster for very large documents
- Font fallback support
- Limited support for RTL and bi-directional documents
- Better support for CSS3 transforms
Categories
PDF Generation LibrariesLicense
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow Open HTML to PDF
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Open HTML to PDF!