Compare two files in Notepad++ using the Compare plugin

Install Notepad++'s Compare plugin, open the two files in separate tabs, and run the Compare command to see differences highlighted side-by-side.

What the video covers

Install the Compare plugin from Notepad++ Plugins Admin, open both files in tabs, and run the Compare command to see differences.

Watch the video on YouTube

Step-by-step instructions

  1. Open Plugins Admin
    In Notepad++, go to the top Plugins menu and choose Plugins Admin.
  2. Install the Compare plugin
    In Plugins Admin search for "Compare", check it, and press Install. Notepad++ will restart to complete installation.
  3. Open the two files you want to compare
    Open each file in its own tab in Notepad++ so both are available in the editor.
  4. Run the Compare command
    From the Plugins menu, find the new Compare entry and choose the Compare option while the two file tabs are open; Notepad++ will display the files side-by-side and highlight differences.
  5. Review results
    Scroll through the side-by-side view to inspect highlighted additions, deletions, and changed lines. Use the plugin's navigation or menu options (if present) to jump between differences.

Watch the video

Video thumbnail for Compare two files in Notepad++ using the Compare plugin Play tutorial

Watch on YouTube

Why it matters

Comparing two text files quickly shows additions, deletions and changed lines so you can merge edits or spot differences without manual scanning.

Check your result

After running the Compare command, differences should appear highlighted side-by-side in the Notepad++ window; identical lines remain unhighlighted.

Troubleshooting

If the Compare option does not appear after installation, restart Notepad++ (it usually resets automatically). Re-open Plugins Admin to confirm the Compare plugin is installed. If comparisons still fail, update Notepad++ to the latest stable build and reinstall the plugin.