liteparse — What is it?

LiteParse is a fast, open-source document parser designed for local, high-quality spatial text parsing with bounding boxes, catering to users seeking efficient and lightweight PDF parsing without proprietary LLM features or cloud dependencies.

⭐ 11,301 Stars 🍴 752 Forks Rust Apache-2.0 Author: run-llama
Source: Official README and linked documentation View on GitHub →

Why it matters

LiteParse is being discussed because its focus on fast and light parsing capabilities, which is particularly appealing for users who require high-quality spatial text parsing without the overhead of cloud-based services or complex OCR systems. Its multi-language support and configurable OCR options also contribute to its popularity.

Source: Official README and linked documentation

Core Features

Fast Text Parsing

LiteParse uses PDFium for spatial text parsing, providing high-quality results with bounding boxes, ensuring precise text positioning information.

Source: Official README and linked documentation
configurable OCR System

The OCR system supports built-in Tesseract, allows integration with HTTP servers like EasyOCR or PaddleOCR, and provides a standard API for custom OCR solutions.

Source: Official README and linked documentation
Screenshot Generation

LiteParse can generate high-quality page screenshots, which are useful for LLM agents to extract visual information.

Source: Official README and linked documentation
Multiple Output Formats

The tool outputs in JSON and Text formats, catering to various use cases and integration needs.

Source: Official README and linked documentation
Multi-language and Multi-platform Support

LiteParse is accessible from Rust, Node.js/TypeScript, Python, and the browser via WASM, and runs on Linux, macOS, and Windows.

Source: Official README and linked documentation

Architecture

The architecture of LiteParse is modular, with a Rust core handling format conversion, text extraction, OCR, and spatial layout reconstruction. The project utilizes a flowchart to illustrate the data flow from input formats to output formats, with language bindings and CLI tools providing user interfaces for various programming environments.

Source: Official README and linked documentation

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) PDFium Tesseract napi-rs PyO3 wasm-bindgen Fast Text Parsing configurable OCR Systemconfigurable OCR Sy… Screenshot GenerationScreenshot Generati… Multiple Output FormatsMultiple Output For… Multi-language and Multi-platform SupportMulti-language and… liteparse Project Core feature Key dependency

Tech Stack

LanguageRustFrameworkPDFium for PDF parsing, Tesseract for OCR, and various language bindings for multi-language support
PDFiumTesseractnapi-rsPyO3wasm-bindgen
Not specified in README, but likely supports local deployment and could be containerized using Docker
Source: Official README and linked documentation

Quick Start

Install via package manager: - Node.js/TypeScript: `npm i @llamaindex/liteparse` - Python: `pip install liteparse` - Rust: `cargo install liteparse` (CLI) / `cargo add liteparse` (lib) - Browser (WASM): `npm i @llamaindex/liteparse-wasm` Use the CLI to parse files: `lit parse document.pdf`
Source: Official README and linked documentation

Use Cases

LiteParse is suitable for developers and technical users who need to parse PDFs locally, such as those working on document processing pipelines, building applications that require spatial text information, or integrating OCR capabilities into their projects.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Fast and efficient local parsing without cloud dependencies
  • configurable OCR options with built-in Tesseract and support for custom OCR servers
  • Multi-language and multi-platform support

Limitations

  • May not handle complex documents with dense tables or handwritten text as effectively as cloud-based solutions
  • Limited to local deployment without cloud infrastructure
Source: Official README and linked documentation

Latest Release

v2.0.4 (2026-05-30): Fixed bounding box issues for pages with rotated text.

Source: Official releases

Verdict

LiteParse is a tool for developers seeking a fast and efficient local document parser with OCR capabilities. Its multi-language support and flexibility make it a strong choice for a wide range of applications, particularly those that require precise text positioning and local processing.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-09-23 13:55.

Reference materials: README, GitHub API, dependency files