Text & JSON Diff Viewer
Original (Before) TEXT
Modified (After) TEXT
Sample comparison loaded. Click 'Compare Diff' to view changes.
Compare Text and JSON with Confidence
Whether debugging API payload changes, reviewing config files, or inspecting prose modifications, the Diff Viewer gives you precision at line level.
Semantic JSON SortingWhen enabled, JSON keys are sorted alphabetically before comparison. This prevents false positives caused solely by reordered keys in your objects.
100% Client-Side PrivacyYour sensitive tokens, secret configs, and proprietary code never touch our servers. All diff calculations run locally in your browser.
How to use Diff Viewer
- Paste the original text on one side and the changed version on the other.
- Choose text or JSON comparison and adjust whitespace or case options.
- Review additions and removals in the side-by-side or unified result.
Try an example
Compare an API response before and after changing a field from draft to published.
Highlighted differences between the two inputs. Comparison does not merge the documents or decide which version is correct.
What to know before using Diff Viewer
Paste the original and changed text into the two editors. Choose your comparison settings and inspect additions and deletions in the result.