Skip to main content

JSON comparison

Compare JSON values, ignoring formatting and key order.

0 characters5M limit
0 characters5M limit

About JSON comparison

Find meaningful differences between JSON documents rather than differences in indentation. Object key order is ignored; array order remains significant because an array is an ordered sequence.

Steps, example, and limitations

How to use it

  1. Enter the two JSON documents.
  2. Run the comparison.
  3. Inspect added, removed, or changed values and their paths.

Example

Input

Left: {"a":1,"b":2}
Right: {"b":2,"a":1}

Result

No value differences; object key order is ignored.

Things to know

  • Numbers are compared without first rounding long numeric tokens through floating-point conversion.
  • A structural comparison does not know your application schema or whether a change is acceptable.

Navigation

Find a tool

Favorites, recent, and quick access

Image compressorReduce image file size with adjustable quality.
JSON formatterFormat, validate, and minify JSON data.
Merge PDFCombine multiple PDF files into one document.
Password generatorGenerate random passwords with configurable character sets.

Preferences

These preferences are saved only in this browser.

Tool input stays in memory and is cleared when you leave the page. Downloaded files are managed by your browser. AI model caches, when used, are separate from these preferences.