Private by default

Safe RFC 6902 JSON Patch Applier

Preview the complete patched document without mutating the source or traversing inherited JavaScript properties.

Your data stays in this browser
Input JSONJSON
UTF-8Ln 1, Col 1
ResultJSON
UTF-8
Loading…
Browser-only autosaveInputs and settings stay saved only in this browser and return after a reload. Turn on Clear saved data to keep this tool session-only.
Your data stays in this browser
InstantNo server round trips
PrivateBrowser-side processing
AuditableDocumented semantics
PortableCorrectly typed downloads
Category

JSON Patch Applier: How to use this tool

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.

Open guide and examples

How to use this tool

  1. Paste JSON, upload a local file, or load a CORS-enabled public URL.
  2. Enter the source document and JSON Patch array, then run Apply JSON Patch.
  3. Review the result, then copy it or download it with the correct file type.

Example to try

Input JSON
{
  "items": ["first", "third"],
  "status": "draft"
}
JSON Patch
[
  {"op": "add", "path": "/items/1", "value": "second"},
  {"op": "replace", "path": "/status", "value": "ready"},
  {"op": "add", "path": "/meta", "value": {"version": 1}}
]
Result
{
  "items": [
    "first",
    "second",
    "third"
  ],
  "status": "ready",
  "meta": {
    "version": 1
  }
}
Learn

Frequently asked questions

Does this tool upload my JSON?

No. The transformation runs in your browser. URL import contacts only the address you explicitly enter.

What happens when the JSON is invalid?

The editor marks the likely location and keeps stale output out of the result pane.

What does JSON Patch Applier produce?

It validates every operation in order and returns a formatted result only when the entire patch applies successfully.

What limitation applies to JSON Patch Applier?

Malformed pointers, failed test operations, root removal, moves into descendants, and duplicate members are rejected without partial output.