XML Formatter & Validator Online
Validate XML and format its structure.
How to use this tool
Checks XML well-formedness and indents element-only content. Mixed text, CDATA and xml:space="preserve" content are kept intact. DTDs and custom entities are not accepted. This tool does not validate against an XSD schema. XML input is limited to 1 MB.
Example input: <catalog><item id="001"><name>Example</name><price>12.50</price></item></catalog>
Your data stays on your device. No server uploads. Copy the result or download it when you are done. Switching tools or resetting clears that tool’s inputs and results.