# J-F-Liu/lopdf

A Rust library for PDF document manipulation.

Repository: https://github.com/J-F-Liu/lopdf
Canonical: https://ross.abutalabs.com/products/lopdf
Language: Rust
License: MIT
License Family: permissive
Topics: rust, pdf-document, rust-library
Last push: 2026-08-24T02:59:48+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 92, longevity 100
- inputs: {"age_days": 3550, "days_push": 9, "days_rel": 54, "gap_med": 1.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2236, forks 289 (observed 2026-08-28T04:06:29.346859+00:00)

## What it is
lopdf is a Rust library for low-level PDF document manipulation, supporting creating, parsing, editing, and merging PDF files. It offers optional features for image and font embedding, async loading, serde support, and wasm targets.

## Use cases
- merge multiple pdf files in rust
- parse and edit pdf documents programmatically
- create pdf documents from scratch in rust
- extract or modify pdf objects and content streams
- embed images and fonts into a pdf
- manipulate pdfs in a webassembly app

## When to choose
- you need low-level, fine-grained control over PDF objects and structure in Rust
- you want a pure-Rust, actively maintained PDF manipulation library
- you need to merge, edit, or generate PDFs without shelling out to external tools

## When to avoid
- you need high-level text extraction or PDF rendering rather than structural manipulation
- you need form-filling or digital-signature features out of the box
- you are not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: pdf, parser, serialization
- domain: pdf, files, developer-tools
- platform: rust, cross-platform, wasm
- tags: pdf-manipulation, document-editing, pdf-merge, rust-library

## Member repositories
- J-F-Liu/lopdf (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:29.346859+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-30T02:44:16.458876+00:00, confidence not recorded.
  - readme: https://github.com/J-F-Liu/lopdf (fetched 2026-08-28T04:06:29.346859+00:00, sha d2b479b03d39)
  - registry_crates: https://crates.io/api/v1/crates/lopdf (fetched 2026-08-29T10:24:42.254341+00:00, sha 6e332320d05b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
