Zum Hauptinhalt springen
PlusDeveloper Tools

XML Validator

XML is the backbone of the German administrative and financial world - from ELSTER through ZUGFeRD to SEPA. The XML Validator checks whether your document is well-formed, formats it readably, shows it as an expandable tree, lets you query it via XPath and converts it to JSON. With ready-made templates for the common German XML formats, all in the browser.

A live look inside

Live preview. It becomes interactive with your account.

What XML Validator does

Anyone working digitally with authorities and finance in Germany cannot avoid XML: the electronic tax return at ELSTER, electronic invoices per ZUGFeRD and XRechnung, SEPA transfers and direct debits, GoBD exports, DATEV booking batches. All of these are XML documents - and when one does not go through, you want to know quickly where the error is. That is exactly what the XML Validator is for.

One important point up front so it is clear what the tool does: the validator checks the well-formedness of your XML. That means it ensures all tags are correctly opened and closed, the nesting is right, quotes match and the document is syntactically clean. On an error it shows you what is wrong. What it deliberately does not do is a full check against an XSD schema - so it tells you whether your XML is structurally correct, not whether it meets every business rule of a particular schema.

Alongside checking comes preparing. The validator formats your XML with clean indentation and syntax highlighting, turning an unreadable line into a clear structure. The tree view goes further: instead of scrolling, you expand and collapse the elements that interest you and keep the overview even with large documents.

With XPath queries you pull out specific elements and values without navigating the tree by hand - handy when you only need the amounts in a long SEPA file or only certain figures in an ELSTER message. And if you prefer to work with JSON, you convert the XML in one click. A stats view reveals element count, depth and structure at a glance.

So you can start right away, the validator ships a large collection of ready templates for exactly the formats that matter in German everyday life: ELSTER tax data, ZUGFeRD and XRechnung invoices, SEPA pain.001 and pain.008, GoBD export, DATEV XML, property tax declaration, DEUEV report, commercial register filing as well as generic formats like sitemap, RSS and SVG. So you have a correct example to compare against and try out.

Everything runs client-side in your browser. No XML is uploaded - no tax data, no invoice, no bank details leaves your device. For documents that contain personal or business data that is the only sensible choice. No account, no signup, no data leaving your device.

Features

Check well-formedness

Checks tags, nesting and syntax and shows what is wrong on an error.

Format with highlighting

Cleanly indented, colour-highlighted XML from an unreadable line.

Expandable tree view

Expand and collapse elements to keep the overview even with large documents.

XPath query

Pull out specific elements and values without navigating the tree by hand.

XML to JSON

Convert your XML to JSON in one click if you want to work with it further.

German format templates

ELSTER, ZUGFeRD, XRechnung, SEPA, GoBD, DATEV and more - ready examples to compare against.

Runs in the browser, no upload

No XML leaves your device - no tax data, no invoice, no bank details.

How it works

  1. 1

    Paste XML or pick a template

    Paste your XML or start from one of the templates for ELSTER, ZUGFeRD, SEPA and co.

  2. 2

    Check well-formedness

    The validator reports whether your document is syntactically clean and otherwise shows the error spot.

  3. 3

    Format or view as a tree

    Bring the XML into readable shape or click through the expandable tree structure.

  4. 4

    Query or convert

    Pull out specific values with XPath or convert the document to JSON in one click.

Who needs this

→Anyone checking an ELSTER, ZUGFeRD or XRechnung document for well-formedness.
→Bookkeepers reviewing a SEPA or DATEV XML file before import.
→Developers who want to format XML readably or convert it to JSON.
→People pulling specific values from a large XML with XPath.
→Teams needing a format template as a correct comparison example.

Frequently asked questions

Does the validator check against an XSD schema?

No. The XML Validator checks well-formedness - whether tags, nesting and syntax are correct. It deliberately does not do a full check against a specific XSD schema with all its business rules. It tells you whether your XML is structurally clean, not whether it meets every requirement of a schema.

What does well-formed mean?

Well-formed means the XML follows the basic rules: every opened tag is closed, elements are correctly nested, attributes are quoted and there is exactly one root element. If that is not the case, the validator reports the error.

Can I check ELSTER, ZUGFeRD or SEPA XML?

Yes - for well-formedness and structure. There are also ready templates for all these formats to compare your document against. Whether it meets every business schema rule is ultimately decided by the respective target system.

How do I pull out individual values?

With the XPath query. You enter an XPath expression and the validator returns the matching elements and values, without you having to click through the tree by hand.

Is my XML uploaded?

No. Everything runs in your browser. No XML - no tax data, no invoice, no bank details - is sent to a server or stored.

Can I convert XML to JSON?

Yes. The validator converts your well-formed XML into a JSON structure in one click, which you can work with further in other tools or in code.

JSON Formatter

Format, validate, and minify JSON with syntax highlighting and error detection. Free, runs in…

SQL Formatter

Format and minify SQL queries with syntax highlighting.

ZUGFeRD XML Embedder

Embed ZUGFeRD/Factur-X XML into existing PDFs (PDF/A-3, EN 16931, XRechnung 3.0 with Leitweg-…

Code Workshop

Multi-tab editor with syntax highlighting, live preview, console, 20+ presets and snippet man…

Regex Tester

Test regular expressions with live highlighting and German pattern presets.

Reverse Charge Validator

Check if an EU invoice correctly applies the reverse charge mechanism (§13b UStG). VAT ID val…

Ready to use XML Validator?

No installation. No account needed to start. Open it right in your browser.

Open now