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/liteparsepip install liteparsecargo install liteparsenpm i @llamaindex/liteparse-wasmKey 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
litcommand: 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
Start with LiteParse, move to LlamaParse when documents get harder
| LiteParse | LlamaParse | |
|---|---|---|
| Runs | On your machine | Our cloud, your VPC or on-prem |
| API key | Not needed | Needed |
| Text-heavy, digital PDFs | Yes | Yes |
| Dense tables, multi-column layouts | Basic | Built for it |
| Charts, handwriting, scans | OCR only | Built for it |
| Fields to JSON with a schema | No | With Extract |
| Price | Free, Apache 2.0 | 10,000 free credits a month, then usage-based |