pdfcpu/pdfcpu
PDF tooling for Go and the command line. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 45.0
- age_days: 3363
- days_rel: 22
- days_push: 9
- n_releases_24m: 9
Adoption not part of the score
8801 stars · 625 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pdfcpu is a PDF processing library and command-line tool written in Go, supporting validation, optimization, encryption, signing, merging, splitting, watermarking, and content extraction. It handles real-world malformed PDFs and supports PDF 1.7 with evolving PDF 2.0 support, usable both from scripts and embedded in Go applications.
Use cases
- merge multiple pdf files into one
- validate pdf files for corruption
- add watermarks to pdfs
- split a pdf into separate pages
- extract images and fonts from a pdf
- encrypt and decrypt pdf documents
- batch process pdfs from the command line
- manipulate pdfs in a go application
When to choose
- you need PDF processing in Go without heavyweight runtime dependencies
- you want a CLI for scripting PDF pipelines including encrypted files
- you need to handle real-world malformed PDFs that violate the spec
- you need validation, optimization, watermarking, or signature inspection
When to avoid
- you need full PDF 2.0 feature support, which is still evolving
- you need to create complex PDFs from scratch with rich layout engines
- you need OCR or text recognition, which pdfcpu does not provide
Facets
library · maturity active
pdf parser cli cryptography image-processing developer-tools pdf files developer-tools go cli cross-platform pdf-processing pdf-manipulation pdf-validation watermarking pdf-merge go-library server-side command-line automation
4 sources
- readme: https://github.com/pdfcpu/pdfcpu · fetched 2026-08-28 · d79adf536fe8
- homepage: http://pdfcpu.io/ · fetched 2026-08-29 · 057f7723d45b
- site_page: https://pdfcpu.io/about/about · fetched 2026-08-29 · 8c930c7160d9
- site_page: https://pdfcpu.io/changelog · fetched 2026-08-29 · bc5bef0f4ac5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pdfcpu/pdfcpu | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem