Notepad++ is the most popular Text Editor for the Windows operating system, one of its widely used features of it is text compare. You can compare two text files (be it XML, JSON, CSV, Java, Python, HTML, JavaScript, CSS code, any text file) to know if they are identical, do they have something missing, what is the difference between the two files.
If you do not see the Compare tool under the Plugins menu, then you would need to install it using the Plugin Admin (Manager) - follow this tutorial to install it - https://code2care.org/q/notepad-plus-plus-compare-option-unavailable
How to compare two files in Notepad++
- Open Notepad++,
- Open your 1st file you want to compare,
- Open your 2nd file you want to compare,
- If you have multiple tabs open, be on the 1st file and go to Plugins -> Compare -> Set as first to compare.
- Now go the 2nd file tab and goto Plugins -> Compare -> Compare.
- You should be able to see the files compared with the differences.

As you can see in the above example, as soon as you click on Compare, the Notepad++ Window is split into two half with files side-by-side to show how the two files are different.

In the next example, we have auto arranged to match files line-by-line and you can see various colors and icons to represent the missing line, extra line, and line that varies a bit - you can check it out under Compare -> Settings.


Set as First to Compare: Ctrl+Alt+1
Compare: Ctrl+AIt+C
Clear Active Compare: Ctrl+Alt+X
Clear All Compares: CtrI+ Alt+ Shift + X
Diff since last Save: Ctrl+Alt+D
SVN Diff: Ctrl+Alt+V
Git Diff: Ctrl+Alt+G
Ignore Spaces
Detect Moves
Navigation Bar
Previous: Alt+ Page up
Next: Alt+Page down
First: Ctrl+Alt+ Page up
Last: Ctrl+Alt+Page down
Comments:
- Thank you! Was looking it.
11 Apr 2022 11:21:21 GMT
- Further comments disabled!
- [Solution] Notepad++ Compare option unavailable
- How to delete all text after a character or string in Notepad++
- Notepad++ hex editor Examples
- Add Custom header and footer to Windows Notepad file
- Unable to edit file in Notepad++
- Locate Notepad++ unsaved files backup location
- Add Text at Start and End of Each Line Notepad++
- [Tutorial] How to Customize Notepad++ Toolbar
- How to hide lines in Notepad++
- How to close all tabs of Notepad++?
- Notepad++ Save Failed - Please check if this file is opened in another program.
- How to connect to an FTP or SFTP location using Notepad++
- How to add or remove bookmark on a line in Notepad++
- Enabling Notepad++ Dark Theme
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- Prettify JSON in Notepad++
- Portable Notepad++ for windows
- Alternatives for Notepad++ on Mac in 2021
- Indent XML Formatting In Notepad++
- Go to Line Number option in Windows Notepad
- Word count in Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- [Nopepad++] How to add text at end of each line
- How to open a new tab in Notepad++
- How to open Notepad?
- SharePoint update append Required Field to display name of mandatory columns - SharePoint
- How to repeat background image in Android Activity - Android
- The author stylesheet specified in tag script is too long - document contains 21759 bytes whereas the limit is 10000 bytes - Html
- How to delete SharePoint Online List Item using REST API - SharePoint
- Microsoft Stream - This may not be for you, It looks like you don't have permission to watch this video - Microsoft