Tools
Paste two versions of a text, config file or code snippet and see every added and removed line highlighted, with a count of the changes. Ignore whitespace or case differences when they are just noise.
Original
Changed
Differences
+4 added · −3 removed
{"name": "danny-tools",Removed: "version": "1.0.0",Added: "version": "1.1.0","private": true,"scripts": {Removed: "dev": "next dev",Removed: "build": "next build"Added: "dev": "next dev --turbo",Added: "build": "next build",Added: "test": "vitest run"}}
Frequently asked questions
- How does the comparison work?
- It finds the longest common subsequence of lines between the two texts, the same idea git diff uses. Lines in that subsequence are unchanged; everything else is marked as removed from the original or added in the new version.
- Is my text uploaded?
- No. The diff is computed in your browser. Nothing is sent to a server, so it is safe to compare configuration files and private notes.
quick question
Was this tool helpful?