All tools

API Diff

Network

Compare two API responses or JSON payloads side by side

Paste two versions of an API response, either as plain text for a classic line-by-line diff or as JSON for a structural comparison, and see exactly what changed rather than eyeballing two large payloads. In JSON mode both objects get flattened to dot-notation paths and compared value by value, so you get a precise list of fields added, removed, or changed, which is useful for catching a breaking change in a PR that touches a serializer or an integration test comparing a mock against a real response. Arrays are compared by position as whole values rather than recursed into, so a reordered array will show up as changed even when the same items are still present elsewhere. It handles JSON specifically; there's no YAML or XML support, so those need converting to JSON first.

apidiffcomparejson

How to use API Diff

  • 1.Paste two JSON API responses (e.g. before/after a deploy) side by side to see exactly which fields were added, removed, or changed.
  • 2.Use it to catch accidental breaking changes when reviewing a pull request that touches a serializer or response shape.
  • 3.Compare a mocked response against a real one during integration testing to spot subtle type or key mismatches.

Frequently asked questions

Does it care about key order in the JSON?
No, comparison is structural (by key and value), not by raw text order, so reordered-but-otherwise-identical objects show as no difference.
Can it diff arrays where item order changed but content is the same?
Arrays are compared by position by default, so reordered array items will show as changes even if the same items are present — this matters most for lists where order isn't semantically meaningful.
Is my data sent to a server?
No, diffing happens entirely in your browser.
Can I diff YAML or XML responses too?
No, this tool works on JSON only — convert other formats to JSON first if you need to compare them here.

Availability

This tool currently runs in the browser only — no REST API, SDK, or MCP equivalent yet.