XML Formatter & Validator
Format, minify and check XML with namespaces, keeping significant text exactly and refusing entity attacks.
Offline prerequisites
The installed app shell does not prepare every operation. Choose the resources you need, prepare while online, then recheck before disconnecting. Downloads below are approximate bundled sizes; network transfer can differ.
This tool has no separately downloaded codec/model prerequisite in this build. Its app code must still be installed, and browser APIs, file limits and supported formats still apply.
Checking this build’s offline resources…
Tab moves to the next control. Ctrl+] or Command+] inserts a tab.
About this tool
Format or minify XML, from feeds and SVGs to config files and SOAP messages, and check that it’s well-formed: every error is pointed out with its line and column, and namespace prefixes must be declared.
Significant text is never touched. Elements that hold text, mixed content like <p>Some <b>bold</b> text</p> and anything inside xml:space="preserve" stay exactly as written; whitespace is only added between elements that hold nothing but other elements.
DTD entity declarations are refused, since they’re behind attacks that expand a tiny file into gigabytes or read local files, and nothing is ever downloaded.