Compares two XML documents, ignoring formatting.
XML Diff compares two XML documents and highlights exactly what changed between them. Each side is pretty-printed and normalized first, so differences in indentation, line breaks, and surrounding whitespace are ignored and only real structural or content changes show up. It is handy whenever you need to see how two XML files actually differ without being distracted by formatting noise.
Yes. Both inputs are normalized with consistent two-space indentation and newlines before they are diffed, so pure formatting or whitespace differences are not reported as changes.
Each side must be well-formed XML. If either input cannot be parsed, the tool reports an error instead of producing a diff, so make sure both documents are valid XML first.
Yes. Normalization keeps the XML declaration on its own line and preserves attributes and self-closing tags, so the diff reflects genuine structural and content changes.
No. The comparison runs entirely in your browser. Your XML never leaves your device and nothing is uploaded or stored on any server.