Text Tools · Free tool

Text Diff Checker \u2014 Compare Two Texts Online Free

Paste two versions of a text and see exactly what changed \u2014 lines added, lines removed, and lines that stayed the same. Ideal for drafts, documents, lists and code.

Private: your texts are compared in your browser only — nothing is uploaded to any server.

Private by design: your files and text are processed in your browser on your own device. Nothing is uploaded to a server, no sign-up is needed, and there is no watermark.

About this tool

The diff checker shows exactly what changed between two versions of a text — added lines, removed lines, unchanged lines — side by side with counts. Editors use it to check a revised article, students to compare drafts, and developers to compare configuration files. It works on any text, from a paragraph to a whole document.

How to use the text diff checker

  1. Paste the original text in the left box and the changed text in the right box.
  2. The diff updates live — or press Compare to refresh it immediately.
  3. Read the counts: lines added, removed and unchanged.
  4. Tick "Ignore whitespace" if spacing-only changes should not count, then copy the result summary.

Frequently Asked Questions

Is the text diff checker free?

Yes, completely free with no sign-up and no limits. Paste two texts and the differences appear live as you type.

Is my text private?

Yes. The comparison runs in your browser on your own device. Your texts are never uploaded, stored or shared.

How does it compare the texts?

It compares the two texts line by line using a longest-common-subsequence algorithm: lines that appear in both are unchanged, lines only in the original are shown as removed, and lines only in the changed text are shown as added.

Does it compare word by word?

No — this tool compares line by line, which is best for documents, code, lists and drafts. If you change one word inside a line, that whole line is shown as removed and re-added.

What about very large texts?

Each text is compared up to 2,000 lines. If a text is longer, only the first 2,000 lines are compared and the tool tells you so — split very large texts into smaller parts for a full comparison.

What does Ignore whitespace do?

When ticked, lines that differ only in leading, trailing or extra spaces are treated as unchanged. Useful when comparing text that was re-indented or re-wrapped.

Related Tools

← All free tools