Validate

XML Validator

Paste XML to check whether it is well-formed. Any parse error is shown clearly. Runs locally.

Input

Local

Output

About this tool

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.

How to use

Step by step

  1. Paste the XML you want to check.
  2. The validator parses it and reports success or a specific error.
  3. On failure, use the reported position to find the broken markup.
  4. Correct the issue and re-check until it is well-formed.
Key features

What it offers

  • Well-formedness validation
  • Located error messages
  • Instant verdict
  • Validated locally in the browser
Common use cases

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
Best practices

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.
Benefits

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.

FAQ

Common questions

That tags are properly nested and closed and the syntax is valid XML. This is different from validating against a schema.
No, it checks well-formedness only.
No. Validation runs in your browser.
Yes, the Format button indents valid XML.
Private by design

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.

Install Toolisco Add it to your device for offline, one-tap access.