Skip to developer tool
DEVELOPER TOOLKIT DATA & JSON

JSON Diff & Patch Studio

Compare JSON structurally, inspect accurate JSON Pointer paths, review arrays and export an independently verifiable JSON Patch. Your documents stay inside your browser.

Browser-based · No account required · Copy and export

BUILT FOR THE DETAILS
  1. 01Add your input
  2. 02Inspect & adjust
  3. 03Use your result
Browse developer tools

JSON Change Review Studio

Compare locally · Inspect exact paths · Verify a strict patch · Export results

Ready
Pasted JSON
Pasted JSON
Comparison options · Arrays · Ignore and redact
Each object must have a unique string/number identity. A strict patch still uses real array indexes.
Ignored differences are excluded from analysis, never from the strict patch.
Reports only. Raw patches and approved JSON may still contain secrets.

Structural changes

No current comparison.

Verified JSON Patch (RFC 6902)

No current verified patch.

Tick changes above to include them in a separate reviewed output. Strict index mode only.

Difference report & handoff

Structured report ≠ JSON Patch. Downloads reflect only current inputs.

Local-only comparison. A matching patch is verified against these JSON documents, not a live API or production deployment. JSON numbers are IEEE-754; integers outside the safe range are rejected. Duplicate object keys are not detected by native JSON parsing.

How to use JSON Structural Diff Checker

  1. Paste valid JSON into both fields. Object-key order alone does not count as a difference.
  2. Choose whether primitive arrays should be treated as unordered multisets. Compare or swap the two documents.
  3. Read the text report, or download JSON records with type, display location and JSON Pointer path.

When to use this tool

Compare API responses or configuration revisions by data structure rather than formatting. Inspect JSON Pointer paths in the report before deciding which differences to keep.

A structural report is not a text diff or JSON Patch

An added key, removed key or changed value becomes a difference record. Array order normally matters; the unordered option only applies to arrays made of primitive values and still counts duplicates. JSON Pointer escapes a slash in a key as ~1 and a tilde as ~0. Exported records are a review format, not instructions claiming conformance to RFC 6902 JSON Patch.

Worked example

Left: {"a.b":1}
Right: {"a.b":2}
Display location: $["a.b"]
JSON Pointer: /a.b
This is different from nested {"a":{"b":2}}.

Separate a type change from an irrelevant tag order

Original comparison inputs

Left:  {"quantity":2,"tags":["draft","review"]}
Right: {"quantity":"2","tags":["review","draft"]}
  1. Paste each JSON value into its own comparison field. Compare with unordered primitive arrays off first; both the quantity type and tag order matter in this view.
  2. If tags are genuinely unordered for your application, enable that option and compare again. The reordered tags can then compare equal, but number 2 and string "2" remain different.
  3. Inspect the reported locations and before/after values. Do not use the unordered option for arrays whose order is meaningful or expect it to identify matching objects by an ID field.
  4. Copy or download the comparison report for review. It is not an executable JSON Patch, and the tool does not apply changes back to either input.

Duplicate counts still matter in primitive arrays: two occurrences do not become one merely because order is ignored. Object-key order and indentation are already ignored by structural comparison.

These are authored inputs with expected comparison rules, not a new generated report. Use JSON Schema Validator for required types/properties, or Text Diff when source formatting is part of the change.

Limits and output checks

JSON must fit the shared text and safe-number limits. Nesting is bounded for recursive comparison. Large integer identifiers should be quoted. The unordered primitive-array option does not reorder arrays of objects or infer object identities.

Reference: JSON Pointer syntax.

Frequently asked questions

Do different indentation or key orders count?

No. Parsed values are compared structurally; insignificant JSON source formatting and object-key ordering are ignored.

Does unordered mean duplicates are ignored?

No. Primitive-array multiplicity remains meaningful. [1,1] differs from [1].

Can I apply the JSON report as a patch?

No. The JSON difference report is a readable change format. The separate RFC 6902 patch is generated from both complete documents, applied to a clone and checked for exact equality before download.

What does keyed-array matching mean?

Choose an identity pointer such as /id. Duplicate or missing IDs fall back to positional analysis with a warning. The verified patch always uses real JSON array positions.

Do ignored fields disappear from the patch?

No. Ignore paths affect the visible analysis; the strict verified patch still transforms the full original value to the full updated value. Report redaction applies to report exports, not raw patches.

Compare JSON values instead of indentation

Supply two valid JSON values and review changes at their reported locations. Choose the primitive-array option only when order is irrelevant to that data.

Scope of this workflow

Object-key order and whitespace are ignored, while duplicate primitive values remain meaningful. The difference report is not a patch; V2 also generates a separately verified RFC 6902 JSON Patch from the complete original documents. Ignore and keyed-array options influence the review only. Selective review generates a new JSON result without changing either input.

Text Diff Checker — Compare Lines or Words · All developer tools · Privacy policy · Contact PixelOkay