Text Diff
Paste two versions of text to see line-by-line additions and removals highlighted in green and red.
How to Use the Text Diff Tool
- Paste your original text into the left panel.
- Paste the modified text into the right panel.
- Click Compare to run the diff.
- Review the output — added lines are shown in green, removed lines in red, and unchanged lines in grey for context.
About the Text Diff Tool
A diff tool compares two versions of a text and shows precisely what was added or removed between them. This is the same concept used by Git's git diff command, code review tools like GitHub and GitLab, and merge conflict resolvers. Common use cases include comparing two versions of a config file, checking what changed between two API responses, reviewing contract or document revisions, and debugging unexpected code changes. The diff runs entirely in your browser using a Myers diff algorithm implementation — your text is never sent to a server.