Compare two texts and see, line by line, what was added and what was taken away. Long runs of identical lines are folded so you only see what changed and the context around it.
The comparison uses the longest common subsequence, the same criterion as the diff you already know, so the results look like what your version control shows.
How to use it
- Paste the original on the left.
- Paste the new one on the right.
- Adjust the context lines if you want more or less.
Frequently asked questions
- Is anything uploaded?
- No. The comparison happens in the tab, which makes it fit for contracts, logs and any text you should not be pasting into an online service.
- Why does it say there are too many lines?
- The algorithm needs a table proportional to the product of the two lengths. Past a few million cells it stops on purpose rather than hang the tab.
- Does it find changes within a line?
- Not yet: a modified line shows as one line removed and one added.
Related tools
Minify CSSCSSO: it restructures and merges rules, not just strips spaces.
Minify JavaScriptTerser in the browser, with optional name mangling.
Count words and charactersA live count, reading time and the limits each platform imposes.
Change letter caseUPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
Sort and clean up linesSort, drop duplicates and blanks, number or reverse a list.