JSON Compare

Compare two JSON documents and see added, removed, or changed keys and values in a structured view.

Files and content are processed locally in your browser and are not uploaded to our server.

About this tool

Paste two JSON documents to compare their structure and values. The result shows added or removed keys, value changes, and type differences in an expandable view instead of comparing only the raw text.

How to use

  1. Compare JSON by structure and value
  2. Show added, removed, and changed keys
  3. Highlight type changes
  4. Expand or collapse nested results
  5. Report syntax errors separately for each side
  6. Paste left and right JSON: Enter baseline and candidate JSON in both panels.
  7. Run compare: Click Compare to build the structured comparison.
  8. Inspect changes: Expand nodes to see exact paths and value differences.

Examples

Limitations

FAQ

How is this different from text compare?
JSON Compare understands structure—reordered keys or whitespace won't false-positive if ignore-order is enabled.
Are array element moves detected?
Arrays are compared by index; reordering appears as multiple edits.
What if one side is invalid JSON?
Syntax errors are shown for the failing side before the comparison runs.