fixmint
EN

Compare two JSON documents

Paste the before and after JSON. Key order is ignored, and changes are listed by path.

  • Runs on your device
  • No sign-up
  • Works offline after a visit
0added
0removed
0changed
0type changes
0moved

How to compare two JSON documents

  1. Paste the old JSON in Before and the new JSON in After.
  2. Choose how arrays are matched, and ignore keys like timestamps if you want.
  3. Read the changes, or copy the JSON Patch that turns Before into After.

Questions

Does the order of keys matter?

No. Two objects with the same keys and values are the same, whatever order the keys are written in.

How are arrays compared?

With “Match array items by key” on, items are matched by an id, _id, key, uuid or name field, so an inserted item shows as one addition and a moved item as a move. Turn it off to compare items by position.

What is a JSON Patch?

It is a list of standard operations (RFC 6902) that turns the Before document into the After one. Keys in the paths are escaped the standard way, with ~0 for ~ and ~1 for /.

Can I paste a curl or devtools response?

Yes. If a box starts with HTTP status and header lines, they are removed and only the body is compared.

Reviews

    No reviews yet. Be the first.

    Your rating

    Your email is never shown or kept.

    Read more