XML Compare
Compare XML documents at the element and attribute level; indentation differences are not counted.
You can drag and drop.
You can drag and drop.
Merge
PDF report
This button sends your text to the server. Everything else on this page runs in your browser and your text goes nowhere; the PDF is the one exception, because the document is built on the server. The text you send is not stored: the report is generated, then dropped from memory, and it is never written to a log.
What gets compared
Elements, attributes and non-empty text nodes are handled separately. Text nodes that contain nothing but whitespace are skipped: indentation carries no meaning in XML, and counting every indentation change as a difference would be noise.
Sibling order
Child elements are matched in order. Sibling order can be meaningful in XML — the items of a list, for instance — so it is preserved.
Security
Parsing happens in your browser and external entities are not resolved. Because your document never reaches a server, there is no server-side XXE risk to begin with.
Other comparison tools
- Text compare — the difference between two texts
- Code compare — source files, patch output
- JSON compare — field by field
- XML compare — elements and attributes
- File compare — TXT, CSV, code, JSON, XML, DOCX