Text Compare

Paste the original text on the left and the new version on the right. Changed lines are shown side by side with the exact words highlighted.

How to read the result

Each row pairs a line of the original with the matching line of the new text. Red marks text that was removed, green marks text that was added. When a line was edited, the exact words that changed are highlighted inside it.

The comparison finds the longest run of lines the two texts have in common, the same method used by programmers' diff tools, so moved paragraphs and inserted lines line up correctly.

Uses

  • Check what an editor or coworker changed in a document.
  • Compare two versions of a contract, essay or email.
  • Spot changes in configuration files, lists or code snippets.

Frequently asked questions

Are my texts uploaded?

No. The comparison runs in your browser, so you can safely compare private or confidential text.

Can I compare Word or PDF files?

Copy the text out of the document and paste it into the two boxes. Formatting such as bold or fonts is not compared, only the text.

Why is a whole line marked as changed?

If almost every word in a line changed, the line is shown as removed and re-added. Turn on "Ignore extra spaces" if the only difference is spacing.