SmartTechnology solutions for business

JSON Comparison

Show differences in values, keys, and arrays, with options to ignore order or specific fields.

Array order

Separate with commas. A plain name is skipped at every level; a path such as meta.version only there.

Your result

Paste two JSON texts and the differences appear here.

How to use it

  1. Paste the first and second JSON, or press Try a sample.
  2. List fields you do not care about, such as updatedAt, and choose whether list order matters.
  3. Read the differences, then copy or download them as text.

Examples

  • A changed name{"name":"Ada"} and {"name":"Grace"} Changed: name ("Ada" → "Grace")
  • List order[2,1] and [1,2] with plain-value order ignored The two documents match
  • An ignored fieldupdatedAt differs at every level Not listed
Tool details and privacy

Paste two versions of a JSON document and the differences appear colour-coded: added in green, removed in red, and changed in amber with the old and new value.

Comparing by path (such as meta.version or tags[2]) is clearer than comparing lines, because key order and spacing do not count as changes.

Options

  • A plain name such as updatedAt is ignored at every level; a path such as meta.version only there.
  • Ignoring order sorts lists of plain values only; lists of objects are compared by position.
  • Swap sides exchanges the first and second text.

Limits

  • A syntax error is shown with its line, column, and side.
  • Object keys are compared by name, and lists item by item.

Privacy

What you type stays in your browser. Nothing is uploaded or saved on the server.

Questions

Does key order matter?

No. {"a":1,"b":2} and {"b":2,"a":1} match.

How do I ignore a field in every object?

Type its name alone, such as updatedAt.

What if one text is not valid?

A message names the side, line, and column, with a button that takes you there.

Is the JSON uploaded?

No. The comparison runs in your browser.

Related tools

All tools