Top Python Libraries

Top Python Libraries

Firecrawl Open-Source PDF Classifier: 200 Docs in 0.47s!

Firecrawl pdf-inspector: open-source PDF classifier & extractor. 200 docs in 0.47s. 14K stars. Text, tables, Markdown.

Meng Li's avatar
Meng Li
Aug 13, 2026
∙ Paid

Just discovered that Firecrawl has also open-sourced a PDF intelligent classification and text extraction library: pdf-inspector, which has already gained over 14,000 stars.

Simply put, pdf-inspector is the “traffic cop” of the PDF world—it first figures out what kind of vehicle is coming, then directs it to the corresponding lane.

Firecrawl has turned its attention to PDF processing scenarios with a very pragmatic approach: instead of blindly throwing everything into OCR, first determine what type of PDF it is, then decide how to handle it.

Specifically, pdf-inspector can do four things:

  1. Intelligent classification: Determine whether the PDF is text-based, scanned, image-based, or mixed

  2. Position-aware extraction: Not only extract text, but also retain coordinate and font information

  3. Markdown conversion: Output clean Markdown that properly handles headings, lists, tables, and more

  4. On-demand routing: Precisely identify which specific pages need OCR, rather than processing everything

The most impressive part is the performance data—classification takes only 10-50ms, text-based PDFs are processed locally in under 200ms, and a benchmark of 200 PDFs took just 0.47 seconds.

That’s right—less than half a second for two hundred files.

User's avatar

Continue reading this post for free, courtesy of Meng Li.

Or purchase a paid subscription.
© 2026 Meng Li · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture