Core
The open-source extraction engine: 107 file formats and bindings for 15 languages. Embed it in your app or self-host the extraction server.
Get the librariesA self-hostable document intelligence and RAG platform. Open-source primitives, one platform you run, RAG built in.
Crawl the web over resolver-protected HTTP.

resolve
public address, allowed
request
GET vendor.example/invoice.pdf
status
200 OK
type
application/pdf
invoice_vendor_a.pdf · fetched
Documents, scans and source code. Lossless HTML.
LLM structured extraction. VLM OCR. Summarize. Redact.
Collections. Hybrid retrieval. Reranking.
services/rag

resolve
public address, allowed
request
GET vendor.example/invoice.pdf
status
200 OK
type
application/pdf
invoice_vendor_a.pdf · fetched
Everything teams build on the pipeline — run any of them and see structured output. No account, no setup.
Turn a pile of PDFs, Office docs, and HTML into clean, chunked, embedded data for your vector database — in one call.
Pipeline stages
Input · Documents → chunked, embedded data
Your output will appear here
Choose a sample or upload a document, then run the extraction to inspect the result.
Run to extract a real document through the live API — no account, no setup.
Drop-in integrations for the AI frameworks and tools you already build with.
from langchain_xberg import XbergLoader# Load any document as LangChain Documentsloader = XbergLoader("report.pdf")docs = loader.load()# Drop straight into your vector storedb.add_documents(docs)
Install Xberg in your stack and call the same extraction API — from Python to Rust to the browser.
Rust, Python, Node.js, WASM, Java, Go, Ruby, and more.
Functions, classes, imports, symbols — all parsed.
Run our images or the single-binary CLI.
Free for personal, internal, and commercial use.
The open-source extraction engine: 107 file formats and bindings for 15 languages. Embed it in your app or self-host the extraction server.
Get the librariesThe full platform as one container in your own cloud, with single sign-on, an audit log and the AI models you host.
Get in touchFor organizations with many teams: SAML and SCIM, workers that scale with the load, data rooms, and on-prem installs.
Get in touch
invoice_vendor_a.pdf · extracted
Extract text and tables from native and scanned documents for search, retrieval, and downstream processing.

invoice_vendor_a.pdf · extracted
Effectively process large numbers of documents in bulk. Xberg Enterprise scales workers with queue depth in infrastructure you operate.












batch_2026_q1 · 10,000 documents
Embeddings via a Rust-native ONNX engine. 4 presets out of the box, extensible to any model. No separate embedding pipeline needed.

supplier
[ 0.021 -0.118 0.334 … ]
invoice_no
[ -0.204 0.077 -0.512 … ]
bill_to
[ 0.396 -0.041 0.188 … ]
line_items
[ 0.112 0.463 -0.229 … ]
total_due
[ -0.058 0.291 0.407 … ]
invoice_vendor_a.pdf · 5 region vectors
Semantic chunking across code, markdown, and plain text. Token reduction, keyword extraction, and rich metadata — structured output ready for any AI pipeline.

invoice_vendor_a.pdf · semantic chunks, excerpt
Extract functions, classes, imports, and symbols from code files across 372 programming languages. Structured output, ready for semantic chunking and RAG pipelines.
invoice_parser.py · symbols extracted
Go beyond extraction. Use vision language models as an OCR backend, extract structured JSON from documents using a schema, and generate embeddings — all via 174 LLM providers, including local models with zero API key configuration.

invoice_vendor_a.pdf · schema-driven JSON
Textract, Document AI and Azure DI stop at OCR — and send your files to their cloud. Xberg runs the whole pipeline, open source, on your own infrastructure.
Scroll sideways to compare with Google, Amazon and Azure.
| Capability | Xberg | Google Document AI | Amazon Textract | Azure Doc Intelligence |
|---|---|---|---|---|
| Deployment | Self-hosted | Cloud only (GCP) | Cloud only (AWS) | Cloud only (Azure) |
| Source model | Open source | Proprietary | Proprietary | Proprietary |
| Pipeline scope | Acquire → retrieve | Extract / OCR | Extract / OCR | Extract / OCR |
| Data handling | Self-hosted: stays in your infra | Sent to vendor | Sent to vendor | Sent to vendor |
| Formats | 107 · 372 code langs | Docs / forms | PDF / images | Docs / forms |
| Code intelligence | Built in | — | — | — |
| Pricing | Free Core; Pro and Enterprise licensed | Per page | Per page | Per page |
See the published extraction benchmark for measured latency, throughput, and accuracy.
October 9, 2026 benchmark run: 82 documents, 1,080 extractions. Harness · Raw results
Feed your vector database with semantically accurate document chunks. Preserve table structure so your AI understands relationships.
Extract content, metadata, and structure to power smart routing. Automatically categorize incoming documents. Reduce manual sorting and classification workflows.
Extract and structure compliance documents, contracts, and regulatory filings. Preserve table relationships and metadata for audit trails. Support for scanned documents with OCR means nothing falls through the cracks.
See how teams put document intelligence to work. Explore all use cases
Xberg uses cookies to improve your experience, personalize content, and analyze traffic. You can manage your preferences at any time.