Semantic JSON Compare
Compare two JSON documents or check data against JSON Schema. Structure, types, ordering, and exact values are independent options, so the result matches your task.
Result
Paste both documents or open the example. Values appear in the report only when their toggle is enabled.
A semantic JSON comparison, not a text diff
The algorithm understands objects, arrays, and JSON data types, so formatting never masquerades as meaning. It compares the contract by default; the values toggle adds exact checks for strings, numbers, booleans, and null.
Two JSON documents, no noise
Find missing and unexpected fields, type mismatches, and nested structure changes. Turn on exact value differences only when you need them.
JSON Schema validation
Supports required, properties, additionalProperties, items, prefixItems, allOf/anyOf/oneOf composition, and local references through $ref.
Ordering is under your control
Configure object key order and array item order independently. Unordered arrays are matched automatically by structural signature.
This free tool compares JSON structure, data types, ordering, and optionally exact values. Use it for API contract tests, response comparison across environments, migration checks, and JSON Schema validation. All processing stays entirely in your browser.