# pdf-rs/pdf

Rust library to read, manipulate and write PDF files.

Repository: https://github.com/pdf-rs/pdf
Canonical: https://ross.abutalabs.com/products/pdf-rs-pdf
Language: Rust
License: MIT
License Family: permissive
Topics: rust, pdf, pdf-files
Last push: 2026-07-18T18:07:54+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 3552, "days_push": 46, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1691, forks 149 (observed 2026-08-28T04:05:22.586708+00:00)

## What it is
A Rust library for reading, manipulating, and writing PDF files. Reading is fairly mature, while modifying and writing PDFs is still experimental.

## Use cases
- parse pdf files in rust
- extract text from pdfs
- read pdf metadata programmatically
- modify existing pdf documents
- write pdf files from code
- inspect pdf internal structure

## When to choose
- you need a native Rust PDF parser without C dependencies
- you mainly need to read or extract data from PDFs
- you want to experiment with PDF manipulation in Rust

## When to avoid
- you need robust, production-grade PDF editing or writing
- you need PDF rendering out of the box (rendering lives in a separate repo)
- you need a ready-made PDF viewer application

## Facets
- artifact type: library
- maturity: active
- function: pdf, parser, file-system
- domain: pdf, files, developer-tools
- platform: rust, cross-platform
- tags: pdf-manipulation, pdf-writing, pdf-parsing

## Member repositories
- pdf-rs/pdf (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.586708+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-30T03:38:16.867344+00:00, confidence not recorded.
  - readme: https://github.com/pdf-rs/pdf (fetched 2026-08-28T04:05:22.586708+00:00, sha fc27f1626e93)
  - registry_crates: https://crates.io/api/v1/crates/pdf (fetched 2026-08-29T11:13:13.570938+00:00, sha 7e730530e467)
- Data as of 2026-08-30T08:39:29.467469+00:00.
