BuildUtilities

JSON Diff Online: Compare Two JSON Files

Compare two JSON files side by side and see every added, removed, and changed key.

Upload
Upload

3

Total

1

Added

0

Removed

2

Changed

~$.name"John""Jane"
~$.hobbies[1]"gaming""cooking"
+$.email"jane@test.com"
Ctrl+SCopy diff

Example

Input

A (v1 response):  {"id":42,"name":"John","plan":"free"}
B (v2 response):  {"id":42,"name":"Jane","plan":"free","email":"jane@test.com"}

Output

~ $.name: "John" → "Jane"
+ $.email: "jane@test.com"

Paste the old API response on the left and the new one on the right. Between v1 and v2, name changed, email was added, and id and plan stayed the same.

How to Use JSON Diff Tool

  1. 1

    Enter JSON A

    Paste the original JSON in the left pane or upload a file.

  2. 2

    Enter JSON B

    Paste the modified JSON in the right pane or upload a file.

  3. 3

    Review Diff

    Differences are shown instantly with color-coded indicators: green for added, red for removed, amber for changed.

What is JSON Diff Tool?

The JSON Diff Tool performs deep recursive comparison of two JSON objects, detecting additions, removals, and value changes at any nesting depth. Results are color-coded and include JSONPath locations. Download the diff report as a text file or copy it to clipboard.

Common Use Cases

  • Reviewing changes between API response versions
  • Comparing configuration files before and after updates
  • Validating database migration data transformations

Embed This Tool

Add this tool to your website or blog with a simple iframe embed.

<div style="max-width:480px"><iframe src="https://buildutilities.com/embed/json-diff-tool?ref=embed" width="480" height="360" frameborder="0" style="border-radius:8px;border:1px solid #2a2e3a;width:100%"></iframe><p style="font:11px sans-serif;color:#888;margin:4px 0 0;text-align:right">Powered by <a href="https://buildutilities.com/json-diff-tool?ref=embed" target="_blank" rel="noopener">BuildUtilities</a></p></div>

Share

Share a link to this tool. Results can be passed via URL parameters.

https://buildutilities.com/share/json-diff-tool

Frequently Asked Questions

More Data Tools

Tools for working with structured data formats like JSON, CSV, YAML, and XML.

View all Data tools
Tip Jar