XML Tools
Browser-based XML formatter, minifier, and validator. Invalid XML shows a parse error with approximate line and column hints, and formatted output can be copied directly.
Format
Turn pasted XML into readable, indented output.
Validate
Detect malformed XML and show an approximate location.
Browser-only
The pasted XML stays in the current browser.
XML content is not sent to the server
Formatting, minifying, and validation all run in the browser. The XML text you paste here is not stored and is not sent to the server.
A separate XPath page is planned
If you need namespace-aware queries or scalar XPath results, use the separate XPath Tester
Load well-formed XML, broken XML, default-namespace XML, or multi-prefix XML in one click.
The likely problem line is shown below, and the same position is selected in the input box.
Large XML input can take some time to read or transform.