Code Robo
Virtual Service
Comparator
Tester
Converter
Utility
Java Code Complience
Validator
Formatter
EncoderDecoder



XML Comparator (XML Diff)
       Talk to EasyAssistant

XML Comparator is used to compare and merge two XML files online and its free! This tool has been built up to compare two XML documents considering each element and attribute values. Just need to provide the XML contents, it will compare and find out the differences.
The XML comparator supports XML namespaces fully. The declarations of XML namespace need to be explicit and on the root XML element level.if xml name space defined in other elements, it copied the namespace decleration at the root level and then compare in the documents.It supports default namespace also.

Its not a text compare. It mainly compare elements and attributes from both the XMLs.
Click Here To Watch A Demo On It(https://youtu.be/grECgKDbeuw).

Using this tool you can do the following.
  1. Compare two XML files
  2. Merge two XML Files
  3. Summary of changes. Mainly the XPaths which got changed.
  4. Show the differences with color code. Which help you to visualize the difference easily
It provides following options to compare.
  1. Sorting and comparing
  2. Comparing XML ignoring comments
  3. Comparing XML ignoring element and attribute values from both the XMLs. It is XML structure comparasion.
XML1:(* Required): It is required.   XML2:(* Required only for 'Test XPath'): It is required.
 
Remove Comments Sort XML Before Compare Compare Ignoring Element And Attribute Values
Ignore This Specific Elements    Ignore This Specific Attribute
(Please add attribute / element name ';' separated )
Ignore above specific values only    Ignore Specific entire elements / attributes
Show Changed Values Only Show Only Summary Of Changes
XML Examples:

All of the examples use the following sample XML code.
XML 1:
XML 2

How It Works:
First it analyze both the XML file content. Check the precoditions before compare. Once preconditions are pased, it copare the attribute values and element values in both the XMLs. It cheks for new element and attribute also. It detects if any element / attribute is deleted from XMl2. Mark the differences with various colors. Red means deleted. Green means added. Blue means modified.
Pre Conditions:
  1. Both XML needs to be well formed
  2. Root element name of both the XMLS has to be same.
Steps To Execute:
  1. Add first XML content in the first text area.
  2. Add 2nd XML content in the 2nd text area.
  3. Click on the compare XML button
User Comments:
Shilpa Jha(2022-04-16):
It's not working properly when we are having repetitive element in the XML.
    Reply;
easycodeforall: (2022-04-21)
Please select the Sorting option to get the better result. You may try the text comparator with sorted XML.. Some cases it will give you very good result.
    Reply

Arti Arora(2022-04-16):
Thanks for making XML comparator available online FREE! Can you please provide a tool to merge XML documents online! ofcourseFree!!!
    Reply;


Post Your Comment:
Name :
Email ( Optional) :
Comments / Suggestion (* Required) It is required: :
: