kreuzberg

Extract text, tables, metadata, and images from PDF, Office, image, HTML, and archive documents.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/makramab/paddleocr-test --skill kreuzberg-makramab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kreuzberg
Source: https://github.com/makramab/paddleocr-test/tree/main
Command: npx skills add https://github.com/makramab/paddleocr-test --skill kreuzberg-makramab

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about kreuzberg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from PDF and Office documents?

You can extract text and tables from PDF and Office documents using multi-format document extraction tools that parse 75+ formats into structured JSON or markdown. These tools support configurable OCR backends like Tesseract to handle both native and scanned document text reliably.

What is the best way to batch process invoices for automated text extraction?

The best way to batch process invoices for automated text extraction is using a library that supports sync and async workflows across Python, Node.js/TypeScript, and Rust. This allows server and client pipelines to process hundreds of mixed-format invoices and output structured JSON for LLM parsing or analytics.

Can I use PaddleOCR or EasyOCR for scanned document OCR instead of Tesseract?

Yes, you can use PaddleOCR or EasyOCR for scanned document OCR instead of Tesseract. The extraction framework offers built-in Tesseract by default and supports optional EasyOCR and Rust-native PaddleOCR backends, allowing you to configure the OCR engine based on your accuracy and language requirements.

Does document extraction work with Python, Node.js, and Rust for server workflows?

Document extraction works with Python, Node.js/TypeScript, and Rust for server workflows, offering both synchronous and asynchronous modes. This multi-language binding support allows integration into batch jobs, server applications, and CLI pipelines for processing mixed-format archives prior to LLM parsing.

How do I feed extracted document text to an LLM for structured data parsing?

To feed extracted document text to an LLM for structured data parsing, you first extract the content from PDFs, emails, or images into clean text or markdown. You then pass this structured output directly to your LLM to reliably extract fields and perform analytics without brittle manual parsing.

What formats are supported for extracting metadata and images from archives?

Supported formats for extracting metadata and images include PDF, Office files like docx and xlsx, images, HTML, email, and archive formats. The extraction process handles over 75 formats, persisting table data, images, and metadata for downstream analytics and automated processing.