FreeToolFlow

Free XML Validator

Paste or upload XML and instantly see whether it is well-formed, with exact line and column numbers for every error.

How to use XML Validator

Paste or upload XML and instantly see whether it is well-formed, with exact line and column numbers for every error.

Frequently asked questions

What does 'well-formed' mean?

A well-formed XML document follows all XML syntax rules: every opening tag has a closing tag, attributes are quoted, and the document has a single root element.

Does it validate against an XSD schema?

This tool checks well-formedness. Schema (XSD) validation requires uploading your schema — use the advanced mode for that.

Is my XML sent to a server?

No. Validation uses the browser's native DOMParser API. Nothing leaves your device.

What errors are reported?

Unclosed tags, mismatched tags, illegal characters, duplicate attributes, missing root element, and encoding errors.

Can I validate a URL instead of pasting XML?

Yes. Enter a public URL and the tool fetches and validates the XML from that URL.

Related tools