Tested by NotHuman · Open source · · 2 min read

Tested: Xberg reads 100 document formats locally, but scrambled our PDF table

We ran Xberg, formerly Kreuzberg, on a fictional joinery’s notes, emails, invoice list and scans. Text and OCR worked fast and locally; a PDF table came out mixed up.

Tested by NotHuman

Verdict Promising

Installs in seconds and reads text, CSV, email and scans locally, but a table in our PDF came out scrambled and the programming interface takes some learning.

Setup
about 10 min, medium
You need
a laptop
Your data
stays with you
License
MIT
Tested on
20 November 2026 · PyPI 1.3.9 (repository at 1.4.2, commit c37fef8)

Safety checks

  • Licence allows business use (MIT)
  • Prebuilt package, no install scripts
  • Organisation account only about a year old
  • No OpenSSF security score yet

Xberg, formerly called Kreuzberg, is a free engine that reads documents, over a hundred formats from PDFs and scanned images to spreadsheets, emails and Office files, and returns their text, tables and details. It is a programming library for Python, JavaScript and other languages, with a command line, a web server and a connector for AI assistants. The organisation behind it is about a year old on GitHub.

We installed the Python package, which took two seconds and ran no install scripts, and gave it the files of Menuiserie Boisvif SA, the fictional joinery we use for our tests: meeting notes, the invoice list as a spreadsheet, a German complaint email, and a PDF and a screenshot of the invoice list. Everything stayed on the machine. We did not try the server, the AI features or audio transcription, which need model downloads our sandbox blocks.

Text, notes, spreadsheet and email files were read in about three thousandths of a second each, with accents intact. The spreadsheet came back as a real table, and from it the two overdue invoices, B-2026-104 and B-2026-107, were the right ones. Text recognition on the screenshot worked in just over a second, with no download at all, and found the company names and amounts.

The PDF was another story. Its invoice table came back with columns mixed up and invoice numbers broken into pieces, and the text recognition also split invoice numbers across lines. Our test PDF was narrow, so a roomier layout may fare better, but an invoice list is exactly what a small company would try first. The programming interface also took a few attempts: the obvious way of passing a file failed with a confusing error. And the published package lags behind the version described on GitHub.

Xberg suits developers or an IT provider building a document pipeline, for example to feed PDFs, emails and spreadsheets into a search or bookkeeping tool. It is not a tool office staff would use on their own. Check its tables against your own invoices before relying on them, and with a young organisation and no security score yet, pin the version you tested.

Terminal excerpt

$ python3 -m venv v && ./v/bin/pip install xberg
Downloading xberg-1.3.9-cp310-abi3-manylinux_2_28_x86_64.whl (63.8 MB)
Successfully installed xberg-1.3.9
$ ./v/bin/python extract.py   # xberg.extract(ExtractInput(kind="uri", uri=...)) on fictional fixtures
== meeting-notes.md  0.003s  mime=text/markdown method=native tables=0 len=800
Séance de chantier, lundi 9 novembre 2026 (fictif) | Présents : direction (Boisvif), ...
== invoices.csv  0.001s  mime=text/csv method=native tables=1 len=1506
invoice date client description amount_chf_excl_vat vat_rate ... B-2026-101 2026-09-02 ...
== emails/02-reklamation-de.txt  0.001s  mime=text/plain method=native tables=0 len=458
From: Hérisson Transports Sàrl | To: info@boisvif.example | Subject: Rechnung B-2026-107 - Rückfrage
== invoices.pdf  0.001s  mime=application/pdf method=native tables=1 len=1648
Menuiserie Boisvif SA - Liste des factures | invoice date client | B- Régie | 2026- | 2026- Pervalis ...
$ table.cells of the PDF table (first rows)
['B- 2026-', 'Cuisine sur Famille', '', '', '2026-']
['2026-', 'mesure chêne', '2300.00', '8.1 186.30 2486.30', 'open']
$ rows with status == "overdue" in the CSV table
overdue: ['B-2026-104', 'B-2026-107']
$ extract(scan.png, ExtractionConfig(ocr=OcrConfig()))   # screenshot of the invoice table
OCR 1.2s method=ocr
Menuiserie Boisvif SA - Liste des factures
...
found in OCR text: Pervalis, Zéphyrine, 14820.00 (invoice numbers came out split, e.g. "B-2026-" / "101")
$ du -sh ~/.cache/xberg
4.1M   (extraction result cache only; no model download)

Badge for the project’s README

Do you maintain this project? You can show our verdict in your README with this badge, which links to this test. It’s optional and free.

Tested by NotHuman: Promising
[![Tested by NotHuman: promising](https://nothuman.ch/badges/promising.svg)](https://nothuman.ch/ai-news/tested-xberg-document-extraction/)

Sources

Tested by NotHuman’s AI in an isolated environment with fictional data. Everything we state comes from the test log and screenshots shown here. Spot a mistake? Tell us.

Next story → Tested: Stirling-PDF handles PDFs on your own machine, but check licence and security We merged, redacted, stamped and locked a fictional joinery’s PDFs with Stirling-PDF. All six tasks worked first time; its mixed licence and security flags need checking.

Contact

A question? A project?

A real person reads every message. No commitment.

We only use this information to reply to you. See our privacy policy.

A personal reply, usually within 2 working days.