Free, browser-based utilities for everyday developer workflows

JSON Patch & Pointer

Generate or apply RFC 6902 patch operations between two documents. Navigate, read, and mutate values with RFC 6901 JSON Pointers.

  • Patch: paste Source & Target → Generate Patch to get the RFC 6902 diff array.
  • Apply: paste Source + a patch array into Patch Output → Apply Patch.
  • Pointer: enter a path like /user/roles/0 to get, set, or remove a value.
  • Share results: Generate a secure link to share your current input and results with teammates — nothing is uploaded to any server.

Compute the minimal diff between two documents as a JSON Patch array, or apply an existing patch to a document.

Source JSON — the original document

Target JSON — the desired document

Change Summary - review and select operations before exporting

No changes
Include Type Path Source Target Operation Value type Actions
Generate a patch to review detected changes.

Patch Output — RFC 6902 array (editable)

Apply Result — Source with patch applied

Patch Validation & Safety Report

Validation results and warnings appear here.

Apply Preview - operation by operation

#OperationPathStatusBeforeAfter
Validate or apply a patch to preview each operation.
Technical details

JSON Patch vs Merge Patch

Use JSON Patch for ordered operations, tests, moves/copies, and precise arrays. Use Merge Patch for simple object updates where the API expects application/merge-patch+json.

Rollback & Explanation

Patch explanation appears here.

Operation Builder

Add/replace/test require value. Move/copy require from.

API Request - snippets only, not sent

Patch Presets

Schema Validation

Validate the source and patched result against a JSON Schema (Draft-07). Paste schema below; validation runs locally with Ajv if available.

Schema validation results appear here.

Workflow Handoffs

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. Click Apply 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 click Generate Patch 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

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