Skip to content

JSON Diff / Compare

Paste two JSON objects to see the differences between them. Get a structured list of additions, deletions, and changes with full JSONPath locations. Useful for comparing API responses, config files, or database records.

Required
Required
Advanced options
Optional

Ignore element ordering when comparing arrays

Get an API key to automate this

Result


                    

Code snippets


                                                

                                                

                                                

                                            

What this tool checks

  • Additions, deletions, and changes detected
  • Full JSONPath for each change location
  • Deep nested object comparison
  • Array comparison (ordered and unordered)
  • Old and new values shown for changes
  • Summary with change counts

Automate this with the API

Run this tool programmatically from your code. Get a free temporary API key with 20 requests/day — or register for 75 requests/day.

curl https://apixies.io/api/v1/json-diff?original=... \ -H "X-API-Key: YOUR_API_KEY"

Frequently asked questions

How are arrays compared?
By default, arrays are compared by position (index 0 vs index 0, etc.). Enable "Ignore Array Order" to sort arrays before comparing, which treats [1,2,3] and [3,1,2] as identical.
What is JSONPath notation?
JSONPath uses dot notation to describe the location of a value. For example, $.user.name means the "name" field inside the "user" object at the root level.
Can I compare deeply nested objects?
Yes. The diff algorithm recursively walks both JSON trees and detects changes at any depth. Each change includes the full path from root to the changed field.

We use cookies for analytics to understand how our site is used. Privacy Policy