Runs in your browser

About XML Workbench

XML Workbench is a set of tools for developers who work with XML, JSON and XSD – especially in SAP projects with IDocs, SAP Cloud Integration (CPI) and namespaces. It replaces the earlier ConvertHub on this domain; all old addresses still work.

Everything runs in your browser

Every conversion, schema, format and comparison is computed by JavaScript on your device, partly in a background thread (web worker). What you paste or open is not sent to a server, not stored and not logged. Files are read locally. When you close or reload the page, your input is gone.

The same applies to the e-invoice validator: the invoice is checked in your browser and never uploaded. For the check, the browser loads fixed files from this site – schemas, rule files, the validators SaxonJS and xmllint (WebAssembly) and, if you choose one, an example invoice.

The only measurement is Vercel Web Analytics: it counts page views (page, referrer, browser, device type, country) without cookies and never sees the content of the editors. Fonts and scripts come from this domain only. Details are in the Datenschutzerklärung (privacy policy, German).

What the tools do

  • JSON to XML and XML to JSON with one documented, reversible mapping: the root element, attributes, namespaces, CDATA, comments and mixed content are kept; repeated elements become arrays consistently; big numbers stay exact.
  • XML formatter that only changes whitespace between elements.
  • XML to XSD from all occurrences, and XSD to XML samples with named types, references and choices.
  • JSON diff and XML diff that align arrays and elements, detect moves and leave your input untouched.
  • Text counter for characters, words, lines and UTF-8 bytes.
  • E-invoice validator for UBL invoices, credit notes and XRechnung 3.0: UBL 2.1 schema, EN 16931 and XRechnung rules, with line numbers.

Example invoices

The examples of the e-invoice validator are official samples from the EN 16931 validation artefacts 1.3.17 (EUPL 1.2) and the XRechnung test suite 2026-08-31 (Apache 2.0). The example marked “Modified” was changed on purpose to show a finding; a comment at the top of the file says so.

Limits

  • XML 1.0 is supported; external DTDs and schemas from xs:import or xs:include are not loaded.
  • An inferred XSD describes your sample, not every valid document. Review it before use.
  • Very large files (tens of megabytes) depend on the memory of your device; up to 50 MB can be opened.
  • The e-invoice validator checks UBL (including XRechnung 3.0) only; CII and ZUGFeRD/Factur-X are not supported yet. A valid result does not replace the check by the recipient.

Coming later

Topics around Groovy scripts for SAP Cloud Integration are planned as a separate section, and the e-invoice validator will learn CII and ZUGFeRD/Factur-X. The source code is not public.

Version history

1.3.0 · 2026-11-15

  • E-invoice overview page: what the validator checks in four steps (format, UBL 2.1 schema, EN 16931, XRechnung 3.0) and what it does not check.
  • E-Invoice Validator: every rule finding lists the fields it names (BT numbers) with their values from the invoice, a plain-language headline for the total checks (BR-CO-10 to BR-CO-17) and the original rule text to expand; copying includes the fields.
  • Resizable panes: drag the separator between editor and result (or the two editors) with mouse, touch or keyboard, double-click for 50/50; the width is remembered per page.
  • Slimmer sidebar and header.

1.2.1 · 2026-11-15

  • E-Invoice Validator: taller editor on desktop, the intro uses the full width, no wrap button (line numbers of findings stay exact).
  • Two examples, one per rule set (EN 16931 and XRechnung); the privacy note moved into "About this validator", the example sources to the About page.

1.2.0 · 2026-11-15

  • New: E-Invoice Validator for UBL invoices, credit notes and XRechnung 3.0 – UBL 2.1 schema, EN 16931 and XRechnung rules, findings with line numbers, five official examples. Runs in your browser; the invoice is never uploaded.

1.1.2 · 2026-11-01

  • Imprint and privacy policy completed: contact details, e-mail contact, data retention, EU-US Data Privacy Framework and the responsible supervisory authority.
  • Classic favicon.ico in addition to the SVG icon.

1.1.1 · 2026-11-01

  • Calmer tools: no shortcut hint on the buttons (Ctrl+Enter still works) and no run time after a conversion.
  • Examples open from an "Examples" button with a menu that also works with the keyboard.
  • Wrap long lines with a button in every editor header; the choice is remembered on this device.
  • Automatic corrections (e.g. renamed elements) appear as a small blue note above the output; yellow is kept for real problems.
  • Text counter: the editor fills the window and scrolls inside, the numbers line up.
  • All examples convert without warnings.

1.1.0 · 2026-11-01

  • Simpler tools: no options panel any more, every tool uses fixed, sensible defaults. The XML diff keeps its switch for element order.
  • More room for the editors: they reach the bottom of the window, use the full width and sit closer together; narrower line numbers.
  • Convert, Format and Compare sit in the editor headers; Ctrl+Enter (Cmd+Enter on macOS) runs them.
  • The sidebar is narrower and can be collapsed to icons; the choice is remembered on this device.
  • Overview with tiles in two columns (four on very wide screens) and shorter page descriptions.

1.0.0 · 2026-10-31

  • First release of XML Workbench, replacing ConvertHub. All previous addresses keep working.
  • JSON to XML and XML to JSON with one documented, reversible mapping (root element, attributes, namespaces, CDATA, comments, mixed content, consistent arrays, exact big numbers).
  • XML formatter and minifier that keeps entities, CDATA, comments and the XML declaration.
  • XML to XSD from all occurrences with types, minOccurs/maxOccurs, namespaces and simpleContent; XSD to XML with named types, ref, choice, groups and extensions.
  • JSON diff and XML diff with aligned arrays and elements, moved items, CDATA changes and an order switch; inputs are never changed.
  • Text counter with characters, words, lines, digits and UTF-8 bytes.
  • Code editor with syntax colors, folding and search; heavy work runs in a background thread.
  • Examples for every tool, including an SAP ORDERS05 IDoc and SAP Cloud Integration messages.