Data & JSON
JSON Merge
Merge 2–20 JSON objects in sequence with deep object merging, array overwrite, concatenation or structural deduplication, conflict source reports, undo, copy and download. Runs locally in your browser.
About this tool
Combine multiple JSON objects in document order. Nested objects merge recursively, new fields are retained, and later scalar values win. The conflict report shows each path, its previous and incoming sources, and the applied resolution.
Arrays can be replaced, concatenated, or concatenated with structural deduplication. Deduplication ignores object key order while preserving array order, first occurrences and differences between value types.
Best use cases
- Combine API documentation, environment settings or layered configuration fragments into one JSON document.
- Organize Mock data and test fixtures by merging shared fields with scenario-specific values.
- Review same-name fields across configurations and identify which document supplied each final value.
How to use it
- Paste JSON objects into 2–20 document editors, reorder them if needed, or load the example.
- Choose array overwrite, concatenation or deduplication, then select Merge JSON.
- Review the result and conflict report, undo document changes, copy the output or download a .json file.
Scope and limits
- Supports 2–20 documents with up to 200,000 characters each and 2,000,000 characters in total.
- Each document supports 40 nesting levels and 20,000 nodes, with 100,000 nodes across all documents.
- Roots must be objects. Unsafe keys such as __proto__, prototype and constructor are rejected; the conflict preview shows up to 500 entries.
Data processing
JSON parsing, validation, merging, copying and downloading run entirely in your browser. Input is never uploaded, stored or executed.
FAQ
How are nested objects and arrays merged?
Objects merge recursively and later scalar values win. Arrays are not merged by index; the selected policy replaces, concatenates or deduplicates the whole array.
What counts as a duplicate during array deduplication?
Duplicates are based on complete structure. Object key order is ignored, while array order and value types remain significant. The first occurrence is kept.
What do conflict sources mean?
Sources use the current document numbers. The previous source last supplied the value before the conflict; the incoming source triggered the overwrite, concatenation or deduplication.
Is my JSON uploaded?
No. Parsing, validation and merging run entirely in the current browser without backend requests.