XML editor and validator
Paste XML to check its tags and see whether it is well formed.
Result
✓Well-formed XML document
- Elements
- 3
Inputs
- XML
- <note><to>Ada</to><body>Hello</body></note>
How it is calculated
Tags must be properly nested and closed.
Result
Well-formed XML document
- Elements
- 3
How it is calculated
- Tags must be properly nested and closed.
- The document must have a single root element.
- Comments, processing instructions and CDATA sections are recognized.
Example
<note><to>Ada</to><body>Hello</body></note>
Good to know
- This checks well-formedness, not validity against a DTD or XSD.
- The editor does not load files; paste the content into the text area.
Frequently asked questions
What is this tool used for?
Paste XML to check its tags and see whether it is well formed.
How is the result calculated?
Tags must be properly nested and closed.
What should I check before using the result?
This checks well-formedness, not validity against a DTD or XSD.