XML Formatter
Format, minify and check XML.
Questions
What does the validator check?
That the XML is well-formed: every tag closed and correctly nested, one root element, attribute values in quotes, no repeated attributes, and every & starting a valid entity. It doesn’t load DTDs or check against an XML Schema (XSD).
Will formatting change my data?
No. Indentation is added only between elements. Where text and elements are mixed, as in <p>Some <b>bold</b> text</p>, the content is kept exactly as written, because extra spaces there would change it.
What does minifying remove?
The spaces and line breaks between elements, and comments if you choose. Text content and CDATA sections are kept as they are.
Is it free? Do I need an account?
It is free to use and there is nothing to sign up for. There are no watermarks and no daily limits.
Missing something, or not working as it should? Tell us