Tool capabilities
- Input
- TXT
- Output
- TXT · JSON
How to use XML Diff
Compare XML structures as values, including text and attributes. This xml diff works directly in your browser and is free to use without an account.
- Paste or open your input in the editor.
- Run the tool and inspect the output. If the input is invalid, correct the reported error and run it again.
- Copy the result or download it to your device.
XML Diff · Example
Input
<root><item id="1">Alpha</item><item id="2">Beta</item></root>
Output
{
"equal": false,
"changes": [
{
"path": "/root/item",
"kind": "changed",
"before": [
{
"#text": "Alpha",
"@_id": "1"
},
{
"#text": "Beta",
"@_id": "2"
}
],
"after": {
"#text": "Changed",
"@_id": "1"
}
}
]
}Compare XML structures as values, including text and attributes.
Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.