Text Diff Checker
Compare two texts or config files line by line and see exactly what was added, removed, or left unchanged.
Runs entirely in your browser — nothing you paste is uploaded.
- 11{
- 22 "name": "ryuslog-api",
- 3- "version": "1.3.2",
- 3+ "version": "1.4.0",
- 44 "scripts": {
- 55 "dev": "next dev",
- 6- "build": "next build"
- 6+ "build": "next build",
- 7+ "lint": "eslint ."
- 78 },
- 89 "dependencies": {
- 910 "next": "16.2.10",
- 10- "react": "19.2.4"
- 11+ "react": "19.2.5"
- 12+ },
- 13+ "devDependencies": {
- 14+ "eslint": "^9"
- 1115 }
- 1216}
Diff reference
quick reference- + line
- A line that exists only in the modified version — what reviewers read first in a pull request.
- - line
- A line that was removed from the original version.
- git diff -w
- Ignores whitespace-only changes such as re-indentation, which keeps the real change visible.
- @@ -1,4 +1,6 @@
- A hunk header: the original range and the modified range that follow it in a unified diff.
- git diff --stat
- Summarizes insertions and deletions per file before you open the full patch.
- LCS
- Diffs are computed on the longest common subsequence of lines, so a moved block shows as removed plus added.
Related Git syntax guides
All Git guidesGit config: Aliases, rerere, and Credential Helpers
Five config scopes decide one value at a time. Aliases are user-level shorthand, rerere records conflict resolutions, and credential helpers choose where your secret lives.
GitGit Hooks: pre-commit, commit-msg, and Husky Automation
Hooks live in .git/hooks, which a clone never receives, so core.hooksPath and Husky are how they travel. Exit codes abort the operation, and every hook is bypassable.
GitGit bisect: Binary Search, Automated Scripts, and Bug Hunting
Mark one bad and one good commit and Git halves the range each step. bisect run automates it through exit codes, and monotonicity is the assumption that must hold.
GitGit ignore: Patterns, Negation, and Untracking Cached Files
Patterns are relative and last match wins, but a negation cannot revive a file inside an excluded directory. Ignore rules never touch tracked files: rm --cached first.