Nadhebe

JSON diff

Input Developer
Ln: 1 Col: 1 0 chars
Result JSON diff
Ready
Your result will appear here.
100% local processing Ln: 1

About JSON diff

JSON Diff compares two JSON objects and highlights exactly what changed — added keys, removed keys, and modified values — displayed as a clean, line-by-line diff. Paste two JSON blocks separated by "---" and see the delta instantly, with no server involved.

When to use JSON diff

  • Spot the difference between two API responses before and after a deployment
  • Debug configuration drift between development and production JSON configs
  • Review changes to package.json, tsconfig.json, or any structured JSON file
  • Verify that a data transformation preserves all expected fields
  • Compare webhook payloads to understand what changed between events

How it works

Paste two JSON objects separated by a line containing "---". The tool normalizes both objects with consistent key ordering, then runs a line-by-line diff. Lines prefixed with "+" are additions; lines prefixed with "-" are removals; unchanged lines appear without a prefix. Both inputs are parsed and validated as JSON before diffing, so malformed JSON is caught immediately.

Example

JSON Diff output

Input:

{"name":"Nadhebe","version":1,"features":["local","fast"]}
---
{"name":"Nadhebe","version":2,"features":["local","fast","private"]}

Output:

  "name": "Nadhebe",
- "version": 1,
+ "version": 2,
  "features": [
    "local",
    "fast",
+   "private"
  ]

Privacy & security

JSON diff runs entirely in your browser. No input data is uploaded to any server, stored in a database, or shared with third parties. You can use it offline once the page has loaded.

Frequently Asked Questions

Common questions about this tool.

Does JSON Diff validate my JSON before comparing?

Yes. Both inputs are parsed as JSON before comparison. If either side contains invalid JSON, the tool reports a parse error and identifies which input failed — so you can fix the syntax before diffing.

Does the order of keys matter?

No. Both objects are normalized with consistent key ordering before diffing, so a purely reordered object with no value changes will show no diff output.

Can I diff nested JSON objects and arrays?

Yes. The diff operates on the pretty-printed form of both objects, so nested structures, arrays, booleans, numbers, and null values are all compared correctly.

Is there a size limit?

No server limit — all processing happens locally in your browser. For very large JSON files (several MB), performance depends on your device and browser, but typical API payloads and config files process instantly.

Is JSON diff free to use?

Yes. JSON diff is completely free and runs locally in your browser — no account required.

Does Nadhebe upload my data?

No. All processing happens in your browser. Your input data never leaves your device or gets sent to any server.

Related Free Utilities

View all tools →