How do I use the line:column coordinates in an error?
Just count along: lines start at 1 counted by newline characters, columns start at 1 counted by characters, pointing at the offending character. For example "3:15 attribute value missing quotes" means around column 15 of line 3 there is an unquoted attribute value. It is the same convention as our JSON tool's errors - fix it, press the button again, and it passes. The browser's native DOMParser only hands you a single parsererror word with no coordinates, which is exactly why this page uses its own parser.
Will my comments and CDATA survive?
Yes. Comments are preserved verbatim in formatted output (indented to their nesting level), and CDATA sections pass through untouched - the < and & inside them are never modified. Self-closing tags keep their self-closing form instead of being expanded into an open/close pair. Namespace prefixes (ns:tag, xmlns:ns=...) are treated as part of the plain name, so prefixes never get stripped.
Does format → minify → format drift the output?
No - the round trip is stable: format, minify, format again, and the second output matches the first character for character. The reason is that minification only strips the indentation and newlines that formatting introduced; it never touches tag internals or text content. Whitespace inside text nodes belongs to the content and is preserved as-is. Run three rounds on any input and see for yourself.
Can this work as an XML validator? How is it different from DOMParser?
Yes. The common errors are all covered: unclosed tags, mismatched close tags, unquoted attribute values, bare ampersands, undefined entities ( and friends are HTML, illegal in XML), illegal name start characters, and misplaced XML declarations. The difference is error quality: DOMParser returns one parsererror string with no coordinates, this page gives line:column. The page also runs DOMParser as a cross-check in parallel - both must pass before output is produced.
Is my config file uploaded anywhere?
No. Formatting, minification and validation all happen inside this device's browser - there is no upload endpoint and it works offline. Only preferences like indent width live in this browser's localStorage; they do not follow you to another device, and "Clear my data" in the footer removes them.