Explore Ronda

JSON diff · free · no signup

JSON diff tool — compare by meaning, not by whitespace.

Paste two JSON documents and see exactly which keys were added, removed or changed — ignoring formatting and key order — as a list of paths and as a line diff of the normalised output.


          
What it does

About this free JSON diff.

This free JSON diff tool compares two JSON documents by structure rather than by text. Both documents are parsed, then every value is compared path by path, so differences in indentation, key order and trailing whitespace are ignored. The result is a list of paths that were added, removed or changed, each with the before and after value, followed by a conventional line diff of the normalised documents for context.

Use it to compare an API response before and after a deploy, check what changed between two versions of a config file, or verify that a migration produced the data you expected. Comparison runs in your browser, so production payloads stay on your machine.

Free · No signup · Runs in your browser · Last updated

  • Structural comparisonParses both sides and compares values, not characters.
  • Ignores formattingIndentation, key order and whitespace do not count as changes.
  • Path listEvery added, removed and changed key as a dotted path with old and new values.
  • Optional array orderTreat [1,2] and [2,1] as equal when order does not matter.
  • Line diffA readable diff of the normalised output underneath.
  • PrivateNothing is sent to a server.
How to use it

How to compare two JSON documents in four steps.

Paste the first document

Put the original JSON in the Before box.

Paste the second

Put the newer version in the After box.

Compare

Click Compare. Tick Ignore array order first if arrays are sets rather than sequences.

Read the changes

Scan the list of added, removed and changed paths, then use the line diff to see them in context.

Good to know

JSON diff questions, answered.

How is this different from a text diff?

A text diff sees formatting: reordered keys, different indentation and trailing commas all show as changes. This tool parses both documents and compares values, so only real differences are reported — then shows a line diff of the normalised form for context.

What does 'ignore array order' do?

Treats [1,2] and [2,1] as equal. Off by default, since order usually matters in JSON arrays.

Is my data uploaded?

No — parsing and comparison happen in your browser.

How are values at different paths reported?

Each difference is shown as a dotted path such as user.address.city or items[2].price, with the value on each side. A key present only in the second document is listed as added, one present only in the first as removed, and a key in both with different values as changed.

Does the diff treat 1 and "1" as the same?

No. A number and a string are different JSON types, so "1" and 1 are reported as a change. This is deliberate: type differences are one of the most common causes of bugs between API versions.

Can I diff very large JSON files?

The tool handles documents of several megabytes in a modern browser, but the limit is your device’s memory rather than a server quota. For very large files, compare a representative subset or use a command-line tool.

From the people behind this

Want a diff like this every time a page changes? That’s page change monitoring.

Page change monitoring watches any URL, yours or theirs, and sends a highlighted diff, an alert and a report on your schedule. $2 a page a month, your whole team included.