Have a look at File comparison tools, from which I am using WinMerge. It has an ability to compare XML documents (you may wish to enable DisplayXMLFiles prefilter for v2.14.0 or PrettifyXML for v2.16.x).

DisplayXMLFiles.dll - This plugin pretty-prints XML files nicely by inserting tabs and line breaks. This is useful for XML files that do not have line returns in convenient locations.

Note for v2.16.x

The plugin PrettifyXML is supplied with the software package. It can be activated as following:

  • Make sure that Plugins β†’ Plugin Settings β†’ Enable plugins is enabled.
  • Then use either File β†’ Recompare As β†’ Prettify XML or Plugins β†’ Scripts β†’ Prettify XML

For those who wish to play with deprecated DisplayXMLFiles, he needs to download e.g. winmerge-2.16.14-full-src.7z and copy Plugins\dlls\X64\DisplayXMLFiles.dll to WinMerge\MergePlugins\.

See also my feature comparison table.

Answer from dma_k on Stack Overflow
🌐
SemanticDiff
semanticdiff.com β€Ί online-diff β€Ί xml
SemanticDiff - Compare XML Online
Compare two XML files in your browser using our free semantic diff tool. See how values and attributes differ while ignoring formatting changes.
Discussions

Are there any free Xml Diff/Merge tools available? - Stack Overflow
I was about to begin doing it manually as I usually do, however thought there must be an XML diff GUI tool available somewhere. The tool would be able to go to the element level to compare and display the differences etc. More on stackoverflow.com
🌐 stackoverflow.com
XML files comparison / diff?
Beyond compare software is perfect for this More on reddit.com
🌐 r/sysadmin
9
4
November 25, 2020
diff - How to compare XML files - Stack Overflow
I have two XML files (XSD) which are generated by some tool. The tool doesn't preserve the order of elements so although the content is equal comparing it as text will result as the files are diffe... More on stackoverflow.com
🌐 stackoverflow.com
How can I compare two XML files and assert they are the same, except for an attribute I have chosen to ignore?
I would use an XSLT transformation to remove the filtered attribute and compare the result to the other file’s contents. More on reddit.com
🌐 r/csharp
6
3
February 12, 2018
🌐
TextCompare
textcompare.org
Online Text Compare Tool
Compare XML, JSON & YAML by values Β· FeatureFeb 3, 2025 Β· Added ability to swap between original and modified text. ProductFeaturesPricingDownloadsChangelog Β· CompanyBlogAboutContact UsTerms & ConditionsPrivacy Policy Β· OthersReadabilitLuxaUnZiperImageToolsFileConverts Β·
🌐
CoreFiling
corefiling.com β€Ί home β€Ί open source tools β€Ί xml comparison tool
Free Online XML Comparison Tool
June 20, 2025 - CoreFiling XML Differences uses XML Pretty Printer and diff to display differences between XML files in an easy-to-read format.
🌐
Altova
altova.com β€Ί xmlspy-xml-editor β€Ί compare-xml
Compare XML Files | Altova
It allows you to compare two XML files as well as to compare three XML files.
Find elsewhere
🌐
Xlcompare
xlcompare.com β€Ί compare-xml-files.html
Compare XML Files Online. Free. No Upload. Get the Semantic XML diffs.
October 3, 2009 - Compare two XML docs and get the difference online. Drop your files on this page and get the highlighted diffs. Get semantic XML differences by comparing XML documents with key nodes and attributes.
Top answer
1 of 11
36

Have a look at File comparison tools, from which I am using WinMerge. It has an ability to compare XML documents (you may wish to enable DisplayXMLFiles prefilter for v2.14.0 or PrettifyXML for v2.16.x).

DisplayXMLFiles.dll - This plugin pretty-prints XML files nicely by inserting tabs and line breaks. This is useful for XML files that do not have line returns in convenient locations.

Note for v2.16.x

The plugin PrettifyXML is supplied with the software package. It can be activated as following:

  • Make sure that Plugins β†’ Plugin Settings β†’ Enable plugins is enabled.
  • Then use either File β†’ Recompare As β†’ Prettify XML or Plugins β†’ Scripts β†’ Prettify XML

For those who wish to play with deprecated DisplayXMLFiles, he needs to download e.g. winmerge-2.16.14-full-src.7z and copy Plugins\dlls\X64\DisplayXMLFiles.dll to WinMerge\MergePlugins\.

See also my feature comparison table.

2 of 11
22

I wrote and released a Windows application that specifically solves the problem of comparing and merging XML files.

Project: Merge can perform two and three way comparisons and merges of any XML file (where two of the files are considered to be independent revisions of a common base file). You can instruct it to identify elements within the input files by attribute values, or the content of child elements, among other things.

It is fully controllable via the command line and can also generate text reports containing the differences between the files.

🌐
Online Text Compare
onlinetextcompare.com β€Ί xml
Compare XML files online
This tool lets you compare the differences between two XML queries.
🌐
TextCompare
textcompare.org β€Ί xml
Online Xml Compare Tool
Just click Compare button to view side by side comparison. View the differences highlighted in colors. Privacy: This tool does all the processing on your browser, so nothing is saved on our server unless you choose to save.
🌐
Liquid Technologies
liquid-technologies.com β€Ί Reference β€Ί XmlStudio β€Ί Data_Differencing_Comparing_Xml_Files.html
Comparing XML Files
When the XML Diff Tool is selected, the application will attempt to open the files as XML documents and use the XML Differencing Engine to compare them.
🌐
Oxygen XML
oxygenxml.com β€Ί xml_diff_and_merge.html
Oxygen Compare and Merge Tools
Oxygen provides a simple means of performing file and folder comparisons. The complete XML diff and merge solution offers directory, file, 3-way, and XML fragment comparisons, six different algorithms, and multiple levels of comparison.
🌐
Micromine
webhelp.micromine.com β€Ί spry β€Ί latest β€Ί English β€Ί Content β€Ί spdata β€Ί IDH_XML_COMPARISON_TABLE.htm
XML Comparison Tool (Table)
The XML Comparison Tool is used to compare the structural and data differences between selected data tables and/or files.
🌐
Diffchecker
diffchecker.com
Compare text and find differences online or offline - Diffchecker
Compare text, files, and code (e.g. json, xml) to find differences with Diffchecker online for free! Use our desktop app for private, offline diffs.
🌐
ExtendsClass
extendsclass.com β€Ί xml-diff.html
XML diff - Compare xml online
Copy and paste, drag and drop a XML file or directly type in the editors above, and then click on "Compare" button they will be compared if the two XML are valids. You can also click on "load XML from URL" button to load your XML data from a URL (Must be https).