JSON Diff

Paste two JSON values and see a structural diff: keys added or removed, and value changes. Paths use JSON Pointer style (/a/0/b). Arrays are compared by index (not re-ordered to match). For line-by-line text, use the text diff tool.

Clear

Drop JSON for A · max 10 MB

Clear

Drop JSON for B · max 10 MB

Diff

Added in B Removed from A Changed
Path Kind A B
Compared only in your browser. No uploads.

How to compare JSON files

Paste two JSON values or load two files, compare, then read paths and values or copy a full JSON report. Everything stays in your browser.

Paste or upload A and B

Put the “before” JSON on the left and the “after” JSON on the right, or drop files under each side.

Compare JSON

Run the comparison to list structural adds, removes, and value changes with JSON Pointer paths.

Copy the report

Use the table for a quick view, or copy the JSON report when the table is truncated.

Frequently asked questions

Use JSON diff when you care about structure: keys and array positions. Use text diff when formatting or key order differs but you want a line-by-line view of the raw file.
By index: item 0 is compared to item 0, and so on. Extra items on either side show as added or removed. There is no automatic reorder or id-based matching.
Each side (paste or file) is limited to about 10 MB of UTF-8 text, similar to the JSON validator. Very large documents may also hit a cap on the number of reported differences for performance.