modesty/pdf2json
converts binary PDF to JSON and text, for server-side PDF processing and command-line use. Zero dependency. observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 77
- Release rhythm 67
- Longevity 100
Flags: no_license
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: 56.0
- age_days: 5045
- days_rel: 140
- days_push: 140
- n_releases_24m: 9
Adoption not part of the score
2210 stars · 393 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js module that converts binary PDF files into structured JSON and text, built on top of Mozilla's pdf.js. It extracts text content and interactive AcroForm fields, and can be used as a library, a RESTful web service, or a standalone command-line tool.
Use cases
- extract text from pdf files to json
- parse pdf form fields programmatically
- convert pdfs to text on a server
- command line pdf to json converter
- process pdf documents in node.js
- extract acroform data from pdfs
When to choose
- you need server-side or CLI PDF text and form-field extraction in Node.js
- you want a zero-dependency, pure JavaScript PDF parser
- you need structured JSON output rather than raw text dumps
When to avoid
- you need to create or edit PDFs rather than parse them
- you need OCR for scanned image-only PDFs
- you work outside the Node.js/JavaScript ecosystem
Facets
library · maturity active
pdf parser cli developer-tools pdf files developer-tools cli cross-platform pdf-to-json pdf-text-extraction acroform zero-dependency pdf-form-fields command-line nodejs
2 sources
- readme: https://github.com/modesty/pdf2json · fetched 2026-08-28 · 8e0f4b1f7da8
- homepage: https://github.com/modesty/pdf2json · fetched 2026-08-29 · 858648b9f5e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| modesty/pdf2json | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="modesty/pdf2json")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem