XML Formatter
Pretty-print XML with consistent indentation and one element per line.
Runs locally · Nothing uploaded
XML input
Formatted XML
Result will appear here…Advertisement
About XML Formatter
Re-indents XML documents so nested elements are easy to scan, and reports an error when markup is not well-formed. Attributes, CDATA, and comments are preserved. Useful for reading SOAP payloads, RSS feeds, SVG source, and configuration files.
Related tools
JSON & DataRuns locally in your browser.XML to JSONParse XML documents into equivalent JSON objects.JSON & DataRuns locally in your browser.JSON to XMLConvert JSON structures into indented XML markup.Web & CSSRuns locally in your browser.HTML FormatterRe-indent HTML markup so nesting is easy to read.