LOCAL TOOL / JSON-DATA

JSON Patch & Merge Patch Workbench

Paste the original document when creating a patch, or the document that should receive a patch.

Paste, type, or drag & drop a text file 48 chars · 1 lines · 48 B

Paste the desired target document in create modes, or an RFC 6902/7396 patch in apply modes.

Paste, type, or drag & drop a text file 56 chars · 1 lines · 56 B
Options
Runs locally in this browserPreview updates after 320 ms · No content, filenames, or secrets are sent or saved.
About this utility

How to use JSON Patch & Merge Patch Workbench

Create or apply RFC 6902 JSON Patch and RFC 7396 JSON Merge Patch documents with path-level validation.

What to provide

Paste the original document when creating a patch, or the document that should receive a patch.

Paste the desired target document in create modes, or an RFC 6902/7396 patch in apply modes.

  1. Paste, type, or drag and drop a supported text file into the input area.
  2. Place the second value in the adjacent panel. Sensitive fields are masked by default.
  3. Choose the options that match your intended result.
  4. Select “Run tool” or press Ctrl/Command + Enter, then copy, download, or move the result back into the first input for another pass.

Use “Swap inputs” to reverse the comparison without copying either value.

What the result means

A standards-based patch or the patched JSON document, formatted for review.

Privacy and safety

This utility is loaded as browser code and processes your input only in this tab. OmniCastConverter has no upload endpoint and never stores your content, filenames, tokens, or secrets. Generated markup and code are shown as inert text and are never executed.

Limitations

  • Generated RFC 6902 patches replace changed arrays as complete values instead of calculating fragile index edits. JSON Merge Patch uses null for removal and therefore cannot set an object member to JSON null.

Try the included example

Select “Load example” at any time to restore this tested sample.

{"name":"Ada","active":false,"roles":["reader"]}
{"name":"Ada","active":true,"roles":["reader","editor"]}