How to compare contents of 2 text files with Notepad ++

In many cases, we need to check the content between two text files. However, checking each word by eye only takes a lot of time and is inefficient, easy to miss. To solve that problem, I would like to introduce you how to compare the content of 2 text files (text or source code) with Notepad ++

In many cases, we need to check the content between two text files. However, checking each word by eye only takes a lot of time and is inefficient, easy to miss. To solve that problem, I would like to introduce you how to compare the content of 2 text files (text or source code) with Notepad ++ extremely simple and fast.

How to compare contents of 2 text files with Notepad ++ Picture 1How to compare contents of 2 text files with Notepad ++ Picture 1

Download and install Notepad ++

Notepad ++ is a free source code editor and an alternative to regular Notepad. Besides IDE software, Notepad ++ is also an indispensable editor in the programmer's computer because of its convenience and versatility, even many non-programmers use the software. this.

You can download Notepad ++ here: Download Notepad ++ (note the correct version selected for your operating system).

After downloading, run the file and install it. The installation is very simple and fast, just click Next - Next is done, except for choosing the installation directory of your choice.

Compare the contents of 2 text files with Notepad ++

OK, now let's get to the main point. To compare and compare 2 text files (text or source code) in Notepad ++, you manipulate as follows:

Step 1: Open Notepad ++. Click on Plugins on the Menu bar, select Plugins Admin .

How to compare contents of 2 text files with Notepad ++ Picture 2How to compare contents of 2 text files with Notepad ++ Picture 2

Step 2: Select Compare and then click Install to install.

How to compare contents of 2 text files with Notepad ++ Picture 3How to compare contents of 2 text files with Notepad ++ Picture 3

A confirmation message appears, select Yes .

How to compare contents of 2 text files with Notepad ++ Picture 4How to compare contents of 2 text files with Notepad ++ Picture 4

Step 3: The program will automatically restart. Then open 2 text files to compare with Notepad ++.

How to compare contents of 2 text files with Notepad ++ Picture 5How to compare contents of 2 text files with Notepad ++ Picture 5

Step 4: Click Plugins on Menu bar, select Compare > Compare .

How to compare contents of 2 text files with Notepad ++ Picture 6How to compare contents of 2 text files with Notepad ++ Picture 6

At this point, both text files will be displayed next to each other and the lines with differences will be colored to highlight. The scroll bars are also synchronized, so you can easily compare them. In addition, you can quickly navigate between differences with the arrow buttons on the toolbar.

How to compare contents of 2 text files with Notepad ++ Picture 7How to compare contents of 2 text files with Notepad ++ Picture 7

* Tip: You can customize the color to highlight the differences by clicking Plugins > Compare > Settings . , then change the color in the section Change highlight (mark the difference) or Changed line (mark the difference) then press OK .

How to compare contents of 2 text files with Notepad ++ Picture 8How to compare contents of 2 text files with Notepad ++ Picture 8

How to compare contents of 2 text files with Notepad ++ Picture 9How to compare contents of 2 text files with Notepad ++ Picture 9

It is done! I have detailed instructions for you to compare the content of 2 text files with Notepad ++. I wish you successful implementation!

3.8 ★ | 6 Vote