Free browser-based tool

JSON Merge Tool

Merge multiple JSON objects using shallow, deep, or RFC 7396 Merge Patch behavior with configurable array and conflict strategies.

Guide

Merge JSON with explicit object, array, and conflict rules

A shallow merge replaces complete top-level properties. A deep merge recursively combines nested objects. RFC 7396 Merge Patch uses null to remove object members and replaces arrays as complete values.

Array merging has no universal meaning. Replacement, concatenation, uniqueness, and index-by-index merging are exposed as separate strategies rather than hidden assumptions.

Common questions

JSON Merge Tool FAQ

What is the difference between shallow and deep merge?

Shallow merge replaces a complete top-level property. Deep merge recursively combines properties inside nested objects.

What does RFC 7396 Merge Patch do with null?

A null member in the patch removes the corresponding object member from the target.

How are conflicting scalar values handled?

Choose whether earlier or later documents win, or make conflicts stop the merge with an error.

Related tools

Continue working with your data

All tools