Skip to content
ZeroServer.tools

JSON Merge

Deep-merge or shallow-merge two JSON objects. Deep merge recursively combines nested objects; shallow merge overrides top-level keys.

Merge mode:

JSON 1

JSON 2

Merged Result

Result appears here…

About JSON Merge

Deep merge recursively combines nested objects: if both inputs have the same key pointing to an object, those objects are merged too. Arrays and primitives from the right object win. Shallow merge simply spreads both objects at the top level — identical to Object.assign({}, a, b) in JavaScript.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Formatters & Validators tools