Compare text — find differences between two texts (diff)

Quickly spot what changed in a revised contract, config file, or snippet of code. The comparison happens entirely in your browser.

The file is never sent to a server — processed entirely in this browser

Comparison happens entirely in your browser. In side-by-side view, matched lines also highlight the exact characters that changed.

Advertisement

How to use Compare text

  1. 1Paste the original on the left and the revised version on the right.
  2. 2Turn on ignore whitespace/case if needed.
  3. 3See added (green) and removed (red) lines, plus the exact characters that changed. Switches to inline view automatically on narrow screens.

Frequently asked questions

Does this work with very long text?

Can compare up to tens of thousands of lines, but if there are a huge number of differences, it may slow down or switch to an approximate comparison.

Can I compare Word or PDF files too?

Only text is compared. Copy the content from your file and paste it in.

Advertisement