Text & JSON Diff Viewer

Processed in your browser
Original (Before) TEXT
Modified (After) TEXT

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

  1. Paste the original text on one side and the changed version on the other.
  2. Choose text or JSON comparison and adjust whitespace or case options.
  3. 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.