XML Formatter

Formats a XML string/file with your desired indentation level. The formatting rules are not configurable but it uses a per-element indentation pattern giving the best readability.

*Files bigger than 1 meg will be formatted to a new window.

A special thanks to Johannes K√ľnsebeck for pointing out the XML Injection issue in my formatter.

Option 1: Copy-paste your XML document here
Option 2: Or type in the URL to your XML file
Indentation level:
Force output to new window: