Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

liteparse

Skill by K-Dense-AI

Parses local PDFs, Office files and images into layout-aware text, JSON with bounding boxes, Markdown and page PNGs for RAG and multimodal agents.

  • Score 94
  • 60k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install liteparse

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/liteparse ~/.claude/skills/liteparse

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install liteparse in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

LiteParse is an open-source document parser with a Rust core and Python and Node bindings. It extracts layout-preserved text, structured JSON with bounding boxes, or heuristic Markdown from PDFs, Office files and images. It can run OCR on scanned pages using bundled Tesseract or a user-run HTTP OCR server, and it can render pages to PNG screenshots.

The skill covers page subsets, password-protected PDFs, batch parsing of folders through the lit CLI or a bundled script, and phrase search over text items. It is aimed at developers and agents that need local parsing for RAG, citation grounding, batch ingestion of papers, or page images for multimodal models. The source says no cloud account is needed.

Written from the project's SKILL.md and checked against it.

What it can do

  • Layout-preserved textReturns layout text from a PDF, Office file or image in one call.
  • Spatial JSON outputReturns text items with bounding boxes, confidence and font details.
  • Markdown outputProduces heuristic Markdown with headings, tables and links.
  • Page screenshotsRenders selected pages to PNG files for multimodal agents.
  • OCR configurationRuns OCR on scans with a chosen language or a custom HTTP OCR server.
  • Page subsetsParses only chosen pages, such as 1-5,10,15-20.
  • Encrypted PDFsOpens password-protected PDFs when given the password.
  • Batch parsingParses a folder of documents with recursive and extension filters.
  • Phrase searchFinds a phrase across text items and returns combined bounding boxes.

What you need

  • Python 3.10 or later with liteparse 2.15.0
  • LibreOffice for Office formats such as DOCX, XLSX and PPTX
  • Network access for missing Tesseract language data or an optional HTTP OCR server

Try asking

  • Parse paper.pdf to JSON with bounding boxes for my RAG index
  • Render pages 1, 3 and 5 of this PDF as PNG screenshots
  • Batch parse my papers folder into JSON, recursing into subfolders

Good to know

  • Office conversion needs LibreOffice, and output depends on available fonts.
  • Missing Tesseract language data downloads on first use, so air-gapped setups must pre-populate it.
  • Markdown is heuristic and does not recover chart data or guarantee math transcription.
  • Native lit batch-parse can collide on same-stem inputs in one directory.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/liteparse/SKILL.md, skills/liteparse/scripts/batch_parse_dir.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md12 KB
  • references/api_reference.md8 KB
  • references/choosing_a_parser.md2 KB
  • references/cli_reference.md5 KB
  • references/ocr_and_formats.md6 KB
Show all 7 files
  • references/output_formats.md5 KB
  • scripts/batch_parse_dir.py6 KB

Alternatives to liteparse

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

liteparse: common questions

Does LiteParse need a cloud account?

The source says no cloud account is needed. Missing Tesseract language data can download from GitHub, and an HTTP OCR service you configure receives document images.

Which file types does LiteParse handle?

PDFs are parsed natively. Office files such as DOCX, XLSX, PPTX and ODT need LibreOffice, and images such as PNG, JPEG, TIFF, WebP and SVG convert natively.

When should I use another parser instead?

The source suggests MarkItDown for EPUB, audio, YouTube and HTML, and LlamaParse for dense tables, handwriting and cloud pipelines.

How do I install liteparse?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is liteparse free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is liteparse safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to liteparse?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

liteparse Install

Add to stack

Loading.