JSON Diff

JSON diff tool that compares two JSON objects side by side and color-highlights added, deleted and changed keys. It traverses nested structures deeply so every difference stands out, free in your browser.

Embed

Embed this tool on your site

Powered by Patrache Studio DevTools
Last updated: 2026 · Free online tool

What is JSON Diff?

JSON diff tool that compares two JSON objects side by side and color-highlights added, deleted and changed keys. It traverses nested structures deeply so every difference stands out, free in your browser.

How to Use

  1. 1
    Enter Original JSON— Paste the original JSON data into the left input panel.
  2. 2
    Enter Comparison JSON— Paste the JSON data to compare into the right input panel.
  3. 3
    Run Comparison— Click the 'Compare' button to display the differences.
  4. 4
    View Results— Review results color-coded as added (green), deleted (red), changed (yellow), and type changed (orange).
  5. 5
    Switch View Mode— Toggle between tree view and inline view to see results in your preferred format.

Related Tools

Frequently Asked Questions

It detects four types of differences: key additions, key deletions, value changes, and type changes (e.g., string to number). It recursively compares nested objects and arrays.

Yes, arrays are compared by index, so the same elements in different orders are shown as changes. Sort the arrays first if order-independent comparison is needed.

Null is treated as an independent type. Changes from null to another value are classified as type_changed.

It depends on browser memory. Typically JSON files of several MB can be compared smoothly. Very large files may cause slower responses.

Standard JSON does not support comments, so parsing errors will occur if comments are included. JSON5 format is not supported.

This site uses cookies for better experience and advertising. Learn more

Please allow ads on this site

To use these tools, allow ads on this site. Advertising keeps this service free.

Open your ad blocker, turn off blocking for this site, then check again.