XML Formatter & Validator
Paste or upload XML — format, validate, minify, inspect tree, evaluate XPath, convert to JSON.
Format
Minify
Validate
Stats
XML → JSON
Indent:
2 spaces
4 spaces
Tabs
📁 Upload
Copy
Download
Formatted
Tree View
XPath
JSON
Stats
Errors
Expand All
Collapse All
Paste XML and click Format to see the tree view.
Evaluate
Results will appear here.
Copy JSON
Click XML → JSON to convert.
No errors.
Copied!