Skip to content
Toolbox

JSON diff: compare two JSON documents

What changed between two API responses or two versions of a configuration? Paste both and get a clear list of the differences, path by path.

Runs in your browser. Nothing is uploaded.

Loading the JSON diff…

How to use the JSON diff

  1. Paste the original JSON on the left and the new JSON on the right.

  2. Read the added, removed and changed values with their paths.

  3. Choose whether the order of array items matters.

Frequently asked questions

Does the order of keys matter?

No. Objects are compared key by key, so the same keys in another order count as equal.

How are arrays compared?

Item by item, by position. Turn on "Ignore the order of array items" to treat arrays as sets of values.

  • JSON formatter New

    Format, validate and minify JSON, and explore it in a collapsible tree with a filter for keys and values. Errors are shown by line and column.

  • JSONPath tester New

    Query JSON with JSONPath: select fields, filter arrays on conditions and sort the results. Includes examples and a cheat sheet.

  • Sort & deduplicate lines New

    Sort lines alphabetically or by length, remove duplicate and empty lines, reverse, shuffle, trim and number lists of text online.

  • JSON to CSV converter New

    Turn a JSON array into a table you can sort and filter, and download it as CSV for Excel or Google Sheets. Converts CSV back to JSON too.

All tools in Developer