XML Formatter
Beautify XML with proper indentation instantly.
Open toolFormat nested markup, check well-formedness, and inspect changes between two documents.
Beautify XML with proper indentation instantly.
Open toolCompare two XML blocks side-by-side with diff.
Open toolCheck XML well-formedness and catch syntax errors.
Open toolA fragment copied from the middle of an XML file may be missing its enclosing element or namespace declarations. Start with a small complete document so that a syntax error reflects the source rather than the way it was copied.
The formatter helps expose nesting in element-only structures. The validator checks whether the browser can parse the XML. The comparison tool highlights line-level changes and supports reviewing two versions side by side. Its options affect the comparison, so check them before interpreting the result.
A well-formed document can still omit a required field or use a word where your application expects a number. Those are schema or application-level concerns. The basic browser validator does not perform XSD validation.
Formatting is not XML canonicalization or signature verification. Use the signing system’s approved tools for signed XML. For support, share only a minimal fictional example, not an entire private export.
Read the SLR CORE guide to XML validation for examples of well-formedness, escaping, and schemas. For ordinary prose rather than structured markup, Text Compare may be the simpler choice.