xml formatter
paste xml to pretty-print it with consistent indentation or minify it.
runs on your device · free · no sign-up
loading tool…
frequently asked questions
does it validate my xml?
it checks well-formedness using the browser xml parser and reports errors such as unclosed or mismatched tags. it does not check against a dtd or schema.
are comments and cdata kept?
yes, comments, cdata sections, processing instructions and the xml declaration are preserved.
is my xml uploaded?
no. formatting happens locally in your browser.