Beautify, minify and validate XML. Detect syntax errors and convert XML to JSON. All processing in your browser.
XML is still everywhere: RSS feeds, XML sitemaps, SOAP APIs, Office documents, Android layouts and many configuration formats. This tool indents XML so the nesting is easy to follow, minifies it for transfer, checks that it is well-formed and can convert it to JSON.
Well-formed XML follows the basic syntax rules. Valid XML also matches a schema, an XSD or DTD that defines which elements are allowed. Browsers, feed readers and most parsers reject anything that is not well-formed, so fix those errors first.
<br/>.& or < in text must be written as & or <, or placed inside a CDATA section.<Item> cannot be closed with </item>.<?xml ... ?> breaks some parsers.XML attributes and repeated elements have no direct JSON equivalent, so converters represent them in different ways. Check the structure of the result before you use it in code, and validate it with the JSON formatter.