Pages

Topics

Tools

↑↓navigate↵openescclose
Formatting & Data

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.

Presets
Line by line
+7 added-3 removed9 unchanged
OldNewLine
  1. 11{
  2. 22 "name": "ryuslog-api",
  3. 3- "version": "1.3.2",
  4. 3+ "version": "1.4.0",
  5. 44 "scripts": {
  6. 55 "dev": "next dev",
  7. 6- "build": "next build"
  8. 6+ "build": "next build",
  9. 7+ "lint": "eslint ."
  10. 78 },
  11. 89 "dependencies": {
  12. 910 "next": "16.2.10",
  13. 10- "react": "19.2.4"
  14. 11+ "react": "19.2.5"
  15. 12+ },
  16. 13+ "devDependencies": {
  17. 14+ "eslint": "^9"
  18. 1115 }
  19. 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.
All Git guides