Writing tool

Text Diff

Compare two versions of text side by side and see exactly what was added, removed, or changed.

Paste text into both editors to compare.

Differences

Original
Changed

Paste text into both editors to compare.

Added Deleted Modified

How to compare two versions accurately

Text Diff is built for revision work: comparing a client's edited paragraph with your draft, checking whether a policy sentence changed, or reviewing two versions of a transcript. Paste the earlier version on the left and the newer version on the right. The result shows added, deleted, and modified lines side by side so you can scan the document without reading both copies from beginning to end.

This is a line-based comparison, meaning a small punctuation or spacing change can make an otherwise identical line appear different. Capitalization, contractions, and trailing spaces also count. We found that cleaning PDF artifacts or inconsistent line breaks before comparing gives a much clearer report, especially with copied email threads and documents exported from word processors.

Modified lines are inferred by pairing nearby deletions and additions; they are not a full sentence-level edit history. For long or heavily rearranged documents, expect some added and deleted blocks rather than a perfect one-to-one match. The comparison runs locally, but very large pasted documents can still be slow because the browser is calculating the differences.

Common ways to use it

Frequently asked questions

Does the tool ignore punctuation or capitalization?

No. Lines must match exactly, aside from Windows and Unix line-ending differences that are normalized automatically. Punctuation, capitalization, and extra spaces can all create a visible difference.

Why is a slightly edited line marked as modified?

The comparison pairs nearby deleted and inserted lines to make small changes easier to read. It uses positional matching, so a heavily reordered document may produce modified pairs that do not follow the original document flow.

Is there a size limit?

There is no fixed character limit, but the comparison becomes less responsive as the number of lines grows. For a large manuscript, compare one chapter or section at a time.