Skip to main content
Utilnivo

Developer

Utilnivo

JSON Compare

Compare two JSON documents and instantly see added, removed, and changed values. JSON mode highlights changed keys with path hints.

No registration
  • On your device

Browse more in Developer or all tools.

How do I compare two JSON files online?

Paste or drop two JSON documents and run compare. The workspace highlights added, removed, and changed lines and can add $.key hints when a changed line starts with a JSON key. Reordered keys with the same values can still appear as differences because this is a line-level JSON-aware diff.

Private on your device

Your information stays on your device and is not uploaded.

Paste or drop two JSON documents to identify added, removed, changed, and type-changed values at exact JSON paths. Formatting and object-property order are ignored by default, while arrays compare by index unless you choose an order or identity-key mode. Comparison runs in your browser.

JSON Compare is a JSON-aware difference checker. Paste two documents and review added, removed, and changed lines without installing a desktop diff tool.

Nested objects and arrays are compared as formatted text. When a changed line starts with a JSON key, the result can include a $.key path hint so you can scan nested fields faster than in a plain text diff.

Key order is not ignored. {"a":1,"b":2} and {"b":2,"a":1} are equal as JSON data, but they usually differ as lines. Reformat both sides the same way if you only want value changes.

A plain text diff has no JSON type and no path hints. JSON mode still uses the shared Compare workspace, so you get the same side-by-side and unified views as Text Compare, with JSON detection and key hints on top.

Paste and file comparison run in your browser. Utilnivo does not store the JSON you paste. Use URL Compare if you need to fetch live pages instead of pasting documents.

How to use this tool

1. JSON Compare opens with document type set to JSON. 2. Paste or drop the original document on the left and the updated document on the right. 3. Click Compare. 4. Review added, removed, and changed lines in side-by-side or unified view. 5. Use Samples if you want a quick walkthrough. Comparison runs in your browser.

Worked example

Example: paste {"timeout": 5000, "retries": 2} on the left and {"timeout": 10000, "retries": 2, "region": "us-east"} on the right. Compare marks the timeout line as changed, keeps retries, and shows region as added. A $.timeout path hint appears when the changed line starts with that key.

When to use this

  • Checking API responses after a backend change.
  • Reviewing config drift between staging and production JSON.
  • Spotting a new field or a changed scalar in a nested object.

Common examples

  • API v1 vs v2 response after a field rename.
  • Feature-flag JSON that gained an extra environment key.
  • Minified vs pretty-printed JSON where values match but lines do not.

Common mistakes

  • Expecting reformatted JSON with the same keys to look identical—pretty-print and key order still affect a line diff.
  • Comparing invalid JSON and assuming the tool will repair it. Fix parse errors in JSON Formatter first if you need valid documents.
  • Treating path hints as a full structural tree match. Hints are added for changed keys on a line; the diff itself is still line-based.

How it works

Paste or drop two JSON documents. JSON Compare parses both documents and reports added, removed, changed, and type-changed values at their JSON paths while ignoring whitespace and object-property order. Nothing is uploaded.

Limitations

Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.

Privacy and file handling

Your data stays on your device and is not uploaded.

FAQ

Frequently asked questions

Does JSON key order matter?

Yes in this workspace. JSON Compare is a line-level diff with $.key hints on changed key lines. Reordered keys with the same values usually still show as differences unless the lines match.

How is this different from a plain text diff?

You still get the same side-by-side and unified views. JSON mode starts with document type set to JSON and can attach $.key path hints when a changed line starts with a JSON key.

Is my JSON uploaded?

No. Paste and file comparison run in your browser. Utilnivo does not store the JSON you paste.

Part of these workflows

This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.

Page last reviewed: