← All tools

JSON Merge

Merge two JSON objects locally with explicit override rules.

json-mergeLOCAL WORKSPACE

Enabling local controls…

Inputs and settings

Processed in this tab without uploading or storing inputs. Each text field is limited to 32 KiB and complete output to 1 MiB; additional format and model limits apply.

Results

Review the settings and run. Editing inputs clears old results.

Processing model and limits

Objects merge recursively; the second input replaces conflicting scalars, arrays and null. Null remains a value, not an RFC 7396 deletion. Both roots must be objects. Unsafe keys, duplicate keys and numbers that lose decimal precision are rejected. Each input: 32 KiB, 40 levels, 5000 nodes; output: 128 KiB. Review the merged configuration before use.

Data and model checked: CompareTwoTexts: JSON Merge ↗JSON Copilot: deep merge semantics ↗

How to use this tool

Load the example, confirm field units and processing rules, then run locally. Editing any input clears the old result. Copy or download the complete output explicitly.

When not to use it

Objects merge recursively; the second input replaces conflicting scalars, arrays and null. Null remains a value, not an RFC 7396 deletion. Both roots must be objects. Unsafe keys, duplicate keys and numbers that lose decimal precision are rejected. Each input: 32 KiB, 40 levels, 5000 nodes; output: 128 KiB. Review the merged configuration before use.

Read the guide →