Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitDeveloperJSON Compare

JSON Compare

Compare two JSON documents by meaning, not by text, with every change listed by path. Runs entirely in your browser, so nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
Use cases

One click to the right settings

Compare two API versions

See which fields were added, removed or changed between responses.

Ignore array order

Match list items as a set, so reordered tags and IDs don't count.

Line-by-line view

Both documents with keys sorted, differences highlighted.

How it works

How to use JSON Compare

  1. 01Paste the old version into Original JSON and the new one into Changed JSON.
  2. 02Turn on Ignore item order if lists can be shuffled without meaning anything.
  3. 03Read the Changes by path table, or switch View to Line diff to see both documents side by side.
  4. 04Click the added, removed or changed counts to filter, then Copy report or Save it as a text file.
Questions

JSON Compare FAQ

6 answers to what people ask most about the JSON Compare.

Does key order matter when comparing JSON?

No. JSON objects are unordered, so {"a":1,"b":2} and {"b":2,"a":1} are reported as the same. Only real differences in keys and values are listed.

How are arrays compared?

By default, order matters and items are matched with a longest-common-subsequence diff, so an inserted item shows as one addition rather than shifting every index. With Ignore item order on, arrays are compared as sets of values.

What does the path like $.projects[1].stars mean?

It's a JSONPath to the changed value: the stars field of the second item in the projects array. Indexes start at 0 and refer to the changed document for additions and changes.

Is 5 the same as "5"?

No. A number and a string are different JSON types, so the change is listed with a note showing the type change, such as number → string.

Is 1.0 the same as 1?

Yes. JSON numbers are compared by value, so 1, 1.0 and 1e0 are equal.

Is JSON Compare free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
JSON Formatter

Format, minify and validate JSON with clear errors.

Developer
Base64 Encode / Decode

Encode text to Base64 or decode it back, UTF-8 safe.

Developer
URL Encode / Decode

Percent-encode query values or whole URLs.

Developer
HTML Entities

Escape < > & and quotes, or decode entities.

Developer
Something off with JSON Compare? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt