Free · Private · In-Browser

JSON Diff

Compare two JSON objects and list changed paths locally.

Output
 

Compare two JSON objects

Spotting what changed between two JSON payloads — an API response before and after, two config versions — is painful by eye because formatting and key order get in the way. This tool compares two objects and lists exactly which paths changed.

A path-level diff cuts through the noise: instead of scanning braces, you see that user.role changed or a field was removed. Paste both objects and get a clear list of differences, ideal for debugging APIs and reviewing config edits.

Real changes, locally

It compares values by key rather than by formatting, so reordered or reindented JSON does not show as a change. Both payloads stay in your browser and are never uploaded.

Frequently asked questions

How does the JSON diff work?

It walks both objects key by key and lists each path that was added, removed, or changed, like user.email: "a" -> "b".

Does key order matter?

No. Objects are compared by key, so the same keys in a different order are not reported as changes.

What if my JSON is invalid?

Both sides must be valid JSON. Run them through a formatter first if a comparison fails.

Take it further
Developer Tools

Practical utilities for everyday web development work.

Learn more