Compare JSON sample shapes

Client

Paste two JSON samples and review an inferred shape diff—paths only in A, only in B, or with changed primitive types. Complements structural JSON compare when you care about schema drift, not exact values.

Sample A

Sample B

Nearby workflows on Toolcore

  • JSON compareSide-by-side diff paths; sample pre-filled. once JSON text parses on this page.
  • JSON type inferenceInfer a readable type tree from sample JSON—objects, arrays, and primitives before codegen. once JSON text parses on this page.
  • JSON Schema validateValidate JSON against a schema, infer draft-07 schema from data—Ajv in browser. once JSON text parses on this page.
  • JSON formatterJSON format online: pretty-print, minify, validate, escape, download . once JSON text parses on this page.

Common use cases

  • Check whether a staging API response gained fields before production cutover.
  • Contrast v1 and v2 fixture files when documentation lags the wire format.

Common mistakes to avoid

  • Expecting value-level diff

    Use JSON compare for value changes. This tool compares inferred types and paths only.

FAQ

Is this JSON Schema validation?

No. It infers shapes from samples—use JSON Schema validate for keyword checks.

Common search terms

Phrases people search for that match this tool. See the full long-tail keyword index.

  • compare json schema shapes
  • json structure diff two samples
  • json api shape compare

Related utilities you can open in another tab—mostly client-side.