An open-source Java library for creating, editing, rendering, and encrypting PDF documents, including HTML-to-PDF conversion.
OpenPDF is an open-source Java library for programmatically creating, editing, rendering, and encrypting PDF documents. It solves the problem of integrating robust PDF generation and manipulation capabilities into Java applications without relying on proprietary software. A key feature is its ability to generate PDFs directly from HTML content.
Java and Kotlin developers who need to generate reports, invoices, or other documents in PDF format within their applications, especially those seeking an open-source alternative to commercial PDF libraries.
Developers choose OpenPDF because it is a mature, feature-rich library available under the permissive LGPL and MPL licenses, offering a free and open alternative to proprietary solutions like iText. It provides comprehensive PDF functionality including HTML conversion and rendering.
OpenPDF is an open-source Java library for creating, editing, rendering, and encrypting PDF documents, as well as generating PDFs from HTML. It is licensed under the LGPL and MPL.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
OpenPDF is available under both LGPL and MPL licenses, offering flexibility for commercial and open-source use without restrictive terms, as stated in the README.
It supports PDF creation, editing, HTML to PDF conversion, rendering, encryption, and PDF 2.0 compliance, making it a versatile library for various document tasks.
With a dedicated openpdf-kotlin module and documented Android compatibility, it caters to modern Java and Kotlin development environments, as highlighted in the features.
The project has continuous integration badges, welcomes contributions, and is maintained on GitHub with regular updates, ensuring community-driven improvements.
The README explicitly warns that OpenPDF does not perform input validation or enforce sandboxing, requiring developers to handle security vulnerabilities themselves, which is a significant liability.
Different modules (e.g., openpdf-core, html, renderer) and optional dependencies like BouncyCastle and Apache FOP are needed for advanced features, increasing setup and maintenance overhead.
OpenPDF is forked from iText version 4 and Flying Saucer, which are older projects, potentially leading to outdated code or limited support for modern PDF features beyond the core standards.
OpenPDF is an open-source alternative to the following products: