ShadTools

XML Validator

Check XML for mismatched tags, invalid attributes, malformed declarations, and other well-formedness errors with location details.

Valid XML
XML input
Validated output

Check XML syntax

The validator catches structural problems before a document reaches an API, build system, or configuration loader. Valid documents are shown in a readable normalized form for quick inspection.

Frequently Asked Questions

What does well-formed XML mean?+

A well-formed document follows XML syntax rules, including one root element, properly nested tags, quoted attributes, and valid names.

Does this validate against an XSD or DTD schema?+

No. It checks XML syntax and well-formedness, not application-specific rules defined by an external schema.

Why can valid XML still fail in another application?+

The receiving application may require a particular schema, namespace, encoding, or business rule beyond basic XML syntax.

Related Tools