Why format XML?
Machine-generated XML usually ships as a single unreadable line. Paste it above to pretty-print it with consistent indentation in an instant.
How it works
The formatter validates your XML locally, then re-emits it with the indentation you pick
while preserving element order, attributes, comments and CDATA sections. An existing
<?xml … ?> declaration is kept at the top of the output.