Validate XML Without Uploading

Paste XML to see whether it is well-formed. A valid document returns “Valid XML”. A broken one returns an error with a line and column, for example a missing closing tag.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to validate

1. Paste the XML. 2. Read the result.

`<root><item>1</item><item>2</item></root>` is valid. `<root><item>1</item><item>2</root>` is not, and the message points at the problem.

Well-formed versus valid against a schema

This check is for well-formedness (tags nest correctly, there is a single root, and so on). It does not validate against an XSD or DTD. The text is checked in the browser and is not uploaded.

If you are checking a large export, paste the full document – the error line refers to this text, not to a file on disk.

Frequently asked questions

Is my XML uploaded?

No.

Does this check my document against a schema?

No. It only checks that the XML is well-formed.

Can I format the document here too?

Use the XML beautifier once the document is well-formed.

What does a successful result look like?

The exact text “Valid XML”.

More XML Tools