Skip to content

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

All tools · More in this category