Skip to content
JSON ↔ JSONDeveloper tools

JSON Diff

Compare two JSON documents by meaning. Finds nested changes, pairs list items by id or in any order, and makes a JSON Patch.

Did this tool work for you?

Used JSON Diff? Share how it went to help others.

About this tool

About JSON Diff

JSON Diff compares two JSON documents and lists every difference with the exact place where it is. It looks at the data and not at the text, so spaces, line breaks and the order of fields make no difference. Paste the old version on the left and the new one on the right, or open two files. Changes are found at any depth and shown with a path such as address.city, the old value crossed out and the new one beside it, and are marked as changed, added or removed. Each kind can be hidden. Lists are the hard part of comparing JSON, so you choose how their items are paired. By position compares the first with the first, which is strict. By a field uses something that identifies an item, such as id, and then a product that moved to another place is still compared with itself, and you see only that its price changed. In any order is for lists where the order has no meaning, such as tags. Fields that always differ, for example updatedAt or version, can be left out by name, at every level. You can also treat the text 1 and the number 1 as the same, and ignore upper and lower case in values. Very long whole numbers are compared digit by digit, where other tools round them. The result can be copied or saved as text. Below it you get a JSON Patch in the format of RFC 6902, which is a list of operations that turns the first document into the second one exactly. Programs in many languages can apply such a patch. If one side is not valid JSON, the message tells you what is wrong. The Format button makes a one-line document readable. Nothing is uploaded, so answers from private systems can be compared safely.

JSON Diff tool

When JSON is compared

What really changed

Testing an API

Compare answers before and after a release.

ExampleLeave out the time stamps.

Settings

See why two servers behave differently.

ExampleCompare their config files.

Dependencies

Compare two versions of package.json.

ExampleOpen both files.

Data checks

Check an import against its source.

ExamplePair the rows by id.

Translations

Find missing texts.

ExampleLook only at Removed.

Writing patches

Make the body of a PATCH request.

ExampleCopy the JSON Patch.

JSON comparison tips

Less noise

Everything looks changed?

One new item at the start shifts a list. Pair by id.

Skip noise

Leave out fields that always change.

Invalid JSON?

Repair it first.

Open JSON Formatter

Plain text?

Compare line by line instead.

Open Text Compare

Only a part?

Pick it with a path.

Open JSON Path Tester

Null is not missing

A field with null and a field that is absent are different.

Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed JSON Diff and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 25 November 2026

Answers and guidanceFrequently Asked Questions
How do I compare two JSON files?
Open one file on each side. The differences appear below.
Does the order of fields matter?
No. In JSON the order of fields in an object has no meaning.
Does the order in lists matter?
By default yes. Choose In any order or By a field to change that.
What is a JSON Patch?
A list of add, remove and replace steps that turns one document into another, defined in RFC 6902.
Is null the same as missing?
No. They are shown as a difference.
Can I ignore some fields?
Yes. Write their names with commas between them.
Is my data uploaded?
No. It is compared in your browser.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.