JSON Patch
Apply a standard JSON Patch to a document and inspect the result. Use Diff to generate operations, then test them here before using them elsewhere.
Load an example or paste your data to begin.
How to use JSON Patch
- Paste the original JSON document on the left.
- Enter an RFC 6902 operation array in the patch field.
- Apply the patch and review the updated document before downloading.
What to expect
Supports add, remove, replace, move, copy and test operations. Invalid operations and paths fail the entire operation; the input stays unchanged. This tool expects standard JSON Patch, not jsondiffpatch internal delta format.
Related tools
JSON Patch FAQ
Where can I generate a patch?
Use JSON Diff and choose its JSON Patch download. If comparison rules were used, the patch targets the comparison document described on that page.
What happens when a test operation fails?
The operation reports an error and offers no new output. Your original input document remains unchanged.
Does this tool upload my data?
No. Your input and generated files are processed on your device. No account is required.