Transform & Reshape

Merge JSON

Combine two JSON documents with an explicit shallow or recursive merge policy.

Browser private
JSON Input
Loading editor…
1 line 0 characters0.0 KB UTF-8
SECOND DOCUMENT
Loading editor…
Loading editor…
Preview your result here
Ready when you are| Local processing
|

How to use Merge JSON

  1. Enter the first document and a second document.
  2. Select shallow or deep merge.
  3. Preview overwritten fields before applying the merged result.

Input: Two JSON values. Output: Merged JSON.

Try a small example

Use the workspace's Sample action to load example data, or paste this input and run the tool. Loading an example is an explicit action.

{"name":"Ada","active":true,"scores":[9,12],"address":{"city":"Pune"}}

What to keep in mind

Merge order matters. Arrays and conflicting scalar values follow the chosen policy; a merge is not a union of every possible value.

Your source and result are separate. Review transformations before applying them, and download an original copy when preserving exact input matters.

Continue your workflow

Read practical JSON guides or learn how local processing works.