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.

*The maximum size limit for file upload is 2 megabytes. For bigger files up to 100 megabytes, use the batch formatter.

Option 1: Copy-paste your XML document here
Option 2: Or upload your XML document
Text mode:
Indentation level: