# pdf-inspector

> A fast Rust library and CLI that tells scanned PDFs from text-based ones and converts text PDFs to Markdown without OCR.

Source: https://talira.ai/catalog/pdf-inspector-v0pb6m7m
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [documents / pdf / extraction](https://talira.ai/categories/documents/pdf/extraction), [ai / document parsing](https://talira.ai/categories/ai/document-parsing)
- Platforms: web[^2]
- Licence: MIT[^1]
- Backed by: [Firecrawl](https://talira.ai/orgs/firecrawl.md)
- Funding: YC S22; Series B, 2026[^3][^4]

pdf-inspector is a Rust library from [Firecrawl](https://talira.ai/catalog/firecrawl-zw5mry51.md) for classifying PDFs and extracting their text. It samples a PDF's content streams to say whether it's text-based, scanned, image-based or mixed, with per-page OCR routing, so you send only the pages that need it to an OCR service. For text PDFs it extracts position-aware text and converts it to Markdown with headings, lists, tables, code blocks and multi-column reading order. It has a CLI, Python and Node.js bindings and a browser WebAssembly build, and can optionally run local OCR on the pages that need it.

## Links

- Website: https://firecrawl.github.io/pdf-inspector/
- GitHub: https://github.com/firecrawl/pdf-inspector

## Problems it solves

- detect whether a PDF is scanned so I only pay for OCR when I need it
- convert text PDFs to Markdown for an LLM quickly without OCR
- extract tables and text from PDFs locally in Rust or Python

## Features

- classifies PDFs as text-based, scanned, image-based or mixed with per-page OCR routing
- PDF to Markdown with headings, lists, tables and multi-column reading order
- Python, Node.js and browser WebAssembly bindings
- optional local OCR for only the pages that need it

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.86, momentum 1.00, community 0.45, backing 0.55, extensibility 0.00.

- last commit 5 days ago
- 72 commits in the last 90 days
- latest release v1.27.0 9 days ago
- 20.2k GitHub stars
- fast-growing: 20.2k stars in 9 months
- 12 contributors
- backed by Firecrawl
- funding: YC S22; Series B, 2026

## Alternatives

- [MarkItDown](https://talira.ai/catalog/markitdown-0dc88x9m.md): Python tool for converting files and office documents to Markdown
- [LiteParse](https://talira.ai/catalog/liteparse-mdgsv8v5.md): A fast, local, open source document parser with OCR and bounding boxes
- [OpenDataLoader PDF](https://talira.ai/catalog/opendataloader-pdf-h64n4500.md): Open source PDF parser for AI-ready data and PDF accessibility auto-tagging
- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

## Sources

[^1]: https://github.com/firecrawl/pdf-inspector/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/firecrawl/pdf-inspector/blob/main/README.md (checked 29 Nov 2026)
[^3]: https://www.firecrawl.dev/about (checked 20 Nov 2026)
[^4]: https://www.firecrawl.dev/blog/introducing-alexandria-series-b (checked 20 Nov 2026)
