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.
- Paste, type, or drag and drop a supported text file into the input area.
- Place the second value in the adjacent panel. Sensitive fields are masked by default.
- Choose the options that match your intended result.
- 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"]}