XML Formatter & Validator
Check XML syntax and serialize a readable document.
Processing stays in your browser. Preserves mixed-content text without inserting whitespace inside it. External document types and entities are rejected; schemas are not checked.
How to use the xml formatter & validator
Check XML syntax and serialize a readable document. Complete the xml document fields above, or upload a UTF-8 text file for the first field. Choose Run tool, review the output, then copy or download the result.
Example
<users><user/></users> is displayed with the nested element indented.
Good to know
Preserves mixed-content text without inserting whitespace inside it. External document types and entities are rejected; schemas are not checked.