data utility
XML Formatter & Validator
Validate XML well-formedness and produce an indented copy locally.
XML formatter & validator
Parse XML locally, validate well-formedness and produce an indented copy. External entities are not fetched; mixed-content whitespace may be preserved rather than reflowed.
Formatted XML
How it works
Parse an XML document in the browser, report parser errors and generate an indented copy. External entities are not fetched; mixed content may preserve whitespace rather than reflow. No upload or account.
Limits
- Uses the browser XML parser; it is not a schema validator and does not validate DTD/XSD constraints.
- External entities are not fetched; internal entity expansion is limited by the browser parser.
- Mixed-content whitespace may be preserved instead of fully reflowed.
Questions
Does it validate against an XSD or DTD?
No. It checks well-formedness only; schema validation is a separate job.
Is my XML uploaded?
No. Parsing, formatting and download happen in this tab.
Privacy
Usage measurement is off for this tool. This page makes no analytics request. Your input is not sent to a server.