XML Formatter

Format or minify XML. Validates syntax using the browser parser, self-closes empty elements, and shows element/attribute stats.

Mode
Indent
Examples:
XML input✓ Valid XML
Formatted output