Skip to content

JSON Diff

Compare two JSON objects and highlight differences. Find added, removed, and changed fields. Free developer utility that runs locally in your browser — fast

Choose your path

Built around the job you need to finish

Compare two JSON values locally and identify additions, removals, and changes at useful paths without sending payloads to a server.

API developer

Find meaningful response-contract changes quickly.

Paste before and after payloads, compare them, and copy or export the path-based result.

Can distinguish added, removed, and changed fields without manually scanning the documents.

QA engineer or data analyst

Avoid false differences when array order is irrelevant.

Compare nested values with array-order handling enabled and verify any remaining changes.

Sees no difference for a pure reorder but still sees genuinely added or removed values.

Privacy-conscious user

Diagnose invalid or empty JSON without uploading sensitive payloads.

Use the local editor, correct the indicated parse state, and clear the samples when finished.

Understands which input is invalid and completes the comparison without network transmission.

Was this tool helpful?

Reference & details

How it works

Independent JSON Parsing

Each text area is parsed separately with the browser's JSON parser. Empty and invalid inputs remain distinct states so a parse failure is not mistaken for an empty object or a valid null value.

Recursive Path Comparison

Objects are compared by key and nested values by path. The result labels values as added, removed, or changed; equal primitive values produce no line in the diff.

Array-Order Option

When Ignore array order is enabled, array elements are matched by their serialized JSON value before comparison. Use this only when sequence has no meaning; duplicate or structurally reordered records still deserve manual review.

Updated: July 2026

Example Scenarios

A developer compares a known-good response with a new build and sees exactly which fields were added, removed, or changed.

An engineer compares two JSON configuration files before a pull request and verifies that only the intended nested paths changed.

A QA analyst enables Ignore array order for an unordered set, confirms a pure reorder disappears, and still reviews additions or removals reported by the tool.

FAQ

Yes, all processing happens in your browser. No data is sent to any server — your input stays on your device and is never stored or logged.

Yes, it's completely free with no registration required. Use the JSON Diff as often as you need with no limits, accounts, or subscriptions.

After the page loads, parsing and comparison run locally. Reloading may still require a connection unless the browser has cached the site.

The text areas are parsed and compared in the current browser session; the diff tool does not submit their contents to an Enbilex server. Avoid pasting live secrets into any browser tool, and clear sensitive samples when finished.

Each side must be valid JSON: an object, array, string, number, boolean, or null. Standard JSON does not allow comments or trailing commas, so the page reports those inputs as invalid before comparison.

About JSON Diff

Paste two valid JSON values to find added, removed, and changed paths locally. Pretty-print either side for readability, ignore array order when sequence is irrelevant, and copy the comparison result without uploading the payloads.