PDFFlare

JSON Merge Patch — Free Online (RFC 7396)

Apply a JSON Merge Patch (RFC 7396) to any JSON document. Null deletes, objects merge recursively, anything else replaces. Browser-based.

Apply an RFC 7396 JSON Merge Patch to any JSON document. The patch mirrors the target's shape: null deletes, objects recurse, anything else replaces. Built for HTTP PATCH endpoints, Kubernetes-style strategic merges (the simple variant), and edit-then-save UIs that send a delta instead of the whole doc.

Need a structural diff instead? JSON Diff. Schema validation? JSON Schema.

How to Apply a JSON Merge Patch (RFC 7396)

  1. Paste your target JSON

    The current document you want to modify — could be a config, an API resource state, or any JSON value.

  2. Paste the Merge Patch

    An RFC 7396 patch document. Keys with non-null values overwrite or recurse; keys with null delete the field.

  3. Click Apply Patch

    PDFFlare returns the patched JSON. Copy and ship.

When Do You Need JSON Merge Patch?

HTTP PATCH endpoints: Many REST APIs accept the JSON Merge Patch content type (application/merge-patch+json). Build the patch document, apply it locally to verify the result before sending the request.

Kubernetes-style admin tools: Internal admin tooling that expresses changes as merge patches. Apply the patch in dry-run mode here to confirm the resulting document before committing.

Edit-then-save UIs: Your UI computes a delta from the original document and sends only what changed. Apply the delta against the original here to verify it produces the expected final state.

Config-update pipelines: Helm / Kustomize-style overlays that express overrides as a delta. Resolve the delta against the base config before committing the merged result.

Why Use PDFFlare for JSON Merge Patch?

RFC 7396 Compliant

Strict spec semantics: null deletes, objects recurse, arrays and primitives replace wholesale. No surprises at runtime.

Per-Pane Error Highlighting

Bad JSON in target vs patch is reported separately with line numbers — no guessing which pane is malformed.

100% Browser-Based

Both documents stay on your device — safe for production payloads.

No Signup Required

No account, no rate limits.

Frequently Asked Questions About JSON Merge Patch