FeRox Management Consulting GmbH & Co. KG offers you with XML-Compare a free of charge possibility to compare two XML files simply and quickly.
Compared to most other programs, you can not only compare line by line, but optionally define which elements should be compared and/or displayed, and which element should be used as a unique identifier.
The result of the comparison is created as intuitive HTML in the look of a spreadsheet, which can of course also be downloaded and opened in any browser.
Any conventional XML file can be used as the XML base file and XML compare file. Such files are mostly used to exchange data between different systems, or to prepare data in an orderly manner for analysis purposes.
Important notice:
Our example XML files above contain data created with a randomizer program for so-called "Fake Persons". Any similarity to real persons and/or addresses would be purely coincidental.
An XML file is a normal text file which is written in an XML (= Extensible Markup Language) file format and has a logical layout in a directory structure, e.g.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <personlist> <person ID="P20000101"> <Salutation SalutationType="A1">Mr.</Salutation> <Name>Doe</Name> <FirstName>John</FirstName> <Title /> … </person> <person ID="P20000201"> <Salutation SalutationType="A2">Mrs.</Salutation> <Name>Doe</Name> <FirstName>Jane</FirstName> <Title>Dr.</Title> … </person> … </personlist>
An XML file consists of three important element types:
After uploading the two XML files, a first quick validity and structure analysis is performed. The paths found under the root element are listed, so that you can determine from which top path (= initial element) the two XML files are to be compared with each other.
NOTICE: For an optimal comparison, select an entry-level XML element that is included in both the base and comparison files. All child elements of this selected XML structure element are also compared.
In the above example this is:
Compared to most other programs, you can not only compare line by line, but optionally define which elements should be compared and/or displayed, and which element should be used as a unique identifier.
For example, if your XML file has a date field that indicates when the record was created, you can specify that this field should be listed and displayed, but not affect the comparison result.
By specifying an ID element, it is also possible to determine rows or records that have been changed, added or deleted in the XML comparison file in relation to the XML base file.
In the above example, the unique ID element is:
The result of the comparison is created as intuitive HTML in the look of a spreadsheet, which can of course also be downloaded and opened in any browser.
The result HTML consists of two tabs:
Our example results are:
Comparison | Statistics | |
![]() |
![]() |