Text diff vs JSON diff
Line-oriented diff is fastest for prose and configs; structural JSON diff ignores key order and focuses on data changes.
Text Diff
README edits, .env blocks, logs, code snippets — anything where line breaks and spelling matter.
JSON Diff
API payloads and config JSON where whitespace and key ordering should not create false positives.
Use Text Diff on /tools/text-diff and JSON Diff when both sides are valid JSON objects or arrays.