firecrawl/pdf-inspector
Fast Rust library for PDF inspection, classification, and text extraction. Intelligently detects scanned vs text-based PDFs to enable smart routing decisions. observed · 2026-10-14
Health v2 · maintenance only
82/100
- Activity 98
- Release rhythm 97
- Longevity 18
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 256
- days_rel: 22
- days_push: 13
- n_releases_24m: 14
Adoption not part of the score
19647 stars · 1326 forks observed · 2026-10-14
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
pdf-inspector is a high‑performance Rust library (with Node.js, Python, and WebAssembly bindings) that classifies PDFs and extracts their text with layout awareness. It can also convert PDFs to clean Markdown and optionally route pages to OCR only when needed.
Use cases
- Extract plain text from PDF documents while preserving layout information
- Convert PDF files to clean, position‑aware Markdown
- Detect whether a PDF is text‑based, scanned, image‑based, or mixed
- Route only the scanned pages of a PDF to an OCR engine
- Process PDFs directly in a web browser using WebAssembly
- Integrate fast PDF parsing into Node.js or Python applications
- Analyze multi‑column newspaper‑style PDFs for downstream processing
When to choose
- When you need sub‑200 ms local PDF text extraction without sending data to external services
- When you want accurate PDF type classification to avoid unnecessary OCR
- When you prefer a Rust‑based core for speed and safety
- When you need a single library that works on the server, CLI, and in the browser
- When you require Markdown output with proper headings, lists, tables, and code blocks
When to avoid
- If you need full‑featured PDF editing or creation capabilities
- When you require heavy OCR on every page regardless of content
- If you depend on proprietary PDF features not supported by the parser (e.g., encrypted PDFs)
- When you need a pure JavaScript implementation without native dependencies
Facets
library · maturity active
parser developer-tools data-science rust python wasm cli fast markdown pdf-classification ocr-routing position-aware rust-core webassembly text-extraction nodejs
3 sources
- readme: https://github.com/firecrawl/pdf-inspector · fetched 2026-10-14 · 8d6400541c39
- homepage: https://firecrawl.github.io/pdf-inspector/ · fetched 2026-10-05 · d6aeade2601b
- registry_crates: https://crates.io/api/v1/crates/pdf-inspector · fetched 2026-10-05 · 4947db59eaa3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| firecrawl/pdf-inspector | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="firecrawl/pdf-inspector")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem