Utilities
Extract positioned text from one PDF
liteparse is a local PDF parser that returns native text and positioned text items as JSON.
node-v2.14.7 on Trickest
Free plan: 1 user, 3 execution slots, no card.
overview
What liteparse does
Parse native text from the first 100 pages of one PDF into LiteParse JSON with page dimensions and text bounding boxes.
The packaged CLI uses PDFium locally. OCR and remote services are disabled, so scanned pages without native text can return empty text. total_pages describes the document while pages contains returned pages.
Input is limited to 50 MiB and parsing to 120 seconds on Linux amd64. PDF magic bytes identify the file; normalized filenames are accepted. Input bytes remain unchanged and failed parsing leaves no result.
This packaged operation uses 2.14.7. Upstream license: Apache-2.0. The linked source identifies the actual program; this page documents the adapter's exposed contract.
source github.com/run-llama/liteparse · node-v2.14.7 on Trickest
image quay.io/trickest/liteparse:2.14.7
use cases
liteparse use cases
Read PDF page text
Extract native text without OCR or a remote parsing service.
Keep text bounding boxes
Retain positioned text items for a layout-aware next step.
Inspect returned page dimensions
Use returned page dimensions beside the text items.
reference
liteparse inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| input | FILE | --input | Local PDF file with native text, at most 50 MiB; only the first 100 pages are parsed |
Showing key inputs. liteparse exposes 1 inputs in total.
example
liteparse command examples
/app/run.sh --input ./input.txt ./outputguidance
liteparse vs alternatives
Choose native text parsing when text positions matter. Embedded image extraction and rendered page screenshots produce different artifacts; image-only scans need a separate OCR step.
| Tool | Pick it when |
|---|---|
| pdftotext | Returns plain PDF text rather than positioned JSON items. |
faq
liteparse FAQ
related
More Utilities tools
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
Run liteparse yourself
The saved synthetic one-page PDF check verified sentinel text, page dimensions and nonzero text bounding boxes. The full native JSON is not retained as a page sample. The command shows the container entrypoint with example paths.
Facts on this page come from the live Trickest tool library.