awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Java PDF Generation Libraries

Ranking updated Jun 30, 2026

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.

Java PDF Generation Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • librepdf/openpdfLibrePDF avatar

    LibrePDF/OpenPDF

    4,293View on GitHub↗

    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.

    JavaHTML to PDF ConvertersPDF Encryptions and DecryptionsPDF Security and Signing
    View on GitHub↗4,293
  • apache/pdfboxapache avatar

    apache/pdfbox

    3,079View on GitHub↗

    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.

    JavaPDF Processing Tools
    View on GitHub↗3,079
  • kozea/weasyprintKozea avatar

    Kozea/WeasyPrint

    9,288View on GitHub↗

    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.

    PythonHTML to PDF Converters
    View on GitHub↗9,288
  • noraj/oscp-exam-report-template-markdownnoraj avatar

    noraj/OSCP-Exam-Report-Template-Markdown

    4,043View on GitHub↗

    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.

    RubyHTML to PDF Converters
    View on GitHub↗4,043
  • opensignlabs/opensignOpenSignLabs avatar

    OpenSignLabs/OpenSign

    6,551View on GitHub↗

    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.

    JavaScriptDocument TemplatingPDF Security and Signing
    View on GitHub↗6,551
  • alvarcarto/url-to-pdf-apialvarcarto avatar

    alvarcarto/url-to-pdf-api

    7,114View on GitHub↗

    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.

    HTMLHTML to PDF Converters
    View on GitHub↗7,114
  • relaxedjs/relaxedRelaxedJS avatar

    RelaxedJS/ReLaXed

    11,790View on GitHub↗

    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.

    JavaScriptHTML to PDF Converters
    View on GitHub↗11,790
  • spatie/browsershotspatie avatar

    spatie/browsershot

    5,225View on GitHub↗

    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.

    PHPHTML to PDF Converters
    View on GitHub↗5,225
  • stirling-tools/stirling-pdfStirling-Tools avatar

    Stirling-Tools/Stirling-PDF

    81,109View on GitHub↗

    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.

    TypeScriptPDF Security and Signing
    View on GitHub↗81,109
  • hql287/mantahql287 avatar

    hql287/Manta

    5,440View on GitHub↗

    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.

    JavaScriptDocument Templating
    View on GitHub↗5,440
  • pdfcpu/pdfcpupdfcpu avatar

    pdfcpu/pdfcpu

    8,675View on GitHub↗

    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.

    GoPDF Security and Signing
    View on GitHub↗8,675
  • collaboraonline/onlineCollaboraOnline avatar

    CollaboraOnline/online

    2,985View on GitHub↗

    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.

    C++PDF Security and Signing
    View on GitHub↗2,985
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
librepdf/openpdf4.3KJavaNOASSERTIONJun 3, 2026
apache/pdfbox3.1KJavaApache-2.0Jun 24, 2026
kozea/weasyprint9.3KPythonBSD-3-ClauseJun 16, 2026
noraj/oscp-exam-report-template-markdown4KRubymitJul 30, 2025
opensignlabs/opensign6.6KJavaScriptNOASSERTIONJun 22, 2026
alvarcarto/url-to-pdf-api7.1KHTMLmitJan 18, 2024
relaxedjs/relaxed11.8KJavaScriptISCSep 7, 2025
spatie/browsershot5.2KPHPMITJun 2, 2026
stirling-tools/stirling-pdf81.1KTypeScriptNOASSERTIONJun 16, 2026
hql287/manta5.4KJavaScriptLGPL-3.0Feb 2, 2025

Related searches

  • a library for rendering PDFs on Android
  • a library for generating pdfs in C#
  • a javascript library for generating pdf files
  • a python library for manipulating pdf files
  • a python library for manipulating pdf files
  • an open source tool for editing PDFs
  • an open source tool for editing PDFs
  • a browser PDF editor