XML Compare
Diff two XML documents line by line.
Original XML
Changed XML
Line-by-line diff
Differences appear here.
Free online XML compare tool. Paste two XML documents to see added and removed lines highlighted in a clear side-by-side diff. Runs entirely in your browser — nothing uploaded.
How to use the XML Compare
- 01Paste the original XML on the left and the changed XML on the right.
- 02A line-by-line diff highlights added and removed lines.
- 03Review the summary counts to see what changed.
Frequently asked questions
How does the comparison work?
It runs a line-based diff (longest common subsequence) and marks lines that were added or removed. Formatting both documents first gives the cleanest results.
Is my data uploaded?
No — the comparison runs entirely in your browser.