Data Formatters & Converters Processed locally

JSON Patch & Pointer

Generate an RFC 6902 patch between two documents, apply a patch, resolve a JSON Pointer, or work with RFC 7386 merge patches — pick the mode below. Runs in your browser.

Inputs
Advanced options

Auto-runs as you type. Ctrl+Enter to re-run. The role of A and B depends on the mode.

How to use JSON Patch & JSON Pointer

Build and test JSON Patch (RFC 6902) operations and resolve JSON Pointer (RFC 6901) paths against a JSON document. Use it to craft an HTTP PATCH body, generate the patch that turns document A into document B, or debug "path not found" and "test operation failed" errors in your API. All operations run in your browser; documents are never uploaded.

What it does

When to use it

How to use it

  1. Paste the target JSON document on the left.
  2. Enter a JSON Patch array (e.g., [{"op":"replace","path":"/user/name","value":"Ada"}]) on the right.
  3. Choose Apply mode to run the patch — the result and any errors per operation appear instantly.
  4. For a diff: paste the original and the desired JSON, then use Generate patch mode to produce the minimal RFC 6902 ops.
  5. For Pointer resolution: paste the document, enter a pointer like /items/0/name, and see the value or error.
  6. Copy the patch JSON into your PATCH request body or test fixture.

Tips & pitfalls

FAQ

Related tools

Use-case guides

Runs locally in your browser. No uploads. No analytics on pasted JSON.

Common tasks solved by this tool

Continue in a JSON/API workflow

Chain this into related tools, or build it as a saved workflow in Workflows.

  1. Format or inspect JSON
  2. Compare two JSON documents
  3. Generate and apply a JSON Patch — this tool
  4. Validate the result against a schema

Part of the JSON and API contract toolkit

Validate schemas, compare JSON responses, generate JSON Patch operations and debug API contract examples with related privacy-first tools.