Local StudioDEVELOPER TOOLS

JSON Diff

Compare two JSON values and inspect each change at its exact path.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
JSON Diff showing added, removed, changed and type-changed settings with escaped JSON Pointers.
The sample compares settings by object key and array index. Each row opens the full Before and After values.

How to Compare JSON

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose a local JSON file or paste a JSON value for Before and After. Select Open Sample to try a comparison.
  3. Select Compare JSON. Objects match by member name and arrays by position. Parsing uses browser number precision and the last occurrence of duplicate member names.
  4. Filter by change type or search for the literal escaped pointer. Select View for full values and copy actions. Download Report saves all available rows.
  5. Each file can be up to 16 MiB and each pasted input up to 16 Mi UTF-16 code units. The engine caps the combined expanded inputs at 100,000 values and 8 Mi UTF-16 units of names and strings, nesting at 128 levels per input, and comparison work at 500,000 units.
  6. A partial report includes up to 5,000 whole changes and 1 Mi UTF-16 code units of compact change data.

See What Changed in Two JSON Values

  • Open a change to inspect and copy its full Before and After JSON values.
  • Use the exact escaped JSON Pointer to find the corresponding source location.
  • Distinguish added or removed members, JSON null, value changes and type changes.

Formats and Compatibility

InputAdd your original JSON as Before and your revised JSON as After. The local compare JSON tool reads files and pasted JSON values.
OutputFilter additions, removals, changed values and type changes. Open a row to copy the escaped pointer or a full JSON value.
BrowserA modern browser with local file support.
ScopeCompares two parsed JSON values by key and array index. Browser number precision and report limits apply.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

This free, browser-based JSON comparison runs locally with no upload and works offline from the extracted download.

Select Open Sample to see the workflow with the included example.

JSON Formats and Comparison Rules

Use UTF-8 JSON files or paste any valid JSON value. Object members match by key and arrays match by index. The parser uses browser number precision and the last value for duplicate object members. The engine allows 100,000 expanded values and 8 Mi UTF-16 code units of names and strings across both inputs, 128 levels per input and 500,000 comparison work units. A file can be up to 16 MiB, and pasted text up to 16 Mi UTF-16 code units per side.

Read and Save the Change Report

Browse the report by page, search for an escaped JSON Pointer, or download the whole available report as JSON. Reports are labeled partial when the 5,000-row or 1 Mi UTF-16 code-unit change budget is exceeded.

Frequently Asked Questions

How do I compare JSON offline?

Use the compare JSON download, extract the ZIP, and open JSONDiff.html in a compatible browser.

Can I compare JSON without uploading files?

Yes. This compare JSON browser tool processes the two inputs and any exported report on your device.

Can I compare JSON in browser?

Yes. The free compare JSON page lets you compare JSON online with local processing. You can also run the offline download.

What counts as a change?

The report matches objects by key and arrays by index. It shows additions, removals, value changes and different JSON types. Null is a present value.

What happens with large inputs or reports?

When a comparison reaches the report cap, it identifies the partial result. Inputs that exceed the engine's validation or work budgets receive an error.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.