Skip to content

Text Compare — Find the Differences Between Two Texts

Paste two versions of a text and see exactly what changed, highlighted word by word, line by line or character by character. Free, instant and private — nothing is uploaded.

Differences

Paste text into both boxes to see the differences.

How to compare two texts

  1. Paste the original version into the left box and the changed version into the right one.
  2. Choose how to compare: by words, lines or characters.
  3. Read the result: removed text is struck through in red, added text is highlighted in green.

The comparison updates as you type, so you can also paste once and then edit either side to see how the differences change.

What people use a diff checker for

  • Contracts — checking what the other side changed in a “final” version before you sign.
  • Editing — seeing exactly what an editor, a colleague or an AI tool rewrote in your draft.
  • Code and configuration — comparing two versions of a file when version control isn't available.
  • Data — finding the one row that differs between two exports of the same list.
  • Plagiarism checks — spotting how closely a text follows a source it claims to paraphrase.

How the comparison works

The tool finds the longest run of content the two texts have in common, then reports everything outside it as an addition or a removal — the same approach used by programmers' version control systems. It finds the smallest set of changes that turns one text into the other, which is why a moved sentence shows up as one removal plus one addition rather than as a move.

Because it runs entirely in your browser, there is no upload limit and nothing is kept. That matters more for comparisons than most tools: the texts people compare are usually the sensitive ones — contracts, drafts and code.

Frequently asked questions

Which comparison mode should I use?

Words suits prose — articles, contracts, essays — because it shows exactly which words were swapped. Lines suits code, lists, configuration files and CSV data, where each line is a unit. Characters is for spotting tiny changes such as a single digit in a reference number, or a comma moved in a sentence.

Is my text uploaded anywhere?

No. The comparison runs in your browser, so it is safe for contracts, unpublished drafts and code under NDA. Nothing is saved: reload the page and both boxes are empty.

Can it compare Word documents or PDFs?

Not directly — it compares plain text. Open each document, select all, copy and paste the text into the two boxes. Formatting such as bold or font changes won't be compared, but every change to the words will.

What does “ignore spacing” do?

In line mode it treats lines as equal when they differ only in spaces or tabs — useful when one version was re-indented or had trailing spaces removed, and you only care about real content changes.

Last updated September 25, 2026