If you’ve ever needed to compare two text files you’ll know it can be tedious – but what you may not know is Notepad++ can do this, and do it quite well.
If you’re not already familiar with Notepad++, it is a text editor designed for coding. Amongst it’s many benefits, this small piece of software has big features, such as allowing you to view code with colour styling and line numbers to make the code easier to read and debug.
How to compare two text files using Notepad++
These insturctions have been written for Notepad++ v6.3.
- Open Notepad++
- Click on the ‘Plugins’ menu at the top of the screen
- Click on ‘Plugin Manager’ then ‘Show Plugin Manager’
- A list of available plugins will appear – if it does not you need to check your Internet connection. If you are behind a proxy server you will need to enter the details in the ‘Settings’ section (button at the bottom left of window).
- Scroll down until you see ‘Compare’
- Place a tick next to the name then click on the ‘Install’ button
- Once the plugin is installed you will be prompted to restart Notepad++
- Click ‘Yes’ to finish the install.
- Now that the plugin has been installed, open two files
- Click on the ‘Plugins’ menu then ‘Compare’ and ‘Compare’ again
- The files will be displayed, side by side, with the differences highlighted