XML Diff
Left tree appears here after comparing.
compare
view
tree
diff
— added— removed— changedsearch
Right tree appears here after comparing.
About the XML diff tool
Two documents render side by side with differences highlighted in place. The defaultDiff view is a line-level diff of both documents pretty-printed the same way, so you can see exactly which lines changed. Switch to Tree for a structural comparison that walks the element tree instead — attributes, text, and child elements are marked added, removed, or changed, with a dashed marker on any collapsed branch that contains a change.
The two views are complementary. A re-indentation-only change shows up in the line view but not the tree view, while a change that touches an attribute value is called out precisely by the tree view. Hover any diff line to copy it, or use the per-node copy menu in the tree view.
Related: pretty-print and validate either side with the XML formatter, or compare JSON configuration with the JSON diff tool.
FAQ
Is my XML sent anywhere?
No. Both documents are parsed and compared entirely in your browser — nothing leaves this tab.
Does the tree view respect namespaces?
Yes — element and attribute names keep their prefixes, so namespaced documents diff correctly.
Does child order matter?
The line view is order-sensitive. The tree view groups repeated sibling tags by name, so reordering siblings won't flag as a change there.