Free Text Diff Checker

Compare two blocks of text and see exactly what changed — no sign up, nothing uploaded.

No account neededProcessed locallyInstant results
2 lines added2 lines removed

Result

The quick brown fox
Removed: jumps over the lazy dog.
Removed: The end.
Added: jumps over the sleepy dog.
Added: The very end.

Lines are compared one by one. Inside a line that was changed, the words that differ are highlighted.

Spot exactly what changed, without reading line by line

Manually comparing two versions of a document by eye is slow and genuinely error-prone — it's easy to miss a small but important change buried in an otherwise identical paragraph. This tool does the comparison instantly, highlighting exactly which lines were added and which were removed, entirely inside your browser.

Using it

  1. Paste the original text into the left box.
  2. Paste the changed version into the right box.
  3. Read the result instantly. It updates as you type. Optionally ignore upper/lower case or extra spaces, show only the changed lines, or swap the two sides.

How the comparison actually decides what changed

This tool finds the longest sequence of lines that appears, in the same order, in both versions of your text — this is a well-established computer science approach called the longest common subsequence. Everything outside that shared sequence gets marked as either added or removed. Concretely: if the original has lines A, B, C, D and the new version has A, B, X, D, the algorithm recognizes A, B, and D as the unchanged shared backbone, and correctly identifies just C as removed and X as added — rather than naively concluding everything after B changed. This same fundamental approach is what powers version control systems like Git when showing you what changed in a file.

Common uses

  • Comparing two drafts of a contract to spot exactly what a revision changed.
  • Checking two versions of an essay or article before submitting the final one.
  • Reviewing a small code change without a full version control setup.
  • Confirming a copy-paste or find-and-replace didn't alter more than intended.
  • Checking whether two texts differ only by capital letters or extra spaces, using the ignore options.

Lines first, then words

Changes are found at the line level first, because that is how most people think about edits to a document: "this paragraph was rewritten". Inside a line that was changed, the words that differ are then highlighted, so a one-word edit is easy to spot without proofreading the whole line. If the pasted texts are very large and very different, the tool asks you to compare a smaller section instead of freezing your browser.

Pairs well with

Comparing formatted text? Run each version through the Text Case Converter first if inconsistent casing is cluttering up the diff with false differences.

Frequently asked questions

+Is this text diff checker really free, with no sign up?

Yes. There's no account and no limit on how many comparisons you can run.

+Does it compare word-by-word or line-by-line?

It compares line by line first. A line that changed shows as one removed line and one added line, and the words that differ inside those two lines are highlighted, so you can see the exact edit. Very long lines skip the word highlighting to keep the page fast.

+Can I compare code, not just prose?

Yes — this works on any plain text, including code, configuration files, or structured data.

+Is my text sent anywhere?

No. The comparison runs entirely in your browser — nothing you paste into either box is ever uploaded or logged.

Related tools