Skip to content
hateitall

JSON Diff

See what really changed between two JSON documents, even when the keys are in a different order.

Processed locallyIn: JSONOut: Report

Loading tool…

How to use json diff

  1. Paste or open the original JSON on the left.

  2. Paste or open the changed JSON on the right.

  3. Read the list of added, removed and changed values with their paths.

  4. Turn on Ignore the order of array items if position in lists does not matter.

What this tool does

  • Compares parsed data, so key order, indentation and line breaks never show up as changes.
  • Labels each difference as added, removed, changed or type changed, with its full path.
  • Can treat arrays as unordered and match items by content.
  • Filters the list by kind and downloads the differences as a JSON report.

How the result is verified

Two identical documents always report no differences, whatever their formatting; try pasting the same JSON in both boxes with keys reordered to see it.

Frequently asked questions

Why does a text diff show changes this does not?

A text diff compares lines, so reordered keys or new indentation look like changes. This tool compares the data itself.

Is 1 the same as 1.0?

Yes. JSON numbers are compared by value, so 1 and 1.0 are equal. The number 1 and the string "1" are reported as a type change.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Beautify or minify JSON with your choice of indentation

JSON→ JSONLight on device

Collapsible, searchable tree view that stays fast on large files

JSON→ PathLight on device

Format, validate, tree view, schema, diff and CSV in one tabbed workspace

JSON · CSV→ JSONModerate on device

Find JSON syntax errors with the exact line and column

JSON→ ReportLight on device