G PLAY / DEVELOPMENT
JSON Diff
Compare two JSON files or text inputs and see the exact paths that changed. Object key order is ignored; array order matters.
Compare JSON documents
Up to 5 MB per input. Structural comparison; array position is significant. First 800 differences shown.
Paste JSON or choose files to start.
What does JSON Diff do?
JSON Diff compares parsed JSON structures rather than raw lines. It reports added, removed and changed values at paths such as $["settings"]["theme"].
How to use it
- Paste JSON into both editors or choose two local .json files.
- Click Compare JSON to list differences by path.
- Review before and after values and export a JSON report if needed.
Formats and limits
Standard JSON text only, up to 5 MB per side. Arrays are compared by index; duplicate object keys are resolved by the JSON parser and cannot be distinguished.
Privacy and security
Parsing and comparison run in your browser. No document content is uploaded to PlayTheGameHub.
Frequently asked questions
Does JSON key order matter?
No. Object properties are matched by their keys, regardless of order.
Does array order matter?
Yes. Array elements are compared by index. Reordering may produce multiple differences.
Can I compare invalid JSON?
Both inputs must parse successfully as JSON before comparison.
Is the report a patch file?
No. The exported file lists differences; it is not an executable JSON Patch document.