AltHub

modesty/pdf2json Alternatives

PDF text extraction / parsing to JSON

pdf2json is a zero-dependency Node.js library and CLI that extracts PDF text and form fields into JSON using pdf.js.

2.2kJavaNOASSERTIONactive · last push 9d agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

borb-pdf/borbGitHub

Choose for a Python PDF object model when you need creation/editing as well as text extraction.

borb is a library for reading, creating and manipulating PDF files in python.

3.6k
Python
NOASSERTION
active4mo ago
datalab-to/markerGitHub

Choose for ML layout/table reconstruction into markdown/JSON when accuracy matters more than runtime simplicity.

Convert PDF to markdown + JSON quickly with high accuracy

41.1k
Python
Apache-2.0
active10d ago
pdfminer/pdfminer.sixGitHub

Choose for mature Python text extraction with detailed layout objects rather than a Node module.

Community maintained fork of pdfminer - we fathom PDF

7.0k
Python
MIT
active9mo ago
run-llama/liteparseGitHub

Choose for a Rust-native document parser when you need PDF text/structure extraction outside Node/Python.

A fast, helpful, and open-source document parser

13.1k
Rust
Apache-2.0
active7d ago
firecrawl/pdf-inspectorGitHub

Choose for Rust-native text extraction plus scanned-vs-text classification before routing PDFs.

Fast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions.

17.9k
Rust
MIT
active3mo ago
docling-project/doclingGitHub

Choose for Python document-to-structured-data pipelines with layout/OCR and AI-oriented output.

Get your documents ready for gen AI

70.9k
Python
MIT
active7d ago
jsvine/pdfplumberGitHub

Choose for Python extraction with character/table geometry, especially table-heavy PDFs.

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.

10.9k
Python
MIT
active9d ago
py-pdf/pypdfGitHub

Choose for a pure-Python PDF object model with basic text extraction and page manipulation.

A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

10.3k
Python
NOASSERTION
active3d ago
bytedance/DolphinGitHub

Choose for model-based parsing of scanned document images when OCR/layout accuracy matters more than runtime simplicity.

The official repo for “Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting”, ACL, 2025.

9.1k
Python
NOASSERTION
slowing8mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

oomol-lab/pdf-craftGitHub

Choose for scanned-book conversion to e-book/text formats; it is narrower than general PDF text extraction.

PDF craft can convert PDF files into various other formats. This project will focus on processing PDF files of scanned books.

6.2k
Python
MIT
active3mo ago
pdf2htmlEX/pdf2htmlEXGitHub

Choose only for faithful PDF-to-HTML output; it is a narrower, older converter.

Convert PDF to HTML without losing text or format.

5.6k
HTML
NOASSERTION
slowing1.4y ago
ArtifexSoftware/pdf2docxGitHub

Choose when the required output is a reconstructed DOCX rather than JSON/text.

Open source Python library for converting PDF to DOCX.

3.5k
Python
MIT
active7mo ago
opendatalab/PDF-Extract-KitGitHub

Choose only if you need its OCR/layout extraction pipeline and can accept a project without recent maintenance.

A Comprehensive Toolkit for High-Quality PDF Content Extraction

10.0k
Python
AGPL-3.0
dormant1.9y ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

Stirling-Tools/Stirling-PDFGitHub

Choose as a self-hosted PDF web app/API when you want extraction and editing without embedding a Node library.

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

90.0k
Java
NOASSERTION
active3mo ago
C4illin/ConvertXGitHub

Choose as a self-hosted file-conversion web app when you want conversion without writing code.

💾 Self-hosted online file converter. Supports 1000+ formats ⚙️

18.6k
TypeScript
AGPL-3.0
active3mo ago

Listed as an alternative to

These projects were analysed and named pdf2json among their alternatives. The relationship is not symmetric — how pdf2json rates them is a separate judgement, made when pdf2json is analysed in its own right.

bytedance/DolphinGitHub

calls pdf2json “when you need a zero-dependency Java server-side PDF-to-JSON/text converter without ML.”

The official repo for “Dolphin: Document Image Parsing via Heterogeneous Anchor Prompting”, ACL, 2025.

9.1kPythonslowing