LiteParse

The fastest document processing for any latency-sensitive use case. Good for simple, text-heavy documents and large-scale processing.

npm i -g @llamaindex/liteparse
Terminal
Illustrative output
13K+

GitHub stars

Star on GitHub
60+

contributors

Contributing guide
500k+

downloads a week

Join the Discord

Key features

Text with positions

Fast spatial text parsing with PDFium, with a bounding box for every block.

OCR your way

Built-in Tesseract, or plug in an OCR server such as EasyOCR or PaddleOCR.

Complexity check

Find out whether a document needs OCR or heavier processing before you parse it.

Page screenshots

Render pages as images for multimodal models and agents.

Markdown, JSON or text

Pick the output that fits your pipeline.

Parallel workers

Worker pools in Python and Node.js, with a timeout per parse.

One Rust core, wherever your code runs

  • npm

    Node.js / TypeScript

    Bindings through napi-rs, with a worker pool for parallel parsing.

    @llamaindex/liteparse
  • pip

    Python

    Bindings through PyO3, with the same worker pool and timeouts.

    liteparse
  • cargo

    Rust CLI

    The lit command: parse a file from the terminal in one line.

    lit parse file.pdf
  • wasm

    Browser

    WebAssembly through wasm-bindgen: parse files without them leaving the page.

    @llamaindex/liteparse-wasm
For developers

Parse from your code, your terminal or your agent

Start with LiteParse, move to LlamaParse when documents get harder

LiteParseLlamaParse
RunsOn your machineOur cloud, your VPC or on-prem
API keyNot neededNeeded
Text-heavy, digital PDFsYesYes
Dense tables, multi-column layoutsBasicBuilt for it
Charts, handwriting, scansOCR onlyBuilt for it
Fields to JSON with a schemaNoWith Extract
PriceFree, Apache 2.010,000 free credits a month, then usage-based

Parse your first document in seconds