MagmaNex LogoMagmaNex

JSON Diff

Compare two JSON objects and see added, removed and changed keys by path. Fully in your browser.

What does this tool do?

JSON Diff compares two JSON objects and shows which keys were added, removed and changed, all reported by their full path. Because every difference is paired with the path it comes from, such as config.timeout, you see the exact change between two versions in seconds. The comparison happens entirely in your browser, so your data never leaves it.

How to use it

  1. Enter your configuration details.
  2. Review the generated output.
  3. Copy the ready-to-use code or file.

How it works

The tool parses both JSON inputs and walks the trees in parallel, matching keys path by path. Keys present only on the left are marked removed, those only on the right are added, and keys present in both with a different value are flagged as changed. Nested objects and arrays are compared deeply.

Real-world use cases

It is handy for inspecting how an API response changed between two calls or for comparing configuration files across two environments. Developers compare expected versus actual output after a refactor, while DevOps teams audit the differences between staging and production settings on a per-path basis.

Frequently asked questions

Does it treat a different key order as a difference?

No, the comparison is based on key names and values, not on the ordering inside an object. Only genuine content differences are reported as added, removed or changed.

How is a value type change shown?

If the value type at the same path changes, for example from a number to a string, that key is marked as changed and both the old and new value are shown alongside the path.

Is JSON Diff free?

Yes. JSON Diff and all 300+ tools on MagmaNex are completely free with no signup or account required.

Is my data safe?

Yes. Everything runs locally in your browser. The data you enter is never sent to a server, stored, or shared.

Does it work on mobile?

Yes. JSON Diff works on phones, tablets and desktops — no app download needed.

🔒 Privacy: everything runs in your browser, your data is never sent to a server.

Related Tools

📝 Related Articles

Popular Tools