← All tools Understand structured data changes

JSON Compare

Compare two JSON documents with format-aware or exact source matching.

Side-by-side & unified views Line and character highlights Paste or load files
Comparison mode

Original

Paste content or load a local JSON file.

Changed

Paste content or load the version to compare.

Document Tools guide

How to use JSON Compare

Find meaningful differences between API responses, configuration files, and other JSON documents without letting key order or formatting obscure the result.

Three simple steps

  1. Paste JSON or load one JSON file on each side.
  2. Choose format-aware or exact source comparison.
  3. Review the summary and side-by-side or unified differences, then copy the content you need.

JSON comparison modes

  • Format-aware comparison ignores object-key order and presentation whitespace while preserving values and array order.
  • Exact source comparison includes indentation, line breaks, and key ordering.
  • Invalid JSON is identified before format-aware comparison.

Frequently asked questions

Does JSON key order count as a difference?

Not in format-aware mode. Exact source mode shows key-order changes.

Does array order still matter?

Yes. Moving array items changes their meaning and appears in the result.

Can I compare unfinished JSON?

Use exact source mode to compare drafts that are not yet valid JSON.