toolmanch
← Back $ devtools/xml · fmt

$xml formatter

Pretty-print or minify XML. Uses the browser's DOMParser + XMLSerializer for accuracy, then re-indents the output. Validation errors are surfaced inline.

input.xml
ready
chars 0
formatted.xml
idle
chars 0