About the Text Diff Checker
The Text Diff Checker runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.
Spotting what changed between two versions of a text — config, code, contract, prompt — is tedious by eye. This tool performs a line-by-line diff: unchanged lines stay neutral, deletions are marked − and additions +, with counts of each.
How to use this tool
- Paste the original version on the left.
- Paste the modified version on the right.
- Press Compare and read the colour-coded output.
- The header shows how many lines were added and removed.
How line diffing works
The tool computes the longest common subsequence — the biggest set of lines present in both texts in the same order — then marks everything outside it as added or deleted. It is the same principle behind git diff, diff -u and every version-control comparison you have ever used.
Practical uses
- Config reviews: what actually changed between production and staging?
- Contracts: highlight edits between draft versions.
- AI outputs: compare two generations of the same prompt.
- Code reviews: paste old and new function to see the real change.
- SEO meta: compare title/description variants before publishing.
Who is this tool for?
Developers reviewing config changes, editors tracking document revisions, and anyone who has ever played spot-the-difference with two Word documents.
Developer tip
For whitespace-sensitive files, normalize trailing spaces first — invisible differences are the most common false alarm in diffs.