It often happens, when you have to work with a lot of data, to need to know differences between two sets of text data.
A simple solution to know quickly if data set look alike or not, or to have an overview of different lines, is to use Notepad++ text editor as a text file compare tool with an extra plugin, that can be easily installed from the Plugin Manager. It even works to compare two XML files!
You will also have to install Compare plugin. To do so, go on SourceForge, and download the latest plugin version. You then just have to extract downloaded archive in your Notepad++ installation folder.
Then, open your 1st file, and the second one, using Notepad++ text editor, and when the two files you want to compare will be the two last files open in the software, start comparison with Plugin => Compare => Compare, or keyboard shortcut Alt+D.
It is also possible with Notepad++ tool to compare two xml files. Simply follow previous steps, which are Notepad++ compare plugin install, open xml file in Notepad plus plus, and comparing them using the menu Notepad++ Plugins Compare.
XML comparison in Notepad++ will be done instantly for free, showing the lines removed, the lines added, the text modified in same line. Notepad plus plus probably is the best XML editor as it works also as an XML formatter, and is a great XML editor for windows 10.
This is how to edit XML files in notepad, but also how to save xml file in notepad.
Compare two text files in Notepad++ to compare XML files, by having both tabs open, and using the menu Plugins > Compare > Compare.
This will result in both files being shown one next to the other, will all differences found in the XML comparison highlighted.
How to check difference between two files in notepad++?
In order to compare files in NotePad++, use the plugin compare to check the differences between two files, which have to be opened as text files, such as XML files, HTML files, CSV files, or other text files to compare.
How to install compare plugin for Notepad++?
Download the latest compare plugin from SourceForge, and extract it in the Notepad++ plugin installation folder, usually located at “C:\Program Files (x86)\Notepad++\plugins”, and restart Notepad++ program to compare two files using the menu Plugins > Compare > Compare.