DMDiff MasterLocal · Private
STRUCTURED JSON DIFF

Compare JSON by structure.

Compare formatted JSON side by side while ignoring object key order and preserving array order.

Runs locally in your browserFiles are not uploaded or storedNo sign-upPreparing required files for offline use…
METHOD & LIMITS

How Diff Master compares JSON

JSON Diff validates both inputs, compares their parsed structure recursively and reports meaningful value or array-order changes without treating object-key order as a change.

  1. Paste strict JSON into both inputs.
  2. Run Compare JSON; invalid syntax, duplicate keys and unsupported values stop the comparison with a location.
  3. Review structural changes by JSON Pointer path and inspect the complete formatted JSON.

Object keys

Objects are compared by key and value, so key reordering alone creates no difference.

Arrays

Array order is preserved because moving an item can change its meaning.

Invalid JSON

Both inputs must pass strict validation before a structural result is produced.

Original JSON
{"id": 7, "status": "draft"}
Changed JSON
{"status": "ready", "id": 7}

Expected result: Only /status is changed. Reordering the id and status keys does not create a second difference.

See why structural JSON diff differs from text diff
QUESTIONS, ANSWERED

JSON comparison FAQs

Practical answers about how this tool compares content, what stays local and where its current limits are.

Does JSON Diff ignore object key order?

Yes. Objects are compared by key and value, so changing the order of object keys alone does not create a difference. Array item order is preserved because reordering an array can change its meaning.

Does the tool validate JSON?

Yes. Both inputs must be strict JSON. Diff Master reports the side, line and column for invalid syntax, duplicate object keys, comments, trailing commas, unsupported numeric values or excessive nesting.

Can it compare nested objects and arrays?

Yes. Nested values are compared recursively and each difference is associated with a JSON Pointer path so you can see where the value changed.

Why can the result look different from my formatting?

JSON Diff focuses on structure and values rather than indentation or object-key order. The comparison view aligns the changed paths so formatting noise does not hide the meaningful differences.

Is my JSON uploaded or saved?

No. Parsing, validation and comparison all run in this browser tab. Diff Master does not upload or store your JSON inputs or results.