@raevon/n8n-nodes-liteparse
v0.1.6
Published
n8n node for LiteParse — fast, local PDF & document parsing with OCR, screenshots, and markdown output
Maintainers
Readme
n8n-nodes-liteparse
An n8n community node for LiteParse — fast, local PDF & document parsing with OCR, screenshots, and markdown output.
Features
- Parse Documents — Extract text from PDF, DOCX, XLSX, PPTX, and images
- OCR Support — Built-in Tesseract or plug in any HTTP OCR server (EasyOCR, PaddleOCR, custom)
- Multiple Output Formats — Markdown (with headings, tables, lists), JSON (with bounding boxes), or plain text
- Screenshot Generation — Render document pages as PNG/JPEG images
- Batch Processing — Parse multiple documents in a single workflow
- 100% Local — No cloud dependencies, everything runs on your machine
Installation
In n8n, go to Settings → Community Nodes and install:
n8n-nodes-liteparseOr install via npm in your n8n installation directory:
npm install n8n-nodes-liteparseOperations
Parse Document
Parse a document and extract its content in your preferred format.
| Parameter | Description |
|-----------|-------------|
| Output Format | Markdown, JSON, or Text |
| Enable OCR | Run OCR on scanned pages |
| OCR Language | Tesseract language code (e.g. eng, ara+eng) |
| OCR Server URL | Use an external HTTP OCR server |
| Target Pages | Specific pages to parse (e.g. 1-5,10) |
| Max Pages | Maximum pages per document (default: 1000) |
| DPI | Rendering quality (default: 150) |
| Image Mode | How to handle images in markdown (placeholder/off/embed) |
| Password | For encrypted documents |
Generate Screenshots
Render document pages as images.
| Parameter | Description |
|-----------|-------------|
| Target Pages | Pages to screenshot (e.g. 1,3,5-10) |
| DPI | Screenshot quality (default: 150) |
| Format | PNG or JPEG |
Batch Parse
Parse multiple documents from binary inputs in a single operation. Uses the same parameters as Parse Document.
Usage Examples
Basic PDF to Markdown
- Read a file with the Read Binary File node
- Connect to LiteParse with operation "Parse Document"
- Set Output Format to "Markdown"
- The output contains the parsed text in
json.text
OCR a Scanned PDF
- Read the scanned PDF
- Connect to LiteParse with:
- Operation: Parse Document
- Enable OCR: true
- OCR Language:
eng(or your language) - Output Format: Markdown
Extract Screenshots for LLM Vision
- Read a PDF
- Connect to LiteParse with operation "Generate Screenshots"
- Set Target Pages to
1-5 - Screenshots are available as binary data on each output item
Use External OCR Server
- Run an OCR server (e.g. EasyOCR or PaddleOCR)
- In LiteParse node:
- Enable OCR: true
- Use External OCR Server: true
- OCR Server URL:
http://localhost:8080/ocr
Supported Input Formats
| Format | Extension | Requirements |
|--------|-----------|-------------|
| PDF | .pdf | Built-in (PDFium) |
| Word | .doc, .docx, .odt, .rtf | LibreOffice |
| PowerPoint | .ppt, .pptx, .odp | LibreOffice |
| Spreadsheets | .xls, .xlsx, .csv, .tsv | LibreOffice |
| Images | .jpg, .png, .tiff, .webp, .bmp | ImageMagick |
OCR Server API
If using an external OCR server, it must implement:
POST /ocr
Content-Type: multipart/form-data
Fields:
file - Image binary (required)
language - Language code (optional, default: "en")
Response:
{
"results": [
{
"text": "recognized text",
"bbox": [x1, y1, x2, y2],
"confidence": 0.95
}
]
}License
Apache-2.0
