XML Formatter and Validator
Check XML well-formedness and indent element-only sections with browser-local processing.
Input
Result
How it works
Well-formed XML has one root element, correctly nested tags and quoted attributes. Formatting preserves mixed content and xml:space directives. DTD declarations are rejected before parsing, and schema validation is outside this tool's scope.
Example
<config><region>eu</region><enabled>true</enabled></config>
An indented config document.