# LibrePDF/OpenPDF

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.

Repository: https://github.com/LibrePDF/OpenPDF
Canonical: https://ross.abutalabs.com/products/openpdf
Homepage: https://github.com/LibrePDF/OpenPDF
Language: Java
License: NOASSERTION
License Family: other
Topics: pdf, pdf-generation, java, itext, openpdf, kotlin, flyingsaucer
Last push: 2026-08-05T06:02:47+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 85, longevity 100
- inputs: {"age_days": 3705, "days_push": 28, "days_rel": 103, "gap_med": 9, "n_releases_24m": 16}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4359, forks 709 (observed 2026-08-28T04:08:46.534108+00:00)

## What it is
OpenPDF is an open-source Java library (LGPL/MPL licensed, forked from iText 4) for creating, editing, rendering, and encrypting PDF documents. It includes modules for generating PDFs from HTML, rendering PDFs as images, and Kotlin-friendly PDF creation.

## Use cases
- generate pdf documents from java
- convert html to pdf
- encrypt pdf files programmatically
- edit or merge existing pdf documents
- render pdf pages as images
- create pdf tables and reports in java
- extract text from pdf files

## When to choose
- you need a permissively licensed (LGPL/MPL) Java PDF library
- you want to generate PDFs from HTML in a JVM application
- you need to create, modify, or encrypt PDFs on the JVM
- you want PDF 2.0 (ISO 32000-2) support
- you prefer a community-maintained fork of iText 4

## When to avoid
- you need a non-JVM language without JVM interop
- you require advanced commercial PDF features like digital signature workflows with vendor support
- you need a lightweight client-side browser PDF viewer

## Facets
- artifact type: library
- maturity: active
- function: pdf, pdf-viewer, cryptography, image-processing, templating
- domain: pdf, files, developer-tools, cross-platform
- platform: jvm, cross-platform
- tags: pdf-generation, itext-fork, html-to-pdf, pdf-rendering, pdf-encryption, flying-saucer, maven-central

## Member repositories
- LibrePDF/OpenPDF (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.534108+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:27.792615+00:00, confidence not recorded.
  - readme: https://github.com/LibrePDF/OpenPDF (fetched 2026-08-28T04:08:46.534108+00:00, sha 9585c36e3950)
  - homepage: https://github.com/LibrePDF/OpenPDF (fetched 2026-08-29T09:09:58.598728+00:00, sha c957882ff632)
- Data as of 2026-08-30T08:39:29.467469+00:00.
