Developer data · RFC 7396 · runs in your browser

JSON Merge Patch Tool

Apply a JSON Merge Patch to update nested settings, remove members and replace arrays while keeping the original untouched — or generate the patch from two documents.

  • Apply & generate
  • Null deletes shown
  • Exact numbers & key order
  • Example cases
  • To JSON Patch (RFC 6902)
  • GIF & video
  • Nothing is uploaded
What this patch does Working it out…
0 added 0 changed 0 removed
Target – → result –
  • Keys in result–
  • Deepest level–
  • Null deletes–
  • JSON Patch ops–
  • Example cases–
addedchangedremoved (null)unchanged

Target

Merge patch

Result

Try the example or enter your own input.

Download & share

Animations apply the patch key by key, in up to 40 steps.

Related workflow: json patch workbench. Files and results are not saved automatically; download anything you want to keep.

Using JSON Merge Patch Tool

Apply a JSON Merge Patch to update nested settings, remove members and replace arrays while keeping the original untouched.

  1. Load the example or paste original json.
  2. Choose settings, run locally and review warnings.
  3. Copy or download the result and the optional JSON report.

Example

{"theme":"dark","profile":{"name":"Ada","old":true},"tags":["a"]}

Questions & answers

What does this tool do?

Apply a JSON Merge Patch to update nested settings, remove members and replace arrays while keeping the original untouched.

What should I check before using the result?

Null removes an object member. Arrays and non-object patches replace their targets; this differs from JSON Patch.

Is there an upload or installation?

Processing runs in a local browser worker with no processing upload. No account or installation is required. Website ads and analytics follow the site privacy policy.

What input sizes are supported?

Each input supports 250,000 UTF-16 units and UTF-8 files up to 500 KB. Jobs stop after 15 seconds. Report previews show 200 rows; downloaded reports include all computed rows.

Will my work be saved?

No automatic storage is used. Download the result and report before leaving. Changing input invalidates previous output.

What can I download or copy?

From the page: JSON Patch ops, Download report JSON, Copy JSON Patch, Download JSON Patch, Animated GIF, Video WebM, Video MP4, PNG image, PDF report, HTML report, Markdown, YAML result, Merge patch JSON, Changes CSV, ZIP of everything, Copy Markdown, json patch workbench. Everything is created in your browser.

Help improve this tool

Report a problem or suggest an improvement

Describe the issue without pasting private tool input. Feedback goes to our admin inbox.

Find another tool · Read practical guides