What problem does it solve?
Kreuzberg provides high-performance, multi-format document extraction so developers can reliably convert PDFs, Office files, images, HTML, email and archive formats into clean text, structured tables, images and metadata for downstream processing. It eliminates brittle, manual parsing and inconsistent OCR results by offering configurable OCR backends, chunking, and language support across multiple language bindings.
Core Features & Use Cases
- Multi-format extraction: Extract text, tables, images and metadata from 75+ formats (PDF, docx, xlsx, images, html, email, archives).
- OCR and backends: Built-in Tesseract plus optional EasyOCR and Rust-native PaddleOCR for robust OCR on scanned documents and images.
- Multi-language bindings & modes: Python, Node.js/TypeScript, Rust (sync/async), and CLI for integration into pipelines, batch jobs, and server apps.
- Real-world use: Batch-process hundreds of invoices or academic papers, feed cleaned text to LLMs for structured extraction, or persist table data and images for analytics.
Quick Start
Use the kreuzberg library to extract text, tables, metadata, and images from "document.pdf" and save the structured JSON output for downstream parsing.