UglyToad/PdfPig
Read and extract text and other content from PDFs in C# (port of PDFBox) observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 75
- 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: 94
- age_days: 3219
- days_rel: 11
- days_push: 7
- n_releases_24m: 8
Adoption not part of the score
2549 stars · 331 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PdfPig is a C#/.NET library for reading and extracting text, images, annotations, forms, and metadata from PDF files, ported from Apache PDFBox. It also provides document layout analysis tools and basic PDF creation capabilities.
Use cases
- extract text from pdf files in c#
- parse pdf documents in .net
- get word positions and letters from a pdf
- extract images from pdf pages
- read pdf forms and annotations
- perform document layout analysis on pdfs
- export pdf page content to alto or hocr
- create simple pdf documents programmatically
When to choose
- you need a permissive Apache-2.0 alternative to iText 7 (AGPL) or commercial libraries like SpirePDF
- you need letter-level position and size data for layout analysis
- you work in .NET and need PDF text/content extraction without native dependencies
- you need to read encrypted PDFs with a password
When to avoid
- you need to extract tables directly (use Tabula Sharp or Camelot Sharp instead)
- you need to convert HTML or other formats to PDF
- you need to fill or modify PDF form values (forms are read-only)
- you need advanced PDF generation features beyond basic text and paths
Facets
library · maturity active
parser pdf ocr image-processing pdf-viewer pdf files developer-tools dotnet cross-platform windows pdfbox-port text-extraction layout-analysis document-processing csharp netstandard alto-xml hocr pagexml natural-language-processing linux macos
2 sources
- readme: https://github.com/UglyToad/PdfPig · fetched 2026-08-28 · f9d693d93f47
- homepage: https://github.com/UglyToad/PdfPig/wiki · fetched 2026-08-29 · d83b9cad1285
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| UglyToad/PdfPig | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem