StackMap
Subscribe
Explore / xberg
xberg-io

xberg

Rust-core document-intelligence engine with 15 language bindings: turns 96 formats — PDF, Office, images, audio, code — into clean text, tables and RAG-ready chunks. Library, CLI, REST or MCP.

9,228 577 Rust MITupdated yesterday
View on GitHubDispute this mapping →
Curator's take

The polyglot pick: reach for Xberg when your stack spans Rust, Python, Node, Go, the JVM or WASM and you want ONE extraction engine instead of a per-language pipeline. Handles 96 formats — PDFs, Office, images, audio/video (Whisper), even source code (306 languages, syntax-aware chunking) — with pluggable OCR (Tesseract/PaddleOCR/VLM), no GPU, and library/CLI/REST/MCP entry points. It's the v1 successor to Kreuzberg. Don't reach for it if you only need max-fidelity parsing of messy scanned PDFs (a dedicated VLM like MinerU or olmocr wins there), or if you're Python-only and already committed to LlamaIndex's own readers.

Mapped by ShipWithAI editors · links verified

Continue your stack

What teams reach for next — and why each earns a place beside xberg. Ranked by curator confidence.

Alternative to See all + compare →
MinerU

Heavyweight document-to-markdown/JSON parser — PDFs plus Office (docx/pptx/xlsx) through layout analysis and OCR into LLM-ready output for RAG and agentic pipelines. 73k stars, self-hostable.

Why it fitsBoth turn documents (PDFs, Office) into LLM-ready text/JSON for RAG. MinerU is a heavyweight Python/VLM parser tuned for max-fidelity layout + OCR; Xberg is a lightweight polyglot engine spanning 96 formats and 15 language bindings with pluggable OCR. Pick MinerU for the hardest scanned/complex PDFs, Xberg for breadth and multi-language embedding.
olmocr

Open toolkit that linearizes messy PDFs — scans, tables, equations, handwriting — into clean ordered Markdown with a self-hosted vision-language model. Built for LLM training data and RAG ingestion.

Why it fitsSame end goal — clean, ordered Markdown from PDFs for RAG/training ingestion. olmocr is a dedicated self-hosted vision-language model that excels on scans, tables and handwriting; Xberg is a general extraction framework where OCR is one pluggable backend. Use olmocr when OCR quality is the bottleneck, Xberg when you need many formats and language bindings.
pdf-inspector

Firecrawl's Rust PDF triage: classifies text-based vs scanned in ~10-50ms, extracts positioned text and clean Markdown without OCR — routing the ~54% of PDFs that never needed a model.

Why it fitsBoth are deterministic Rust document engines with multi-language bindings. xberg goes wide — 96 formats into RAG-ready chunks; pdf-inspector goes deep on one format with classification, confidence scores and OCR routing.