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
JSON Formatter
Format, validate, and beautify JSON payloads.
Text Diff / Compare
Side-by-side or unified line/character diff comparison tool.
XML Formatter
Beautify and indent XML strings.
Minifier Suite
Minify HTML, CSS, and JS by stripping comments and whitespace.
Markdown Converter
Convert Markdown to HTML with live preview.
CSS Formatter
Beautify and indent minified or messy CSS.
HTML Formatter
Beautify and indent raw HTML markup.
SQL Formatter
Format SQL queries with keyword casing and indentation.