Category: Developer tools
JSON deep merge
Merge JSON A and JSON B recursively with a chosen array strategy.
Deep-merge two JSON objects or arrays, recursively merge nested objects, and combine arrays by concatenate, replace or union.
Result
{
"name": "Ada",
"tags": [
"engineer",
"mathematician"
],
"settings": {
"theme": "light",
"notifications": true
},
"role": "Lead"
}Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Use it for configs, preferences, and multi-level JSON. Nested objects merge key by key, shared keys take JSON B values, and arrays follow the strategy you choose.
How to use it
- Paste the base document into JSON A and overrides into JSON B.
- Choose an array strategy: concatenate, replace A with B, or union.
- Read the merged result, with JSON B winning shared keys.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I deep-merge two JSON objects?
- Yes. The tool recursively merges nested objects instead of only combining top-level keys.
- Should arrays concatenate, replace, or use a union?
- Arrays can concatenate, replace JSON A, or use the union strategy you choose.
- Which JSON wins when keys conflict?
- When both documents share a key, JSON B wins; nested objects continue merging key by key.
- Does this JSON deep merge tool upload my JSON?
- Your input is processed in the browser only; it is not uploaded to LocalTools and no account is required.
- Which JSON operations does this deep merge tool not support?
- It does not provide file upload, batch jobs, cloud history, external lookup, or automation beyond the implemented tool behavior.