TextCompareLab for Notepad++

Free plugin, beta

Compare texts online
Beta.Download and installation have been checked by a user. Full feature and compatibility testing is still pending. Save your work and try it on sample text first. Please tell us about any problem.

Compare two tabs in Notepad++

Open two texts in two Notepad++ tabs and compare them line by line. Changed words are highlighted inside each changed line. It works on your computer and sends no text anywhere.

  • Red: line only in the first tab
  • Green: line only in the second tab
  • Yellow: changed line, with orange boxes on the changed words

Also: choose the two tabs from a list, next and previous difference, clear comparison, an option to ignore spaces and tabs, export as a patch file (a standard unified diff, like git) and export as an HTML report that opens in any browser. The HTML report contains the full text of both documents.

Download

Option 1: installer. Beta. Download and installation have been checked by a user. Full feature and compatibility testing is still pending. It is a small Windows program that finds Notepad++, picks the 32-bit, 64-bit or ARM64 plugin file to match it, and copies it into the plugins folder. You start it yourself and Windows may ask for approval; it never closes Notepad++ (close it first and save your work), makes no internet connection and changes no Windows settings. It can also uninstall. The installer is for 64-bit Windows; for 32-bit Windows use the ZIP below. It is not code-signed, so Windows SmartScreen may warn: check that the SHA-256 below matches.

Installer (.exe), betaBeta. Download and installation have been checked by a user. Full feature and compatibility testing is still pending. Windows 64-bit, or Windows on ARM with x64 support. Installs the right plugin for 32-bit, 64-bit or ARM64 Notepad++.SHA-256: 74538e895261e90b942eff664455f6b428ca90321ba549e09d0c2e60ff6b202a
Download

Option 2: ZIP (manual). Most people need the 64-bit version. In Notepad++, open the ? menu, then About Notepad++: it says 64-bit, 32-bit or ARM64.

64-bit (x64)Windows 64-bit with 64-bit Notepad++ (most computers)SHA-256: 9e2527c66f0653d1efba87f2184aeca323062a012adc0b078e653c85f681baab
Download
32-bit (x86)For 32-bit Notepad++SHA-256: 239f8ccf65d95ed2fd0576bb8e9682f7873eb19663291dd65ddb5cd11a9a520b
Download
ARM64Windows on ARM computersSHA-256: 520e423c1d9dc5574292783ab51938263a59edd960a1ae77aaba0623463571cc
Download

Install from the ZIP

  1. Close Notepad++ and unzip the download.
  2. Create the folder C:\Program Files\Notepad++\plugins\TextCompareLab and copy TextCompareLab.dll into it. Windows may ask for administrator approval to copy.
  3. Start Notepad++. The plugin is in the Plugins menu, under TextCompareLab. (A portable Notepad++ uses its own plugins folder.)

Use

  1. Choose Plugins > TextCompareLab > Choose two tabs to compare..., pick the first and the second text from the lists, and press Compare. (Or use 1. Mark this tab as first on one tab and 2. Compare this tab with the first on the other.)
  2. Use Next difference and Previous difference to jump between changes. After editing either text, run step 2 again. Clear comparison removes the highlights.
  3. After a comparison, Export as patch file saves the changes as a unified diff that turns the first text into the second. Apply it to the first file with git apply or patch -p1. Spaces and line endings count in a patch. The patch is only saved when both tabs are UTF-8 or plain ASCII text; for other encodings (such as UTF-16) nothing is saved and a message explains why.
  • Four toolbar buttons (choose tabs, next difference, previous difference, export) and default keys Ctrl+Alt+T, Ctrl+Alt+Down, Ctrl+Alt+Up and Ctrl+Alt+P (export, asks patch or HTML). You can change the keys in Settings > Shortcut Mapper > Plugin commands. Another plugin or your own settings may already use them.
  • After a successful export, the patch opens in a Notepad++ tab and the HTML report opens in your browser, for viewing only.

About the Windows warning

The plugin file is not code-signed, so Windows may show a warning for a downloaded file. Check that the SHA-256 of your zip matches the value shown next to the download. If it does not match, do not use the file.

Open source (GPL)

The plugin is free software under the GNU General Public License, version 2 or later, and is built on the Notepad++ plugin template. The complete source, license text, third-party notices and build script are here:

Source code (zip)GPL v2 or later, with build script and testsSHA-256: 8540d69fa0b59f0eeb6d2129e7f53e9ca8fb3618b2cd0dabd6ab57c2405bd7e7
Download

It is not an official Notepad++ plugin and is not listed in the Notepad++ Plugins Admin.

Other tools