XML Validator
To validate XML, paste it and the validator checks it is well-formed: matching and properly nested tags, one root element, quoted and unique attributes and escaped ampersands. Errors show the line and column.
- Free
- No signup
- Runs in your browser
How to use XML Validator
- 1Type or paste your input into the XML Validator.
- 2Choose any options you need.
- 3See the result update instantly.
- 4Copy the result or download it.
XML Validator: questions people ask
Does it validate against an XSD or DTD?
No. It checks well-formedness, which every XML document must pass. Schema validation is a further, optional check.
Why is '&' an error?
In XML a bare & starts an entity, so it must be written & (or placed inside CDATA).
Is my data uploaded when I use the XML Validator?
No. The XML Validator runs entirely in your web browser, so your text and numbers stay on your device and work even on a slow connection.
Does the XML Validator work on iPhone, Android and Mac?
Yes. The XML Validator runs in any modern browser (Safari, Chrome, Edge or Firefox) on iPhone, iPad, Android phones, Mac, Windows and Chromebook. There is no app to install.
Is the XML Validator free?
Yes. The XML Validator is free with no signup, no watermark and no daily limit.