For a PDF generation library for Java applications, the strongest matches are librepdf/openpdf (OpenPDF is a Java library specifically designed for programmatic), apache/pdfbox (Apache PDFBox is a core Java library for creating) and kozea/weasyprint (WeasyPrint generates PDFs from HTML/CSS but is a Python). noraj/oscp-exam-report-template-markdown and opensignlabs/opensign round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
These open-source Java libraries enable developers to programmatically create, manipulate, and render PDF documents efficiently.
OpenPDF is a Java library and document processor used for creating, editing, rendering, and encrypting PDF documents. It functions as a toolkit for generating new files from scratch, modifying existing document structures, and extracting text content. The project includes a dedicated engine for transforming HTML and CSS content into PDF documents by parsing markup and applying styles. It also provides a rendering engine to convert PDF pages into image formats for thumbnails and previews, alongside a security utility for protecting content via document encryption. The library supports the add
OpenPDF is a Java library specifically designed for programmatic PDF creation, editing, and rendering, with built-in HTML-to-PDF conversion and encryption — exactly the kind of tool this search calls for.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you…
Apache PDFBox is a core Java library for creating and manipulating PDF files programmatically, supporting digital signatures, encryption, and image/font embedding, though it lacks built-in HTML-to-PDF conversion and a dedicated templating engine, so it fits the search as a foundational tool but not a complete all-in-one solution.
WeasyPrint is a Python-based library and layout engine that converts HTML and CSS into printable PDF documents. It functions as a CSS paged media engine, translating web technologies into formatted files for automated document generation. The project implements CSS standards for print and paginated documents, allowing for the design of layouts specifically for printed pages. This includes a specialized pagination engine used to control page breaks, headers, and footers to create professional PDF outputs. Its capability surface covers server-side PDF rendering and the programmatic conversion
WeasyPrint generates PDFs from HTML/CSS but is a Python library, not a Java one, so it does not match the request for a Java-based API for programmatic PDF creation.
This project provides a markdown penetration testing report template and a set of utilities for converting security documentation into formatted PDF reports. It serves as a security certification documentation template designed to meet professional reporting standards for certifications such as the OSCP. The toolkit includes a markdown to PDF report generator that uses static CSS styling for code block highlighting and a specialized exam submission packaging tool. This packaging utility compresses report files into archives and generates integrity hashes to ensure data consistency during subm
This is a specialized Markdown-to-PDF report template and packaging tool for security certification exams, not a reusable Java library for programmatic PDF creation and manipulation—it inverts the intended use case and language.
OpenSign is a self-hosted, open-source document signing platform that enables users to send, sign, and manage PDF documents with digital certificates and encryption. It functions as a complete e-signature solution, allowing organizations to run their own signing service on private infrastructure while maintaining full control over their data and document workflows. The platform supports sequential multi-signer workflows, where documents can be sent to multiple recipients in a predefined order, with each signer receiving an email-based one-time password for verification before accessing the do
OpenSign is a self-hosted document signing platform, not a Java library for programmatic PDF generation — it provides a full e-signature application rather than the Java API you need for server-side PDF creation and manipulation.
This project is a browser rendering service and headless Chrome PDF generator built on Puppeteer. It functions as a backend tool for converting web pages and raw HTML content into PDF documents and screenshots. The service distinguishes itself through browser session control, allowing for the injection of session cookies and the configuration of navigation timeouts to handle authenticated pages. It also includes viewport-based layout scaling to adjust browser dimensions and device scale factors during the rendering process. The broader capability surface covers HTML content export and automa
This is a Node.js-based web service that renders web pages to PDF via headless Chrome, not a Java library for programmatic PDF creation and manipulation, so it operates as a separate deployment rather than an API you can embed in Java code.
ReLaXed is a document workflow and compilation system that transforms Markdown, JSON data, and HTML/CSS into print-ready PDF files. It utilizes a headless browser engine to render web technologies into final documents, serving as a build system for technical documentation and dynamic reports. The project features a pipeline that automates asset generation, allowing scripts to produce images, charts, and tables from raw data files during the build process. It supports the integration of LaTeX formulas for mathematical equations and converts CSV files into formatted HTML tables. The system inc
This is a JavaScript-based document compilation system that generates PDFs from Markdown/HTML, but it is not a Java library and cannot be integrated programmatically into Java applications.
Browsershot is a PHP library that serves as a Puppeteer browser wrapper to convert HTML and URLs into PDFs, images, or strings using a headless Chrome browser. It functions as a tool for transforming web content into visual media or extracting the final rendered DOM state of a page. The library enables the automation of browser rendering to generate PDFs and screenshots from web pages. It can retrieve the final rendered HTML markup after all client-side JavaScript execution is complete and can capture a full audit of network requests triggered during the page load process. The system include
Browsershot is a PHP library for generating PDFs from HTML via a headless browser, not a Java library, so it does not provide the Java API this search requires.
Stirling-PDF is a self-hosted document processing suite designed for secure, private file management. It functions as a comprehensive transformation engine that executes complex operations—such as merging, splitting, converting, and redacting documents—directly on the host machine. The platform provides both a browser-based interface for interactive editing and a programmatic, API-first architecture that allows for the automation of document workflows through standard HTTP requests. The project distinguishes itself through its focus on private, infrastructure-agnostic deployment and granular
Stirling-PDF is a self-hosted web application and API server for document manipulation, not a Java library—so while it can process PDFs, it cannot be embedded as a library in a Java application.
Manta is a local-first financial tracker and PDF invoice generator that utilizes a schema-driven form builder to capture and validate structured user information. It serves as a system for managing billing records and invoice statuses directly on the user device to ensure data privacy and offline access. The project features a drag-and-drop document editor and a PDF template management system, allowing users to arrange fields and apply corporate branding without writing code. These tools enable the creation of professional billing documents by injecting structured data into reusable layout sk
Manta is a full invoice-management application with built-in PDF generation, not a reusable Java library—its JavaScript codebase and app-centric design don't match the request for a programmatic PDF library you integrate into Java server-side code.
pdfcpu is a Go PDF processing library and command-line interface designed for programmatically manipulating, optimizing, and validating PDF files. It provides a toolkit for document content modification and structural management. The project distinguishes itself as an optimization tool and layout engine, capable of reducing file sizes and improving loading speeds by streamlining internal structures. It also functions as a security manager, providing password-based encryption, decryption, and digital signature verification. Its capability surface includes page management for merging, splittin
pdfcpu is a Go-based PDF processing library and CLI, but your search specifies a Java library, so it does not provide a Java API for programmatic PDF creation and manipulation.
This project is a cloud-based office suite and self-hosted document server that enables the creation and editing of documents, spreadsheets, and presentations. It functions as a headless office application, utilizing a server-side processing engine to handle file rendering and formatting without requiring a local graphical user interface. The system operates as a real-time collaborative editor, employing operational transformation to allow multiple users to edit files simultaneously. It also serves as a web-based document processor capable of automating office tasks through macro execution an
Collabora Online is a self-hosted office suite server that can export PDFs, but it is a full cloud application written in C++, not a Java library you can embed in your code to programmatically create and manipulate PDFs.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| librepdf/openpdf | 4.3K | Java | NOASSERTION | |
| apache/pdfbox | 3.1K | Java | Apache-2.0 | |
| kozea/weasyprint | 9.3K | Python | BSD-3-Clause | |
| noraj/oscp-exam-report-template-markdown | 4K | Ruby | mit | |
| opensignlabs/opensign | 6.6K | JavaScript | NOASSERTION | |
| alvarcarto/url-to-pdf-api | 7.1K | HTML | mit | |
| relaxedjs/relaxed | 11.8K | JavaScript | ISC | |
| spatie/browsershot | 5.2K | PHP | MIT | |
| stirling-tools/stirling-pdf | 81.1K | TypeScript | NOASSERTION | |
| hql287/manta | 5.4K | JavaScript | LGPL-3.0 |