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.

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

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 .

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

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

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

A confirmation message appears, select Yes .

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

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

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

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

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

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.

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

* 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 .

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

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

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

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile