LiteParse is a lightweight, open‑source PDF parsing tool that delivers fast, high‑quality spatial text extraction with bounding boxes. Built on PDF.js and Tesseract.js, it runs entirely locally without cloud dependencies, supporting PDF, Office, and image formats via automatic conversion. Users can parse documents via a CLI or as a library, generate high‑resolution screenshots, and integrate custom OCR servers through a simple API. Ideal for production pipelines, LiteParse offers JSON or text outputs, precise bounding boxes, and multi‑platform support across Linux, macOS, and Windows.
MinerU is a tool that converts PDFs into machine-readable formats (e.g., markdown, JSON), allowing for easy extraction into any format.
Docling simplifies document processing, parsing diverse formats — including advanced PDF understanding — and providing seamless integrations with the gen AI ecosystem.
This article details a method for converting PDFs to Markdown using a local LLM (Gemma 3 via Ollama), focusing on privacy and efficiency. It involves rendering PDF pages as images and then using the LLM for content extraction, even from scanned PDFs.
A toolkit for training language models to work with PDF documents in the wild, including prompting strategies, evaluation tools, filtering, finetuning code, and processing PDFs through finetuned models.
Docling is a tool that parses documents and exports them to desired formats like Markdown and JSON. It supports various document formats including PDF, DOCX, PPTX, Images, HTML, AsciiDoc, and Markdown.
pdfocr adds an OCR text layer to scanned PDF files, allowing them to be searched. It currently depends on Ruby 1.8.7 or above, and uses ocropus, cuneiform, or tesseract for performing OCR.
To use, run:
pdfocr -i input.pdf -o output.pdf