Developer tools / Local processing

JSON Compare

Compare two JSON values by their structure and properties.

How to use JSON Compare

  1. Paste the original JSON and the updated JSON in the two input panels, or choose a JSON file for the original.
  2. Select Compare JSON documents. Both inputs are parsed, so whitespace and object-key order do not count as changes.
  3. Review each added, removed, or changed value at its JSON Pointer path, then download json-differences.json. Array entries are compared by index.

What this tool does

Array order and value types affect the differences reported.

Example

Compare {"user":{"name":"Ari"}} with {"user":{"name":"Ari","active":true}} to see an added value at /user/active.

Frequently asked questions

Does property order affect the comparison?

No. The documents are parsed as JSON objects, so key order and formatting whitespace are ignored.

How are arrays compared?

Array entries are compared by their index. Reordering items can therefore appear as value changes rather than matched records.

Privacy

Your input is processed in your browser. This version does not send document content to a conversion server and includes no advertising or analytics scripts. Loading the website requires a network connection.

Operator: Francescco Pernice Botta. Contact: klabindustries.hq@gmail.com.

Terms

Use this tool only with content you are allowed to process. Check the result before relying on it.

Contact

Operator: Francescco Pernice Botta. Contact: klabindustries.hq@gmail.com.