JSON Diff
Compare two JSON objects side by side. Highlights added, removed, and modified keys instantly. Free online JSON diff tool, no signup required.
Related tools
Frequently asked questions
What is a JSON diff tool?
A JSON diff tool compares two JSON documents and shows exactly what changed: which keys were added, which were removed, and which values were modified. It's essential for reviewing API response changes, auditing config file updates, or debugging data pipelines.
How does JSON diffing work?
This tool recursively walks both JSON objects simultaneously. For every key, it checks whether it exists in both, only in the original, or only in the modified version. If a key exists in both but the values differ, it's marked as modified. Nested objects are diffed recursively so changes deep in the tree are surfaced.
When do I need to compare two JSON objects?
Common use cases: comparing API responses before and after a code change, reviewing what changed in a configuration between environments (dev vs prod), auditing database record mutations, and verifying that a data transformation produced the expected output.
What do the colors in the diff output mean?
Green rows with a + prefix are keys added in the modified version. Red rows with a − prefix are keys present in the original but removed in the modified version. Amber rows with a ~ prefix show keys that exist in both but whose values changed. Gray rows are unchanged keys (shown at the top level for context).
Does key order matter when comparing JSON?
No. JSON objects are unordered by specification, and this diff tool compares keys regardless of their order. Two objects with the same key-value pairs in a different order will show no differences.