XML Diff
Compare two XML documents side-by-side. Color-coded line-by-line diff.
Comparing two XML files is harder than diffing plain text — formatting differences hide real changes. Converterzilla's XML Diff first normalizes both inputs (re-formats them with consistent indentation), then runs a line-by-line LCS-based diff to surface the actual content changes.
How to use XML Diff in your browser
- Paste XML A and XML B. Drop the original on the left, the changed version on the right.
- Click Compare. Both inputs are normalized and diffed; results show below with color coding.
- Read the result. Green lines = added in B. Red lines = removed from A. Plain lines = unchanged.
Why use Converterzilla for XML Diff
Format-normalized first
We re-format both inputs before diffing, so a re-indented file doesn't show as a 100% diff.
LCS-based
Real diff algorithm — same approach as git diff.
Browser-only
Both files stay in your tab.
Frequently asked questions about XML Diff
Line level after normalization. True element-level structural diff (xmldiff-style) is more complex and on our roadmap.
No — both inputs are re-formatted with identical indentation before comparing.
Attribute order differences may show as diffs since fast-xml-parser re-emits in its own order. We're investigating order-aware comparison.