← All Tools

Json Compare🔒 100% local

Diff two JSON documents. Privacy-first, no server uploads, no tracking.

Related Tools

JSON FormatterYAML ValidatorDiff Checker

Compares two JSON objects that you supply as two lines of one text box: line one is the left side, line two is the right. The result lists keys that exist only on the left with a minus, keys only on the right with a plus, and keys whose value changed with a tilde followed by old and new. Both objects are parsed in the page, so an API response you paste stays on your machine.

How to use it

  1. Put the first object on one line and the second on the next line.
  2. Press Process once both lines are in place.
  3. Read the diff in the output box - unchanged keys are not listed - and copy it if you need to record the difference.

Worked example

{"a":1,"b":2} {"b":2,"c":3}becomes- a: 1 + c: 3

b appears on both sides with the same value, so it is left out. Keys present on both sides but different are printed with a tilde, as in the example below.

{"a":1} {"a":2}becomes~ a: 1 → 2

When to use it

What it does not do