DevKits

JSON Merge — Deep Merge Two JSON Objects Online, Free

Deep merge two JSON objects — base + override. Nested objects are recursively merged. Perfect for config files and API responses. 100% local.

Last updated:

Comments

Deep-merge two JSON objects. Paste base + override, get recursed result.

{
  "name": "Alice",
  "age": 31,
  "address": {
    "city": "NYC",
    "zip": "10001"
  },
  "email": "alice@x.com"
}

What is JSON Merge?

Deep merging combines two JSON objects by recursing into nested structures. Primitives and arrays are replaced by the override.

How to merge JSON

  1. 1Paste JSON A (base) and JSON B (override).
  2. 2The merged result updates live.

Frequently Asked Questions

Shallow vs deep merge?

Shallow merge only replaces top-level keys. Deep merge recursively merges nested objects. A deep merge of {address:{city:'NYC'}} and {address:{zip:'10001'}} produces {address:{city:'NYC',zip:'10001'}}.

Try Next

JSON Formatter

Format, beautify, and validate JSON online. Free, fast, and 100% local — your data never leaves your browser.

Related Tools

Reference & Guides