Free online tool

JSON Diff

Compare two JSON documents, review added, removed and changed values by path, and copy or download a change summary.

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

Find changed fields

Compare objects by key and arrays by position. An escaped JSON Pointer identifies each addition, removal or change.

Compare large numbers exactly

Whitespace and equivalent numeric spellings compare equally. Large integer identifiers retain their precision.

Save a change summary

Copy or download up to 1,000 changes with short before-and-after previews. A flag indicates when the report reached its limit.

How to use JSON Diff

  1. 1

    Paste the original JSON on the left and the updated JSON on the right.

  2. 2

    Compare the documents and review the change types, JSON Pointer paths and value previews.

  3. 3

    Copy or download the JSON summary.

What people use this tool for

  • Inspect changes in an API response.
  • Review two configuration files without uploading them.

Frequently Asked Questions

Does moving keys count as a change?

Object key order and formatting are ignored. Array elements are compared by index, so moving elements can produce several changed rows.

How are field paths displayed?

Paths use JSON Pointer. In a key, a slash becomes ~1 and a tilde becomes ~0. An empty path identifies the document root.

What happens to duplicate keys?

A repeated key within one object is ambiguous. The tool asks you to resolve it before comparing.