Skip to content

JSON diff

Compare two JSON files or objects and see every added, removed and changed value.

Runs in your browser. Nothing is uploaded.

Paste two JSON documents to compare them.

About JSON diff

Paste two JSON documents to see exactly what changed, by path: values added, removed or changed, and type changes. Key order and formatting are ignored, so only real differences show up. Useful for API responses, configs and test fixtures.

Questions

Does key order matter?
No. Objects are compared by key, so {"a":1,"b":2} and {"b":2,"a":1} are equal. Array order does matter, because it does in JSON.
Can it ignore array order?
Yes. Turn on “Ignore array order” to treat arrays as equal when they hold the same items in any order.
How is this different from a text diff?
A text diff compares lines, so reformatting or reordering keys shows up as changes. JSON diff parses both documents and compares values, so it reports only what actually changed, with the path to each change. For plain text or code, use the text diff.
Is it free? Is my data private?
Yes to both. There is no sign-up and no limit, and everything runs on your device, so your data never reaches our servers.

More tools