JSON Merge
Deep-merge several JSON documents, choosing how arrays and conflicts are resolved.
JSON merge combines several documents into one, recursing into nested objects so configuration layers accumulate rather than replacing each other wholesale. Later documents win on conflict, and arrays can be replaced, concatenated or unioned depending on what you need.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
What is the difference between a shallow and deep merge?
Which document wins a conflict?
How to use the json merge
- 1Enter or paste your json documents.
- 2Choose the arrays.
- 3Turn "Pretty-print" on or off as needed.
- 4The result appears immediately — copy or download it.
Embed this tool
Put the working json merge on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
.env to JSON ConverterConvert .env files to JSON and back — for config migrations and CI variables.INI & Config File ParserParse INI, .conf, .cfg and .properties files into structured JSON, YAML or TOML.Data Format ConverterConvert between JSON, YAML, XML, CSV, TSV and TOML in any direction, locally in your browser.JSON DiffCompare two JSON documents and see exactly which keys were added, removed or changed.JSON FlattenerFlatten deeply nested JSON into dot-notation keys, or expand flat keys back into nested objects.JSON Formatter & ValidatorFormat, validate, repair and analyse JSON — with errors that point at the exact line.
Last updated
More data & format tools