Quick take

Compare two JSON payloads without getting lost in the nesting.

  • Compare two API responses before and after a backend change.
  • Check which feature flags were added or removed in a config file.

JSON Compare and Diff Tool

live
0Added
0Removed
0Changed
0Type changed
TypePathOldNew
Run a comparison to see differences.

Where it fits

Use JSON Compare and Diff Tool for finding differences between API responses, config versions, generated JSON, and before-and-after payloads. It works well when you want added, removed, changed, and type-changed fields and do not need a bigger workflow around it.

  • Best fit: finding differences between API responses, config versions, generated JSON, and before-and-after payloads.
  • You start with two JSON objects or arrays that should be compared.
  • The useful choices are which payload is baseline, whether arrays are order-sensitive, and what differences matter.
  • Check missing fields, changed types, null values, and nested object differences.
  • You end up with added, removed, changed, and type-changed fields.

What the page is actually doing

  • Both inputs are parsed as JSON in the browser.
  • Objects are compared by field path; arrays are compared by index unless array-order ignore is enabled.
  • The report separates added, removed, changed, and type-changed values.

A clean way to use JSON Compare and Diff Tool

  1. Start with two JSON objects or arrays that should be compared.
  2. Choose which payload is baseline, whether arrays are order-sensitive, and what differences matter.
  3. Run the tool once, then review missing fields, changed types, null values, and nested object differences.
  4. Copy, export, or download added, removed, changed, and type-changed fields.
  5. Compare the final output against one known-good sample before you move on.

Where mistakes happen

  • JSON diff works best after both inputs are valid JSON, not JavaScript object literals or partial fragments.
  • Type changes such as string to number can be more important than value changes in API contracts.
  • Format both payloads first if they came from logs or minified responses.
  • Use schema validation after comparing if the new payload must satisfy a formal contract.

How your data is handled

This tool works in your browser. Toolumina does not upload or keep the content you enter here.

FAQ

Does this upload my JSON?

No. Parsing and diffing are performed locally in your browser.

Can it compare arrays?

Yes. Arrays are compared by index, with an optional simple sort for simple array values.

Why is this different from a text diff?

This tool compares parsed JSON values, so formatting and whitespace do not create false differences.