JSONHint

Preparing your workspace…

XML Error Fixer

Check XML well-formedness and review syntax repairs. Includes examples and the distinction between syntax checking and XSD validation.

The interactive workspace loads with JavaScript. Instructions and limitations follow below.

Well-formed XML and schema validity

Try <order><id>42</id></order>, then remove </id>. The second input has mismatched tags and is not well formed.

What to check before using the result

This checks syntax; it does not validate against an XSD or DTD. Correct nesting alone does not establish that the document matches an external contract.

Input privacy and troubleshooting

Tool input is processed in your browser. Optional URL imports, downloaded libraries and advertising may make network requests. Use non-sensitive samples on shared devices. If an operation fails, reduce the input to the smallest example that reproduces the issue and report the tool URL and expected result.

Read the related practical guide →