Loading…

How to use JSON Diff / Comparator

Paste two JSON objects, and the tool compares them and highlights every difference between them.

Frequently asked questions

What types of differences are shown?

Added keys (green), removed keys (red), and changed values (yellow) are all highlighted.

Does it handle nested objects?

Yes — the diff is recursive and shows differences at any nesting level.

Can I compare JSON arrays?

Yes — array element differences are shown with index-based tracking.

More JSON Tools

JSONPath Tester
Test JSONPath expressions and extract values from JSON
JSON Schema Validator
Validate JSON data against a JSON Schema (draft-7)
JSON Key Sorter
Sort all JSON object keys alphabetically (deep)
JSON Flattener
Flatten nested JSON into a single-level dot-notation object
JSON Unflattener
Expand flat dot-notation JSON back to nested structure
JSON Key Extractor
Extract all keys, paths, and values from a JSON object
JSON Merger
Deep merge two JSON objects with conflict resolution
JSON Array Tools
Filter, sort, map and paginate JSON arrays interactively
JSON Query / Filter
Filter and transform JSON arrays with field conditions
JSON Repair
Fix broken JSON — trailing commas, single quotes, unquoted keys, comments
JSON ⇄ JSONL Converter
Convert a JSON array to JSONL/NDJSON and back, line by line
JSON to Go Struct
Generate a Go struct with json tags from a JSON sample

← View all JSON ToolsBrowse all 1,100+ tools →