JSON Diff Online — Compare JSON by Property Path

Compare two JSON documents online and list changed property paths and values locally in your browser.

About this tool

This JSON diff parses both documents, flattens nested objects and arrays into property paths, and reports paths whose serialized values differ.

How to use

  1. Paste the first JSON document.
  2. Paste the second JSON document.
  3. Compare and inspect changed paths.

Features

  • Parses strict JSON.
  • Compares nested property paths.
  • Shows old and new serialized values.

Common use cases

  • Compare API responses.
  • Review configuration changes.
  • Find differences in fixtures.

Common issues and tips

  • Array indexes are treated as paths.
  • Key order alone does not matter after flattening, but value types do.

Privacy

JSON comparison runs locally. Documents are not uploaded.

Frequently asked questions

Can it compare nested JSON?

Yes. Nested values are flattened into paths.

Does property order matter?

Not for object paths; compared values and types matter.

What if there are no changes?

The output states that no differences were found.

Related tools