Back to tools

XML Compare

Diff two XML files side-by-side. Normalize mode re-indents both files so you only see real changes. Good for SOAP, RSS, sitemaps, Maven POMs, and Android layouts.

0 chars
0 chars
Granularity

Diff result

+00=0

Paste content on both sides to see the diff.

How It Works

  1. 1

    Paste both XML files

    Original on the left, changed on the right.

  2. 2

    Toggle Normalize

    Re-indent both sides consistently before diffing.

  3. 3

    Review the diff

    Additions in green, deletions in red. Stats update live.

  4. 4

    Copy or download

    Export as unified diff or .patch file.

Use Cases

  • SOAP response diff

    Compare two SOAP responses from a regression test to find why the payload changed.

  • Android layout review

    Diff two versions of an XML layout before merging a UI change.

  • Sitemap or feed comparison

    Compare two sitemap.xml or RSS feed snapshots to track what was added or removed.

  • Maven POM drift

    Compare pom.xml across branches to spot dependency or plugin changes.

Frequently Asked Questions

It diffs two XML documents side-by-side, with optional normalization that re-indents both files first so you only see structural changes. Not formatting noise.
Two XML files can be semantically identical but visually different (whitespace between tags, line breaks, indentation). Normalize re-indents both sides consistently so the diff shows only real changes.
Yes. Anything well-formed XML. SOAP responses, RSS, Atom, sitemaps, Maven POMs, Android layouts, SVGs. All work.
No. Parsing, normalization, and diffing happen entirely in your browser.
No. This tool focuses on diffing. For validation, see our XML Validator. The normalizer assumes well-formed XML and re-indents based on tag structure.
Yes. Copy the unified diff or download as a .patch file. Compatible with `git apply`.
Comments and CDATA are preserved by the normalizer. Whitespace inside CDATA is significant and is not changed.
Yes. Namespace declarations are diffed like any other attribute. If only the prefix changes (xmlns:foo vs xmlns:bar) but the URI is the same, the diff will still flag it. Use a semantic XML diff tool if you need namespace-aware comparison.

Diffing API responses by hand? Automate the regression test.

Bug0 writes end-to-end tests from plain English, runs them on every deploy, and a forward-deployed engineer reviews every failure.

From $2,500/mo. Results in 7 days.

Go on vacation. Bug0 never sleeps. - Your AI QA engineer runs 24/7

Go on vacation.
Bug0 never sleeps.

Your AI QA engineer runs 24/7 — on every commit, every deploy, every schedule. Full coverage while you're off the grid.