XML Validator
Paste XML to check whether it is well-formed. Any parse error is shown clearly. Runs locally.
Input
LocalOutput
—About XML Validator
The XML Validator checks whether an XML document is well-formed and reports the location of the first syntax error. It is for developers confirming that a feed, config, or payload will parse before they rely on it.
A single unclosed tag breaks an entire document. Validating locally gives an immediate verdict and an error position, with the content never leaving your browser.
Step by step
- Paste the XML you want to check.
- The validator parses it and reports success or a specific error.
- On failure, use the reported position to find the broken markup.
- Correct the issue and re-check until it is well-formed.
What it offers
- Well-formedness validation
- Located error messages
- Instant verdict
- Validated locally in the browser
Where it helps
- Confirming an exported config will parse before deployment
- Checking a feed after editing it by hand
- Debugging an integration that rejects an XML payload
- Teaching the difference between well-formed and valid XML
Tips for best results
- Remember this verifies syntax only; schema or DTD validation is a separate, stricter step.
- Declare the correct encoding in the XML declaration to avoid character issues.
- Escape reserved characters in text and attribute values to prevent false parse failures.
Why people use it
Clear result
An unambiguous well-formed or not verdict.
Pinpointed errors
Reports where parsing first fails.
No upload
The document is checked in your browser.
Unlimited
Validate as many documents as you like.
Common questions
This runs entirely in your browser
No file or text you enter here is uploaded. Encoding and decoding happen on your device using native browser APIs — close the tab and nothing remains on a server.