Skip to content
Utiloom

JSON Patch Builder & Applier

Generate, edit, validate, and atomically apply bounded RFC 6902 patches with strict RFC 6901 pointers and replay evidence.

LocalNo document retention

Reviewed July 14, 2026

Guide, examples, and validation Show

About this tool

Create an executable patch from two JSON documents or validate and apply an imported patch without uploading payloads or accepting partial results.

  • Uses fast-json-patch 3.1.1 for JSON transformations while a strict wrapper limits operations to RFC 6902 add, remove, replace, move, copy, and test and validates RFC 6901 escapes and array indexes.
  • Rejects duplicate object members, unsafe integers, non-finite numbers, prototype-sensitive paths, missing parents, invalid move destinations, oversized structures, and a root remove that would leave no JSON document.
  • Runs generation and application in a disposable worker, applies the complete patch to a clone, replays it independently, and enables patch, result, and versioned evidence downloads only for fresh verified output.

How to use JSON Patch

Choose Build to generate a guarded patch from source and target JSON, or choose Apply to edit or import an RFC 6902 array. Run the isolated worker, inspect every operation and pointer, then export only after clone application and independent replay verification pass.

When this tool is useful

  • Preparing a portable JSON Patch for an API, configuration migration, or deterministic test fixture.
  • Reviewing an imported patch before applying it to a representative JSON document.

Practical tips

  • Keep test guards enabled when the patch must fail if the source has drifted.
  • Use escaped RFC 6901 paths exactly: ~0 represents a tilde and ~1 represents a slash.
  • Test the exported patch in the actual receiving system because transport, authorization, and server-side behavior remain outside this browser result.

Examples you can test

Load an example, compare the result with the expected output, then replace it with your own input.

Guard a configuration update

Example input

Source version 1 and target version 2 with a changed request limit

Expected output

RFC 6902 test and replace operations plus a replay-verified result

A test guard makes source drift explicit instead of overwriting an unexpected value.

Validation checklist

  • Confirm source, target, and operation order match the intended transaction.
  • Resolve every ignored-member warning and review path and from pointers.
  • Reapply the downloaded patch in the destination implementation before release.
  • Treat root removal as unsupported rather than interpreting a missing document as JSON null.

Frequently asked questions

What is the difference between this tool and JSON Diff?

JSON Diff is for reviewing typed structural changes. JSON Patch Builder & Applier is for creating, editing, validating, and executing an RFC 6902 operation sequence against a source document.

Which JSON Patch operations are supported?

The standard add, remove, replace, move, copy, and test operations are supported. Nonstandard operations such as _get are rejected.

Does a failed operation partially change my source JSON?

No. Every operation runs against a cloned document, and no result is published if any operation, limit, or replay check fails.

Why is remove at the empty root pointer rejected?

Removing the document root leaves no JSON document. This workbench rejects that case explicitly instead of silently presenting JSON null as a different result.

Are JSON documents uploaded?

No. Strict parsing, patch generation, application, replay, filtering, copying, and downloads run in the current browser session without a network request.

Related tools

Keep the workflow moving

Continue with tools that handle a related input, output, or validation step.

Developer

CSV Viewer & Cleaner

Profile, clean, and convert CSV data locally.

Local
Developer

JSON Schema Validator

Validate bounded JSON Schema and instance data locally.

Local
Developer

Unicode Inspector & Normalizer

Inspect and normalize Unicode text with encoding evidence.

Local
Developer

Accessibility Checker

Review WCAG contrast and isolated HTML audit evidence.

Local