Code & Data
XML formatter & validator
Pretty-print XML or check that it is well-formed.
- 1Fill in the values
- 2Click Run
- 3See results instantly
Limits
- Checks well-formedness only. It does not validate against a schema (XSD) or DTD.
- Error line and column come from your browser XML parser, so the wording varies between browsers.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “format xml: <a><b/></a>”
- “validate xml”