XML validator

Validate XML without loading DTDs or external entities.

Check whether text is well-formed XML.

Input

Result

About this tool

The XML validator checks whether a document is well formed and safe to parse under the tool's rules. It verifies matching tags, nesting, attributes, and basic XML syntax while refusing DTDs and external entities. Use it before importing a configuration file, testing an XML request body, or finding a structural mistake in copied markup. The tool validates text only and does not open links or load remote resources.