Loading…

How to use JSON Merger

Paste two JSON objects and the merger deep-combines them, letting the second override the first where keys collide.

Frequently asked questions

How does a deep merge work?

Nested objects are merged recursively rather than replaced, so only the specific keys that overlap are combined or overridden.

Which object wins on conflicts?

By default the second object overrides the first for conflicting keys, ideal for applying overrides on top of defaults.

How are arrays merged?

Arrays are typically replaced rather than concatenated, since merging list items by position is often ambiguous.

More JSON Tools

JSON Array Tools
Filter, sort, map and paginate JSON arrays interactively
JSON Query / Filter
Filter and transform JSON arrays with field conditions
JSON Repair
Fix broken JSON — trailing commas, single quotes, unquoted keys, comments
JSON ⇄ JSONL Converter
Convert a JSON array to JSONL/NDJSON and back, line by line
JSON to Go Struct
Generate a Go struct with json tags from a JSON sample
JSON to Python TypedDict
Generate a Python TypedDict class from a JSON sample
JSON to SQL INSERT
Generate SQL INSERT statements from a JSON array of objects
JSON Formatter
Beautify and format JSON with syntax highlighting
JSON Minifier
Minify JSON to remove whitespace and reduce file size
JSON Validator
Validate JSON syntax and get detailed error messages
JSON String Escape
Escape and unescape JSON special characters in strings
JSON Size Analyzer
Analyze JSON structure depth, key count, and byte size

← View all JSON ToolsBrowse all 1,100+ tools →