Text tool

Text Diff Tool

Review a local, line-oriented comparison of two drafts.

For responsiveness, each side is limited to its first 500 lines.

Line diff (+ added, − removed)

How the text diff tool works

Compare two texts line by line and identify changed, added, and removed lines.

A longest-common-subsequence comparison aligns unchanged lines and marks unmatched lines as additions or removals.

Changing line two from 'blue' to 'green' reports one removal and one addition.

Assumptions and limitations

This is a line diff rather than a character-level diff. Very large documents are capped to protect browser responsiveness.

Inputs and results stay in your browser. Blank, invalid, or mathematically undefined inputs show a clean placeholder instead of a broken number.

Practical use

Use this text tool to explore scenarios quickly, then verify important decisions against the original source data or requirements.

Frequently asked questions

Does the text diff tool send my data anywhere?

No. It runs client-side in your browser and makes no network requests.

Why is the result blank or shown as a dash?

One or more inputs are blank, outside the accepted range, or would make the calculation undefined. Check the labels and enter finite values.

Can I use decimal values?

Yes, where decimals are meaningful. Counts that represent whole items may require integers.