docling vs pdf-inspector
Document conversion and PDF extraction tools compared
docling converts many document and media formats into structured output, while pdf-inspector focuses on classifying PDFs and extracting their text as Markdown. Both support local processing, but docling covers broader input and export workflows, whereas pdf-inspector emphasizes page-level PDF analysis and selective OCR routing.

docling: Convert Documents into Structured Content
Docling parses documents such as PDFs, Word files, spreadsheets, and images into structured content for applications and generative AI workflows. It offers local processing, a Python library, and a command-line interface.

pdf-inspector: Classify PDFs and Extract Text as Markdown
pdf-inspector is a Rust library and set of bindings for classifying PDFs, extracting positioned text, and converting documents to Markdown. It helps processing pipelines route scanned pages to OCR while handling text-based pages locally.
| docling | pdf-inspector | |
|---|---|---|
| Language | Python | Rust |
| License | MIT | MIT |
| Stars | 68.7k | 19.5k |
| Forks | 5k | 1.3k |
| Last analyzed | Oct 12, 2026 | Oct 3, 2026 |
Key differences
- docling handles PDFs, office files, images, and audio; pdf-inspector is focused on PDF classification and extraction.
- docling exports to formats including Markdown, HTML, WebVTT, and JSON; pdf-inspector converts PDF structures to Markdown.
- docling is written in Python; pdf-inspector is written in Rust and also offers Python, Node.js, and browser WebAssembly bindings.
- docling includes OCR support for scanned documents and images; pdf-inspector can route pages to optional OCR, with native OCR paths requiring separately installed libraries.
- docling integrates with LangChain, LlamaIndex, Haystack, and Crew AI; pdf-inspector emphasizes classification confidence, positioned text, and page-level OCR routing.
- Both are MIT licensed and not archived; docling has 68.3k stars and pdf-inspector has 19.5k stars.
Choose docling if you…
- need to ingest multiple document and media formats, not just PDFs.
- want structured exports beyond Markdown, such as HTML or JSON.
- need integrations with AI and retrieval frameworks or local, air-gapped processing.
Choose pdf-inspector if you…
- need to classify PDFs and identify pages that may require OCR.
- want positioned text and reading-order information for PDF pages.
- need Rust, Node.js, or browser WebAssembly options for a PDF-focused workflow.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.