XML Beautifier

Python

python2 -c 'import xml.dom.minidom;open("output.xml","w").write(xml.dom.minidom.parse("input.xml").toprettyxml())'