APIs, configuration files, data exports and sitemaps all share one habit: the XML they produce arrives as a single dense line that is technically valid and practically unreadable. Prettify XML fixes that in one click, expanding the document into a properly indented, line-broken tree that you can actually scan.
The formatter parses your document with the browser's own XML engine, so it never rewrites structure — it only adds whitespace. Choose two-space, four-space or tab indentation, decide whether empty elements collapse to self-closing form, and whether the XML declaration survives. A live preview updates as you type, and the result can be copied, downloaded or printed to PDF. Everything runs locally; no XML ever leaves your machine.