XML Diff
Compare two XML documents side by side with structure-aware change highlighting
All processing happens in your browser. No data is sent to any server.
+8 added-6 removed7 unchanged
1 <?xml version="1.0" encoding="UTF-8"?>
2 <config>
3 <database>
4- <host>localhost</host>
5- <port>3306</port>
6- <name>myapp_dev</name>
7- <pool-size>5</pool-size>
8+ <host>db.production.internal</host>
9+ <port>5432</port>
10+ <name>myapp_prod</name>
11+ <pool-size>20</pool-size>
12+ <ssl>true</ssl>
13 </database>
14 <cache enabled="true">
15- <ttl>300</ttl>
16+ <ttl>600</ttl>
17+ <strategy>lru</strategy>
18 </cache>
19- <logging level="info" />
20+ <logging level="warn" />
21 </config>
Why This Tool
Comparing XML configurations, schemas, or API responses requires understanding structural changes beyond simple text diffs. This tool shows side-by-side differences between two XML documents with clear highlighting.
How It Works
Paste your original XML in the left panel and the modified version in the right. The tool compares them and highlights added, removed, and changed elements and attributes.