Original (A)
Modified (B)
Frequently asked questions
What is JSON diff?
JSON diff compares two JSON objects and highlights every difference — added keys, removed keys, and changed values. It is useful when debugging API response changes, comparing configuration files, or reviewing data migrations.
How is JSON diff different from plain text diff?
Plain text diff compares line by line, so reformatting JSON (adding spaces, reordering keys) shows as a change even when the data is identical. JSON diff understands structure, so it only flags actual data changes regardless of formatting or key order.
When would I use JSON diff?
Common use cases: comparing an API response before and after a code change, diffing two config files, checking what changed between two versions of a database record, or verifying a data transformation produced the expected output.