All 46 Dependencies

Every package liteparse depends on, ranked by repo health score.

LiteParse is a standalone open-source document parsing library built in Rust by the LlamaIndex team. It extracts text from PDFs with precise spatial positioning and bounding boxes, runs OCR on image-based pages, reconstructs spatial layouts into readable Markdown, and generates high-quality page screenshots — all without requiring cloud APIs or proprietary dependencies.

Unlike heavier parsing platforms, LiteParse deliberately keeps its scope narrow: fast, local, and dependency-light. It uses PDFium for native PDF text extraction and bundles Tesseract for zero-configuration OCR, but also supports plugging in any HTTP-based OCR server such as EasyOCR or PaddleOCR when higher accuracy is needed for complex documents.

The library ships with first-class bindings for Python, Node.js/TypeScript, WebAssembly (browser), and a CLI tool called `lit` — all sharing the same underlying Rust core. This means developers can use LiteParse in a Python RAG pipeline, a Node.js backend service, or a client-side browser app without changing the parsing logic.

For documents that exceed local parsing capability — dense tables, multi-column layouts, handwritten text, or scanned PDFs with complex structure — LiteParse is designed as a complementary open-source tier to the cloud-based LlamaParse service, giving teams a clear upgrade path without vendor lock-in at the lower tier.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search