XML Formatter
Make XML tolerable. That's the best anyone can do.
What this does
Paste XML, get properly indented XML. The tool parses your document with the browser's built-in DOMParser, then rebuilds it with consistent indentation. If parsing fails, you'll get an error pointing to the problem. No guessing, no silent corruption.
Common use cases
Reading API responses. SOAP, RSS feeds, SVG files, anything that comes back as a wall of angle brackets. Indentation makes the nesting visible, which makes the data findable.
Debugging config files. Android manifests, Maven POMs, .csproj files, Spring configs. XML configs are verbose by nature. Consistent formatting is the difference between readable and hostile.
Cleaning up generated XML before committing. Auto-generated XML is often either a single line or inconsistently indented. Format it once, commit the clean version, and future diffs make sense.
Things to know
XML is strict about well-formedness. Every opening tag needs a closing tag (or self-closing slash). Attributes must be quoted. Ampersands must be &. A single unescaped & in your content and the whole document is invalid. The formatter will tell you where the problem is, which is more than most XML tools do.
CDATA sections, processing instructions, and comments are preserved. Namespaces stay intact. The formatter handles the structure, not the semantics. If your XML was valid going in, it's valid coming out, just easier to read.
Privacy
Runs entirely in your browser using the native DOMParser. Your XML never touches a server. SOAP envelopes, config files with credentials, proprietary data formats. All stays local.