Schema & Compare · Runs in your browser
JSON Merge
Deep-merge two JSON documents — handy for config files, defaults and overrides, or combining API responses.
Base (left)
Drop a file to load it
Merge in (right)
Drop a file to load it
Result
How to use it
- Paste the base JSON on the left and the JSON to merge in on the right.
- Choose how arrays are combined and which side wins when both have a value.
- Copy the merged result or download it as a .json file.
Objects
Objects are merged recursively: keys from both sides are kept, and nested objects are merged the same way.
Arrays
Replace keeps one side’s array; Concatenate appends; Union appends only items not already present; Merge by index merges item 0 with item 0, and so on.
Conflicts
When both sides have different non-object values at the same place, the side you pick under “On conflict” wins. The status bar shows how many conflicts were resolved.
More schema & compare tools
All free, all private, all running locally in your browser.