Report

Help us improve this tool

JSON Patch Apply

Apply RFC 6902 JSON Patch operations to a document and preview the patched JSON instantly.

O M T

Apply RFC 6902 JSON Patch

JSON Patch describes a sequence of add, remove, replace, move, copy, and test operations using JSON Pointer paths. Paste a document and a patch array to preview the updated object, useful when debugging event sourcing, optimistic UI merges, or API contract tests.

To generate a patch from two documents, use JSON Patch Diff. For merge-patch semantics, see Edit JSON alongside your API docs.

Frequently Asked Questions

Which RFC version is supported?

Operations follow RFC 6902 as implemented by the fast-json-patch library, including test operations when you include them in the patch array.

Is the original document mutated?

The preview clones your input before applying operations, so re-running the same patch against the textarea content stays predictable.