XML Compare

Parse, normalize, and compare XML trees—useful for configs, SAML, and RSS debugging.

When to use this tool

  • Debugging SAML response drift during SSO integration.
  • Comparing two RSS feed snapshots.
  • Pretty-printing and diffing legacy SOAP payloads.

How it works

  1. Paste the left XML document.
  2. Paste the right XML document.
  3. Use the pretty-printed view to read the structure.
  4. Read the line-level diff highlighting.

Privacy: This tool runs entirely in your browser. Your input is not sent to our servers.

Line-oriented diff after normalizing serialization. For deeply nested XML, prefer a dedicated XML diff tool in your IDE.

Advertisement

Frequently asked questions

Does it normalize namespaces?

The parser keeps namespace prefixes as-is. Rename prefixes on both sides before diffing if they differ cosmetically.

Will whitespace be treated as a difference?

The pretty-printer normalizes leading whitespace, so meaningful differences are surfaced and trivial indentation differences are not.

Can it diff HTML?

Only for strictly XHTML-shaped HTML. For general HTML, use the HTML-to-Markdown tool first to get a comparable form.