JSON Diff Checker
Compare two JSON values and see what was added, removed or changed by key path. Parses and diffs entirely in your browser.
Browser responsiveness limit: 1 MiB per side. Use a streaming or desktop diff tool for larger documents.
Compare two JSON objects
Paste two JSON values and click Compare. Differences use collision-safe RFC 6901 JSON Pointer paths: + added, − removed, ~ changed. The RFC 6902 patch is always verified with exact, order-sensitive semantics, even when the comparison ignores array order.
FAQ
How does it compare?
Both sides are parsed as JSON and compared by RFC 6901 JSON Pointer paths. A literal key such as "a.b" stays distinct from the nested path "/a/b".
What is the JSON Patch?
A standards-compliant, order-sensitive RFC 6902 patch (add / remove / replace operations) that transforms A into B. You can copy it and apply it with any RFC 6902 library.
Can I ignore array order?
Yes. Comparison then treats arrays as unordered multisets and canonicalizes object key order. Patch generation remains order-sensitive and is verified separately against the exact B value.
How do I know the patch is correct?
The tool applies the generated patch to A in your browser and checks the result equals B exactly. In ignore-order mode, the comparison result and exact patch verification are labeled as separate operations.
Is my data sent anywhere?
No. Parsing, comparison and verification happen entirely in your browser.
What if the JSON is invalid or very large?
You get a clear parse error. Each side is capped at 1 MiB to keep this main-thread browser tool responsive.
Last updated: