Jun

22

Compare Two Files Using Notepad++

Posted by 7 Comments

If you need to compare the contents of two files Notepad++ has a great plugin for doing just that. Begin by opening the Plugin Manager from the Plugins menu:

 

Next select the Compare plugin and click Install:

 

Now open both of the files you would like to compare as two separate tabs in Notepad++. Then from the Plugins menu selecct Compare -> Compare (or use the shortcut Alt+D):

 

Your two files will now be opened side-by-side with conflicting lines highlighted. You can use the blue arrows on the toolbar to navigate between each alert.

Category: Development

  • Sena Munasinghe

    I love this feature and used it quite a lot. But now it’s not working for some time.
    It does not highlight differences.

    Notepad++ version 6.1.5
    Compare plug-in version 1.5.6

    Thanks for any ideas.

    Sena

  • Nathan

    Looks like you might be a couple versions behind, have you tried upgrading? 6.3 is the latest version which appears to be working fine.

  • HarizHaran

    Thank you for this.. This is what exactly what i’m looking for. Your screen shot explanations are able to understand easily.

  • Peter

    I don’t have a plug-ins menu.

    • http://www.technicaloverload.com/ Nathan

      What version of Notepad++ do you have?

  • KR Rayberry

    Just a FYI, the Compare feature didn’t come with my download of Notepad++. I needed to download it from SourceForge and add the dll to my plugins directory.

  • Ronnin

    @Peter
    Settings>Import>Import Plugin(s)