Up to 200 KB per file. Combined JSON must stay under 200,000 characters.
Original number values and duplicate keys are preserved.

Find the meaningful change in two JSON documents

Compare the original response on the left with its replacement on the right. Structural comparison avoids noise from indentation and object-key order, so it is useful when reviewing an API change or diagnosing a configuration regression.

Compare two JSON API responses and spot breaking changes

How to use JSON Comparator

  1. Paste original JSON on the left and modified JSON on the right, or upload a .json file up to 200 KB for each side.
  2. Click Compare Now.
  3. Read the highlighted JSON side by side or in unified view, jump between changes, or show only differences.

Practical examples

A changed value and a new field

Input or settings

Original: {"status":"queued","count":2}
Modified: {"status":"sent","count":2,"ok":true}

Expected result

Changed: status, from "queued" to "sent"
Added: ok, with value true

The unchanged count stays as context unless you select the differences-only view.

Reordered keys versus reordered array items

Input or settings

Original: {"a":1,"b":[1,2]}
Modified: {"b":[2,1],"a":1}

Expected result

Two changed array positions; no change caused by object-key order.

Array items are matched by index, not by an id property or their contents.

Read the comparison in context

Mint indicates additions and coral indicates removals. A modified value can show a removed span and an added span. Use Previous and Next to move between changes, or switch to unified view on a narrow screen.

Numbers are compared by exact decimal value without losing large-integer precision. Equivalent spellings such as 1 and 1.0 compare equally. The string "1" and the number 1 are different types.

Both inputs must parse as JSON. Each uploaded file can be up to 200 KB; comparisons also have a combined 200,000-character limit and formatted-line/computation limits. Split large documents rather than removing fields you still need to review.

When this tool helps

  • Review an API payload before and after a server release.
  • Check two exported settings files without whitespace noise.
  • Locate a missing field in a failing test fixture.

Questions about JSON Comparator

Why did moving one array item produce several changes?

Items are compared by position. Inserting an item near the beginning shifts later positions; this is not an identity-based array merge.

Does it merge the documents?

No. The result is a review view. Edit the original documents yourself and run another comparison to check the result.

Should I use this or Text Diff?

Use JSON Comparator for structure and values. Use Text Diff when spaces, line endings, or exact source spelling are part of the change you need to inspect.