DEV Community

Damon
Damon

Posted on

Two API Responses Look the Same and One of Them Is Wrong

Need to Compare Two JSON Documents?

JSON Compare in the browser

You have two API responses, two config files, or two versions of the same dataset. You need to know what changed — field by field — without reading both files line by line. You could use diff, but JSON is not line-oriented. The same logical change can look like a complete rewrite.

OnliTools JSON Compare

OnliTools JSON Compare compares two JSON documents with field-level highlighting and a concise summary. Paste both JSONs, and it shows you exactly what was added, removed, or changed. All processing happens in your browser.

How to Use It

Working with the controls

  1. Go to onlitools.com/json-compare.
  2. Paste your two JSON documents into the left and right panels.
  3. Review the field-level diff and summary.
  4. Copy the results or export the diff.

Great For

  • Developers — compare API responses before and after a deployment
  • DevOps — audit configuration drift between environments
  • Data engineers — verify dataset changes without writing custom scripts

Wrap Up

The result, ready to use

No script, no install, no upload to a server. OnliTools JSON Compare shows you exactly what changed between two JSON documents in seconds.

Top comments (0)