Back

JSON merge

Data conversion

Loading

Loading tool

Preparing the tool. The remaining time is not yet known.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

Recursively merge JSON values with right-side precedence and selectable array handling.

Common uses

  • Recursively merge JSON values with right-side precedence and selectable array handling.
  • Paste the base JSON on the left and the overriding JSON on the right.

How to use it

  1. 1.Paste the base JSON on the left and the overriding JSON on the right.
  2. 2.Choose array concatenation or replacement and indentation, then merge and download the result.

Worked example

Input and result

[1] + [1]; [1] + [2] (concat)
[1]; [1,2]

Identical arrays bypass concatenation; differing arrays concatenate.

Limits and notes

  • Conflicting scalar values use the right side. Concatenating different arrays does not remove duplicate items.
  • Identical arrays are retained once even in concatenation mode; only differing arrays are concatenated.

Frequently asked questions

What does this tool do?

Recursively merge JSON values with right-side precedence and selectable array handling.

What should I check before using the result?

Conflicting scalar values use the right side. Concatenating different arrays does not remove duplicate items. Identical arrays are retained once even in concatenation mode; only differing arrays are concatenated.

Related tools