LlamaIndex ships liteparse, a local open-source PDF parser
TL;DR
- LiteParse extracts spatial text via PDFium at roughly 2-5ms per page and runs entirely locally, with no cloud calls.
- On ParseBench (2,049 docs), LiteParse with PaddleOCR scored 0.389 overall; ocria-nano OCR hit 27.8 pages/s on CPU.
- The library ships for Rust, Python, Node.js/TypeScript, and browser WASM under Apache-2.0, with a worker-pool mode for parallelism.
The LlamaIndex team has open-sourced liteparse, billed in its README as "a fast, helpful, and open-source document parser" that pulls spatial text from PDFs at roughly 2-5ms per page, with no cloud calls, under an Apache-2.0 license.
On the project's ParseBench suite of 2,049 documents, liteparse paired with PaddleOCR scored 0.389 overall. With the project's ocria-nano OCR models on CPU, throughput reached 27.8 pages/s, per the README.
The library ships for four runtimes (Rust, Python, Node.js/TypeScript, and a browser WASM build) and offers a worker-pool mode "for true parallelism in Python and Node.js." Office formats such as .docx, .xlsx, and .pptx are routed through LibreOffice; images and PDFs are parsed directly. Output lands as Markdown, JSON, or plain text, and the pipeline includes a complexity-detection step to route documents efficiently.
The maintainers are candid about the trade-off. For "complex documents (dense tables, multi-column layouts, charts, handwritten text, or scanned PDFs)," the README points readers to LlamaParse, the team's hosted service. Two analysts we track shared the release link.
Shared on Bluesky by 2 AI experts
Originally reported by github.com
Read the original article →Original headline: GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser