What Is Xberg?
Xberg is a document-intelligence engine: you point it at a file, URL, archive or source tree, and it returns clean text, tables, metadata and structured data in a format an LLM or search index can use directly. Its README calls it "the fast, precise document-intelligence engine — for every language."
- Product type: a Rust core with 15 language bindings, a 14-command CLI, a REST API (
xberg serve), an MCP server, a Docker image and a Helm chart - Repository: github.com/xberg-io/xberg, 9,000+ stars, created in January 2025, verified via the GitHub API
- Lineage: the README states that Xberg "is the next iteration of Kreuzberg" and the same engine "rebuilt and rebranded under a fresh v1 line"; the old kreuzberg-dev/kreuzberg address now redirects here, and a separate kreuzberg-lts repository still exists
- Licence: MIT, per the repository's LICENSE file
- Maker: the site shows the brand "Xberg" and the GitHub organisation xberg-io; its imprint gives a Berlin, Germany address and names one person as responsible for the website, but no legal entity name or registration number
What Can You Do With Xberg?
Xberg bundles the steps of a document pipeline into one engine. Some capabilities are optional feature flags that the prebuilt packages and the Docker image include by default.
- Extract — read PDFs, Office files, images, HTML, email, e-books, scientific papers and structured data, with MIME detection and limits for large inputs
- OCR — Tesseract, PaddleOCR, Candle or vision-language-model backends, with fallback chains and confidence scores
- Layout and tables — ML layout and table-structure models rebuild reading order and cell grids as Markdown
- Transcribe — speech-to-text for MP3, M4A, WAV, WebM and MP4 audio through Whisper ONNX models (feature flag)
- Fetch URLs — extract one web page or crawl and follow links through the crawlberg engine (feature flag)
- Unpack archives — recurse through nested zip, tar, gz and 7z files, guarded by zip-bomb, compression-ratio and nesting-depth limits
- Code intelligence — functions, classes, imports and symbols from 371 programming languages, with syntax-aware chunking for RAG
- Embed and enrich — local ONNX or provider-hosted embeddings, reranking, entity and keyword extraction, summarisation, translation and redaction
- Structured extraction — schema-driven JSON from a local or hosted LLM
- Output — plain text, Markdown, Djot, HTML, a JSON tree or Docling DocTags
What Runs Locally and What Does Not
Extraction, OCR, layout and ONNX embeddings run on your own CPU; the network is involved only where you choose a hosted provider, fetch a URL or use the maker's live demo. The docs describe the engine as CPU-first with no GPU required.
- CPU: on x86_64, the ONNX-based features (PaddleOCR, layout detection, embeddings, reranking, transcription) need AVX/AVX2 and can crash without it; ARM is unaffected
- Platforms: prebuilt binaries cover Linux (x86_64, aarch64), Windows and Apple Silicon; Intel Macs get prebuilt packages only for the CLI and the Python wheel
- Browser build: the WebAssembly package runs in browsers, Deno, Cloudflare Workers and Node.js 22 or later, without the LLM and VLM features
Extraction, OCR, layout
- Where it runs:
- On your CPU, in-process or in your own server
Embeddings and reranking
- Where it runs:
- Local ONNX models, or a hosted provider you configure
Structured extraction
- Where it runs:
- Ollama, LM Studio or vLLM locally, or a hosted LLM
URL fetching and crawling
- Where it runs:
- Needs network access to the target site
Live demo on the docs site
- Where it runs:
- Uploads go through the maker's API
Not verified: the docs do not say whether models or OCR engines download at first run, whether the engine works fully offline, or whether it sends telemetry. Test those on an air-gapped copy before relying on them.
Get Xberg: Install Commands
Xberg has no desktop installer: the easiest path is one command for your language or the CLI, and it needs a terminal. Commands below are from the installation guide.
Option | Command or link |
|---|---|
| Website | xberg.io |
| CLI (Homebrew) | brew install xberg-io/tap/xberg |
| Python | pip install xberg |
| Node.js | npm install @xberg-io/xberg |
| Docker image | ghcr.io/xberg-io/xberg |
| Documentation | docs.xberg.io |
| Source and releases | github.com/xberg-io/xberg |
| Privacy policy | xberg.io/privacy |
The install guide also lists Rust, Go, Java, Kotlin, C#, Ruby, PHP, Elixir, Dart, Swift, Zig, WebAssembly and C packages, plus Scoop and an install script. The GitHub Releases page carries language-binding artifacts, not an end-user installer.
Xberg Licence and Commercial Editions
The library is free under the MIT licence for personal, internal and commercial use; the maker also offers paid editions without published prices. Details come from xberg.io and its privacy policy.
- Xberg Pro: a self-hosted, single-container edition; Xberg Enterprise: a distributed Kubernetes edition with governance and support
- Xberg Platform: a managed backend priced by usage or self-hosting; an invitation-only design-partner programme offers 24-month locked pricing
- Website privacy: the policy, dated 21 May 2026, names "Xberg" as controller without naming a legal entity and says analytics run only with cookie consent
- The policy makes no statement about the open-source library sending data to the maker
Who Should Use Xberg?
Xberg fits developers who need many document types converted into clean, structured text and would rather call one engine than stitch together separate PDF, OCR and layout libraries.
Use Xberg if you
- Build RAG, search or agent pipelines that ingest PDFs, scans, Office files, e-mail or audio
- Want extraction on your own hardware, in your language, as a library, server or MCP tool
- Need LLM-based field extraction through a model server on your own hardware
Look elsewhere if you
- Want a point-and-click app to chat with your documents
- Need documented offline and telemetry guarantees today
- Need a vendor with a named legal entity and published enterprise pricing
Competitors and Alternatives
The directory lists no other document-extraction engine, so the nearest same-category reviews are tools that fetch or consume content rather than convert files. Xberg sits upstream of them: it produces clean text and structure, and they store, search or act on it.
Firecrawl
- Best known for:
- Turning websites into LLM-ready Markdown or JSON
Articles about Firecrawl (2)
- Firecrawl Review: Open-Source Web Data API for LLM PipelinesUpdated October 17, 2026
- Tina Review: iPhone Client for Ollama, llama.cpp and ComfyUIUpdated October 4, 2026
Cognee
- Best known for:
- Self-hosted long-term memory for agents via a knowledge graph
txtai
- Best known for:
- Embedded vector and LLM database in one library
Articles about txtai (2)
- txtai Review: The Embedded Vector Database That Skips the ServerUpdated September 2, 2026
- Local Knowledge & Retrieval Tools Compared (2026): RAG, Document Chat, Vector Databases, Notes and SearchUpdated September 20, 2026
Also mentioned in:
- Weaviate Review: The Self-Hostable Vector Database for RAGUpdated September 19, 2026
- Milvus Review: The Open-Source Vector Database for Local RAGUpdated September 18, 2026
- Qdrant Review: The Self-Hosted Vector Database for RAGUpdated September 18, 2026
See the Local LLM Software Directory for the full catalog, including Xberg's own entry.
Frequently Asked Questions
Can Xberg run as an MCP server?
The README lists an MCP server next to the CLI and REST API. This review did not run it, so check the docs for the exact start command.
Can I use Xberg in a browser?
Yes, through the WebAssembly package, which also targets Deno, Cloudflare Workers and Node.js 22 or later. It leaves out the LLM and VLM features.
Does it run on an Intel Mac?
Partly. Prebuilt packages exist only for the CLI and the Python wheel, and the docs call Intel support best-effort and slated for removal.
Should I upload confidential files to the live demo?
No. The demo sends documents through the maker's API, so use a local install for anything sensitive.
Which languages can call Xberg?
Python, TypeScript and Node.js, WebAssembly, Rust, Go, Java, Kotlin on Android, C#, Ruby, PHP, Elixir, Dart and Flutter, Swift, Zig and C through an FFI.
Has PromptQuorum tested Xberg?
No. This review is based on the official site, documentation, privacy policy, GitHub repository and release data, not on hands-on benchmarks.
