---
title: "jsonmergepatch.com: Free JSON Merge Patch Tool and API"
description: "Introducing our new JSON Merge Patch tool - jsonmergepatch.com. The tool allows you to create and apply JSON Merge Patches, via Web UI and API."
canonicalUrl: "https://zuplo.com/learning-center/json-merge-patch-tool"
pageType: "learning-center"
authors: "adrian"
tags: "API Best Practices, Open Source"
image: "https://zuplo.com/og?text=jsonmergepatch.com%3A%20Free%20JSON%20Merge%20Patch%20Tool%20and%20API"
---
We've written extensively about both
[JSON Patch](/learning-center/unlocking-the-power-of-json-patch) and
[JSON Merge Patch](/learning-center/what-is-json-merge-patch) over the last few
days, but while writing
[our comparison between them](/learning-center/json-patch-vs-json-merge-patch) I
realized a glaring discrepancy in the amount of content and tooling. JSON Patch
is a more complicated specification, so it makes sense why there is a need for
more blogs, libraries, and other resources to help explain and implement it.
Meanwhile, you can likely use AI to generate the code for implementing JSON
Merge Patch in whichever language you want.

The lack of tooling around JSON Merge Patch does make it harder for developers
to quickly dive in and start building with the format. We prefer to dive in and
get our hands dirty rather than reading an RFC.

That's why we at Zuplo created
[jsonmergepatch.com](https://www.jsonmergepatch.com) - a FREE tool for learning
and using JSON Merge Patch. jsonmergepatch.com allows you to

1. Generate a JSON Merge Patch between two JSON objects
2. Apply a JSON Merge Patch to a JSON object
3. Upload a JSON document via API and perform HTTP PATCH calls against that
   document

Of course, we open sourced all of this goodness. Here's the Github links for
[the web tool](https://github.com/zuplo-samples/json-merge-patch-www) and for
[the REST API](https://github.com/zuplo-samples/json-merge-patch).

## Generating a Patch

If you don't already have a JSON Merge Patch handy, you can create one. Simply
provide two JSON objects and the result will be a JSON Merge Patch that would
transform JSON A to JSON B.

![Generating a JSON Merge Patch](/media/posts/2024-10-16-json-merge-patch-tool/image.gif)

## Applying a Patch

Once you have a patch, you can apply it to a JSON object of your choice, and
observe the patches result. This is a great way to get familiar with the
different JSON Merge Patch features, including adding, removing, and modifying
properties.

![Applying a JSON Merge Patch](/media/posts/2024-10-16-json-merge-patch-tool/image-1.gif)

## Using the REST API

Obviously we aren't going to create a web tool without creating a
[REST API](https://api.jsonmergepatch.com/docs/routes/index) for it. Just as
obvious, we used Zuplo to build it, so can read the autogenerated API docs and
start making calls now. Currently, the API supports uploading a JSON object, and
then applying JSON Merge Patches to it via HTTP Patch. The response is the
resulting patched JSON object.

![JSON Merge Patch API](/media/posts/2024-10-16-json-merge-patch-tool/image-2.gif)

## Improving Your APIs with JSON Merge Patch

JSON Merge Patch is a powerful and efficient way to perform partial updates on
JSON documents. We hope this tool helps developers understand how it works,
allowing them to build more efficient APIs that send less data over the network
and process updates more quickly. If you're looking to implement JSON Merge
Patch across your APIs or just want to modernize your APIs more generally, and
want advice from an API expert -
[get in touch](https://zuplo.com/meeting?utm_source=blog).