Xmllint Windows [verified] Now

type ugly.xml | xmllint --format - > formatted.xml

For Windows users who cannot install third-party tools, PowerShell has built-in XML capabilities: xmllint windows

Before installing xmllint , you should ask: type ugly