XML Formatter / Validator
Free online tool · runs in your browser
Format and validate XML.
Quick tutorial
- 1Paste XML.
- 2Click Format or Validate.
Free online xml formatter / validator
Pretty-print XML with indentation and check that the document is well-formed. Paste SOAP, RSS, or config XML, then Format or Validate using the browser’s DOMParser. Very large documents may be slow. This checks well-formedness, not an XSD schema.
How to use XML Formatter / Validator
- Paste XML.
- Click Format or Validate.
Limitations
- Uses DOMParser — very large XML may be slow.
Example
Input
<a><b>1</b></a>
Output
<a> <b>1</b> </a>
FAQ
Frequently Asked Questions
Does this validate against an XSD?
No. It checks well-formed XML (tags match, markup parses). Schema validation is not included.
Are XML namespaces supported?
Basic XML with namespaces usually formats. Exotic namespace edge cases can vary by browser parser.
Does it support namespaces?
Basic XML is supported; complex namespaces may vary.
Is XML Formatter / Validator free to use?
Yes. XML Formatter / Validator on ShadowReference is free, with no account, no watermarks, and no server-side processing.
Does this tool send my data to a server?
No. All processing happens locally in your browser. Your input never leaves your device.