How to compare files using Notepad++

Many developers use Notepad++ as a quick and easy editor, but what many don’t know if that you can install plugins to add functionality, such as comparing two files.

The steps below detail how to install the plugin.

  1. First, open Notepad++
  2. Click on the ‘Plugins’ menu then ‘Plugin Manager’ and ‘Plugin Manager’ again
  3. NotepadPlus-Compare1
  4. From here you should see a list of the available plugins, if you do not check your internet connection – or if your internet connection required a proxy server click the ‘Settings’ and enter the details required.
  5. Find and select ‘Compare’ in the list
  6. Then click ‘Install’
  7. NotepadPlus-Compare2
  8. When prompted, click ‘Yes’ to restart Notepad++
  9. Now open the two files you want to compare
  10. Click on the ‘Plugins’ menu then ‘Compare’ and ‘Compare’ again
  11. You will now have a side by side comparison of the two files, with a summary diagram to the right.
  12. You can use the blue arrows in the toolbar to switch to each difference identified.
  13. NotepadPlus-Compare3

Was this article helpful?

Related Articles