Skip to content
tooljig
On-device AIGuidesPricingSecurity
tooljig

Exact tools. Nothing leaves your device. Small, exact tools for everyday work. Most run entirely in your browser.

Instruments

  • On-device AI
  • Text tools
  • Developer tools
  • Calculators
  • Date & time
  • Converters
  • Generators

Files

  • Documents & ebooks
  • Fonts & archives
  • File viewers
  • PDF
  • Image
  • Video & Audio
  • Data

Tooljig

  • Pricing
  • Guides
  • Security
  • Dashboard
  • About
  • Contact
  • Privacy
  • Terms
© 2026 TooljigFiles processed in the cloud are deleted automatically
Index / Developer tools / T-70

T-70 · Developer tools

JSON Diff

Compare two JSON documents structurally and list added, removed and changed values by JSON path. Key order is ignored; arrays can be compared as sets.

  • Runs in your browser
  • Nothing uploaded
  • No account
Instrument T-70 · JSON DiffLocal
4
differences
1
added
1
removed
2
changed
~ $.customer.name: "Ada" → "Ada Lovelace"~ $.items[2].price: 9.99 → 10.49- $.coupon: "SPRING"+ $.shipping: "express"

About this instrument

What it does

Paste two JSON documents to see exactly what differs, as a list of paths such as $.items[2].price: 9.99 → 10.49. The comparison is structural, not line by line, so reordered object keys or different indentation do not count as changes. A summary shows how many values were added, removed and changed, and invalid JSON is reported with its line and column.

How to use it

  1. Paste the original JSON on the left and the new JSON on the right.
  2. Optionally compare arrays of plain values as unordered sets or ignore whitespace-only string changes.
  3. Read the summary and the list of differences, and copy it as text.

Limits and notes

Good to know

  • Arrays are compared position by position, so inserting an item near the start reports every later item as changed. The unordered option only applies to arrays that contain nothing but strings, numbers, booleans and null.
  • Numbers are compared after parsing, so 1.0 and 1 are equal, and very large integers lose precision as in any JavaScript JSON parser. Duplicate keys keep their last value.

FAQ

Common questions.

01Does key order matter?+

No. {"a":1,"b":2} and {"b":2,"a":1} are equal, as JSON objects are unordered.

02What does the path $.items[2].price mean?+

It is JSONPath-style notation: $ is the document root, .items is a key and [2] is the third array element (counting from zero). Keys that are not plain identifiers are written in brackets, such as $["first name"].

03Is my JSON uploaded?+

No. Both documents are parsed and compared in your browser.

Related instruments

  • T-05JSON FormatterFormat, validate and minify JSON with clear error messages that point to the line and column. Runs entirely in your browser.Local↗
  • T-04Text CompareCompare two texts line by line and see what was added or removed. Runs locally in your browser, so nothing is uploaded.Local↗
  • T-180JSON to CSVFlatten JSON arrays into spreadsheet-ready CSV.Local + cloud↗