TFT

JSON Diff Tool – Compare Two JSON Objects

Compare two JSON objects side by side and highlight added, removed, and changed fields instantly. Our free JSON Diff Tool makes reviewing API response changes and config diffs easy.

About JSON Diff Tool

Comparing two JSON files by eye is error-prone and time-consuming. This tool highlights exactly what changed between two JSON objects, showing added fields, removed fields, and modified values with color-coded results.

How it works

Paste the original JSON on the left and the modified JSON on the right. Click Compare and the tool recursively analyzes both structures, identifying every difference at any nesting level.

Results show green for added fields, red for removed fields, and yellow for changed values. Stats at the top show the count of each change type. Click on nested items to expand and see deeper differences.

When you'd use this

You updated an API response and need to verify what changed before deploying. Compare the old and new responses to ensure only intended changes were made and nothing broke.

This tool compares structure and values, not semantic equivalence. Two JSON objects with the same data in different order will show as different. For semantic comparison, use a specialized tool.

Questions

What types of changes are detected?

Added fields (green), removed fields (red), and changed values (yellow). Nested changes are shown hierarchically under their parent.

Does it work with arrays?

Yes, arrays are compared by index. Items added or removed at specific positions are shown. Reordered arrays may show many changes.

How are nested objects handled?

Nested differences are shown under their parent with indentation. Click to expand nested items and see the full change hierarchy.

Can I export the diff results?

Yes, use Copy to copy results as JSON or Download to save as a file. This is useful for including diffs in bug reports or documentation.

What if both JSONs are identical?

The tool shows "No differences found" with a message. This confirms your two JSON files are structurally identical.