How to use this tool
- Paste JSON, upload a local file, or load a CORS-enabled public URL.
- Enter the source document and JSON Patch array, then run Apply JSON Patch.
- Review the result, then copy it or download it with the correct file type.
Preview the complete patched document without mutating the source or traversing inherited JavaScript properties.
Validate and atomically apply all six RFC 6902 operations—add, remove, replace, move, copy, and test—with strict pointer rules.
Preview the complete patched document without mutating the source or traversing inherited JavaScript properties.
{
"items": ["first", "third"],
"status": "draft"
}[
{"op": "add", "path": "/items/1", "value": "second"},
{"op": "replace", "path": "/status", "value": "ready"},
{"op": "add", "path": "/meta", "value": {"version": 1}}
]{
"items": [
"first",
"second",
"third"
],
"status": "ready",
"meta": {
"version": 1
}
}No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.
The editor marks the likely location and keeps stale output out of the result pane.
It validates every operation in order and returns a formatted result only when the entire patch applies successfully.
Malformed pointers, failed test operations, root removal, moves into descendants, and duplicate members are rejected without partial output.