JSON Merge Tool
Merge multiple JSON objects using shallow, deep, or RFC 7396 Merge Patch behavior with configurable array and conflict strategies.
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.
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.
Continue working with your data
Evaluate RFC 9535 JSONPath expressions safely against JSON and inspect matched values, normalized paths, and JSON Pointers without executing query code.
JSON and JSONL ConverterConvert JSON arrays to JSONL or NDJSON and line-delimited records back to JSON with exact line errors, record counts, and downloads.
JSON FlattenerFlatten nested JSON into path-value pairs or safely unflatten paths using dot, bracket, slash, or custom separators with collision detection.
Compare JSON Arrays by KeyCompare arrays of JSON objects by one or more identity properties and report added, removed, changed, unchanged, and duplicate-key records.