DesignerPK tools Kit logotools
DIFF-02

JSON Patch Generator

Generate an RFC 6902 JSON Patch from two JSON documents.

Runs in your browserNothing sent to a server

What is this tool?

JSON Patch Generator creates an RFC 6902 JSON Patch by comparing two JSON documents. It converts the differences between an original and updated document into a sequence of patch operations that can be applied to transform one JSON document into the other.

How does it work?

Paste the original JSON and the target JSON into the two input areas. The tool compares their structures and generates JSON Patch operations directly in your browser, including supported additions, removals, and replacements.

Key features

  • Generate RFC 6902 JSON Patch documents
  • Compare original and target JSON
  • Generate add, remove, and replace operations
  • Useful for APIs and JSON data synchronization
  • Review generated patch operations before applying them
  • Works entirely in your browser — nothing is uploaded

How to use

  1. Paste the original JSON document into the first input.
  2. Paste the desired JSON document into the second input.
  3. Generate the JSON Patch.
  4. Review the generated patch operations.
  5. Copy the patch for use with an RFC 6902-compatible system.

FAQ

What is JSON Patch?

JSON Patch is a standardized format defined by RFC 6902 for describing changes to a JSON document using operations such as add, remove, replace, move, copy, and test.

What does JSON Patch Generator compare?

It compares an original JSON document with a target JSON document and generates patch operations intended to transform the original into the target.

What is RFC 6902?

RFC 6902 is the specification that defines the JSON Patch format and its standard patch operations.

Does JSON Patch Generator upload my JSON?

No — the comparison and patch generation are performed locally in your browser and your JSON documents do not need to be sent to a server.

More in Diff & Compare