JSON Difference Checker: Compare JSON Documents
Structural JSON compare in the browser. Objects are matched by key, not formatting. Paths use RFC 6901 JSON Pointer. The patch export is RFC 6902 (add, remove, replace). Nothing leaves this page.
Drop a .json or .txt file here. Client-only FileReader.
Drop a .json or .txt file here. Client-only FileReader.
Path list
JSON Pointer encodes ~ as ~0 and / as ~1. Human paths use root.key and [index]. Object arrays always compare by index. LCS mode aligns primitive arrays (strings, numbers, booleans, null) and falls back to index if an array holds objects, nested arrays, or is too large.
| Change | JSON Pointer | Human path | Detail |
|---|
Highlighted JSON
Added, removed, and changed values use a label color plus a left bar so status is not color-only. HTML from JSON is escaped as text.
RFC 6902 JSON Patch
Operations are add, remove, and replace. Array indexes follow the comparison mode. Applying the patch to Original should produce Modified for supported documents.